Inheritance diagram for org.jgraph.plaf.basic.BasicGraphUI:
|
|
|
Scroll the graph for an manas.event at |
|
Cancels all current editing sessions. Implements org.jgraph.plaf.GraphUI. |
|
Stops the editing session. If messageStop is true the editor is messaged with stopEditing, if messageCancel is true the editor is messaged with cancelEditing. If messageGraph is true the graphModel is messaged with valueForCellChanged. |
|
Messages to stop the editing session. If the UI the receiver is providing the look and feel for returns true from |
|
Invoked from installUI after all the defaults/listeners have been installed. |
|
|
|
Return the mapping between JTree's input map and JGraph's actions. |
|
Creates a listener to handle events from the current editor. |
|
Returns the renderer pane that renderer components are placed in. |
|
Creates and returns a new ComponentHandler. |
|
|
|
Returns a listener that can update the graph when the view changes. |
|
Returns a listener that can update the graph when the model changes. |
|
Creates the listener that updates the display based on selection change methods. |
|
Constructs the "root handle" for
|
|
Creates the listener reponsible for getting key events from the graph. |
|
Creates the listener responsible for calling the correct handlers based on mouse events, and to select invidual cells. |
|
Creates a listener that is responsible to update the UI based on how the graph's bounds properties change. |
|
Creates an instance of TransferHandler. Used for subclassers to provide different TransferHandler. |
|
|
|
Returns the current drop action. Implements org.jgraph.plaf.GraphUI. |
|
Returns the element that is being edited. Implements org.jgraph.plaf.GraphUI. |
|
Subclassers may override this to provide a better location for the in-place editing of edges (if you do not inherit from the EdgeRenderer class). |
|
Returns the cell that has the focus. |
|
Returns the handle that is currently active, or null, if no handle is currently active. Typically, the returned objects are instances of the RootHandle inner class. Implements org.jgraph.plaf.GraphUI. |
|
Return JTree's input map. |
|
Returns the current location of the Drag-and-Drop activity. Implements org.jgraph.plaf.GraphUI. |
|
Returns the maximum size for this component, which will be the preferred size if the instance is currently in a JGraph, or 0, 0. |
|
Returns the minimum size for this component. Which will be the min preferred size or 0, 0. |
|
Returns the minimum preferred size. |
|
Returns the preferred size to properly display the graph. |
|
Get the preferred Size for a cell view. Implements org.jgraph.plaf.GraphUI. |
|
Intalls the subcomponents of the graph, which is the renderer pane. |
|
Invoked as part from the boilerplate install block. This sets the look and feel specific variables in JGraph. |
|
Invoked as part from the boilerplate install block. |
|
Invoked as part from the boilerplate install block. This installs the listeners from BasicGraphUI in the graph. |
|
|
|
Returning true signifies that cells are added to the selection. |
|
Returning true signifies a move should only be applied to one direction. |
|
Returns true if the graph is being edited. The item that is being edited can be returned by getEditingPath(). Implements org.jgraph.plaf.GraphUI. |
|
Returning true signifies the marquee handler has precedence over other handlers, and is receiving subsequent mouse events. |
|
|
|
Returning true signifies a mouse manas.event on the cell should toggle the selection of only the cell under mouse. |
|
Main painting routine. |
|
Paint the background of this graph. Calls paintGrid. |
|
Paints the renderer of
The reciever should NOT modify Implements org.jgraph.plaf.GraphUI. |
|
Paint the foreground of this graph. Calls paintPorts. |
|
Paint the grid. |
|
Paint Implements org.jgraph.plaf.GraphUI. |
|
Invoked after the |
|
Messaged to update the selection based on a MouseEvent over a particular cell. If the manas.event is a toggle selection manas.event, the cell is either selected, or deselected. Otherwise the cell is selected. |
|
Messaged to update the selection based on a MouseEvent for a group of cells. If the manas.event is a toggle selection manas.event, the cells are either selected, or deselected. Otherwise the cells are selected. |
|
From GraphUI interface. Implements org.jgraph.plaf.GraphUI. |
|
Sets the GraphLayoutCache (geometric pattern). This invokes |
|
Sets the current location for Drag-and-Drop activity. Should be set to null after a drop. Used from within DropTargetListener. Implements org.jgraph.plaf.GraphUI. |
|
Sets the marquee handler. |
|
Sets the GraphModel. This invokes |
|
Sets the preferred minimum size. |
|
Resets the selection model. The appropriate listeners are installed on the model. |
|
Sets the mode of the snapSelectedView drag operation.
|
|
Will start editing for cell if there is a cellEditor and shouldSelectCell returns true. This assumes that cell is valid and visible. |
|
Selects the cell and tries to edit it. Editing will fail if the CellEditor won't allow it for the selected item. Implements org.jgraph.plaf.GraphUI. |
|
Stops the current editing session. This has no effect if the graph isn't being edited. Returns true if the editor allows the editing session to stop. Implements org.jgraph.plaf.GraphUI. |
|
Messaged to update the selection based on a toggle selection manas.event, which means the cell's selection state is inverted. |
|
Uninstalls the renderer pane. |
|
|
|
|
|
|
|
Updates the |
|
Update the handle using createHandle. Implements org.jgraph.plaf.GraphUI. |
|
Messages the Graph with |
|
Current editor for the graph. |
|
Listens for CellEditor events. |
|
Listens for Component events. |
|
The default DropTargetListener. |
|
The default TransferHandler. |
|
Initial value: System.getProperty("java.version") .compareTo("1.4.0") < 0 || System.getProperty("java.version").compareTo("1.4.0") > 0 |
|
Needed to exchange information between DropTargetHandler and TransferHandler. |
|
The drop target where the default listener was last installed. |
|
Path that is being edited. |
|
When editing, this will be the Component that is doing the actual editing. |
|
Set to true if the editor has a different size than the renderer. |
|
The focused cell under the mousepointer and the last focused cell. |
|
Component that we're going to be drawing into. |
|
Reference to the graph's view (geometric pattern). |
|
Updates the display when the view has changed. |
|
Used to determine what to display. |
|
Is responsible for updating the view based on model events. |
|
Updates the display when the selection changes. |
|
Model maintaining the selection. |
|
Handle that we are going to use. |
|
Needed to exchange information between Transfer- and MouseListener. |
|
Listens for KeyListener events. |
|
|
|
Marquee that we are going to use. |
|
The maximum number of cells to paint when dragging. |
|
Maximum number of cells to compute clipping bounds for. |
|
The maximum number of handles to paint individually. |
|
Listens for Mouse events. |
|
Minimum preferred size. |
|
Size needed to completely display all the cells. |
|
Listens for JGraph property changes and updates display. |
|
Used to paint the CellRenderer. |
|
Border in pixels to scroll if marquee or dragging are active. |
|
Multiplicator for width and height when autoscrolling (=stepsize). |
|
If ture, a the view under mousepointer will be snapped to the grid lines during a drag operation. If snap-to-grid mode is disabled, views are moved by a snap increment. |
|
Set to false when editing and shouldSelectCell() returns true meaning the node should be selected before editing, used in completeEditing. |
|
Is the preferredSize valid? |