Serialized Form (JGraph v5.12.4.2 API Specification)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JGraph v5.12.4.2
PREV NEXT | FRAMES NO FRAMES

# Serialized Form

Package org.jgraph

Class org.jgraph.JGraph extends JComponent implements Serializable

Serialization Methods

### readObject

    private void readObject(ObjectInputStream s)
                     throws IOException,
                            ClassNotFoundException

  Serialization support.

### writeObject

    private void writeObject(ObjectOutputStream s)
                      throws IOException

  Serialization support.

Serialized Fields

### volatileOffscreen

    boolean volatileOffscreen

  Whether or not to try to use a volatile offscreen buffer for double buffering. Volatile

### lastBufferAllocated

    boolean lastBufferAllocated

  Stores whether the last double buffer allocation worked or not

### backgroundImage

    ImageIcon backgroundImage

  Holds the background image.

### backgroundComponent

    Component backgroundComponent

  A Component responsible for drawing the background image, if any

### backgroundScaled

    boolean backgroundScaled

  Whether or not the background image is scaled on zooming

### scale

    double scale

  Scale of the graph. Default is 1. Bound property.

### antiAliased

    boolean antiAliased

  True if the graph is anti-aliased. Default is false. Bound property.

### editable

    boolean editable

  True if the graph allows editing the value of a cell. Bound property.

### groupsEditable

    boolean groupsEditable

  True if the graph allows editing of non-leaf cells. Bound property.

### selectionEnabled

    boolean selectionEnabled

  True if the graph allows selection of cells. Note: You must also disable selectNewCells if you disable this. Bound property.

### previewInvalidNullPorts

    boolean previewInvalidNullPorts

  True if the graph allows invalid null ports during previews (aka flip back edges). Default is true.

### gridVisible

    boolean gridVisible

  True if the grid is visible. Bound property.

### gridSize

    double gridSize

  The size of the grid in points. Default is 10. Bound property.

### gridMode

    int gridMode

  The style of the grid. Use one of the _GRID_MODE constants.

### portsVisible

    boolean portsVisible

  True if the ports are visible. Bound property.

### portsScaled

    boolean portsScaled

  True if the ports are scaled. Bound property.

### portsOnTop

    boolean portsOnTop

  True if port are painted above all other cells.

### moveBelowZero

    boolean moveBelowZero

  True if the graph allows to move cells below zero.

### moveBeyondGraphBounds

    boolean moveBeyondGraphBounds

  True if the graph allows to move cells beyond the graph bounds

### edgeLabelsMovable

    boolean edgeLabelsMovable

  True if the labels on edges may be moved.

### autoResizeGraph

    boolean autoResizeGraph

  True if the graph should be auto resized when cells are moved below the bottom right corner. Default is true.

### highlightColor

    Color highlightColor

  Highlight Color. This color is used to draw the selection border of unfocused cells. Changes when the Look-and-Feel changes.

### handleColor

    Color handleColor

  Color of the handles and locked handles. Changes when the Look-and-Feel changes. This color is also used to draw the selection border of focused cells.

### lockedHandleColor

    Color lockedHandleColor

  Color of the handles and locked handles. Changes when the Look-and-Feel changes. This color is also used to draw the selection border of focused cells.

### marqueeColor

    Color marqueeColor

  Color of the marquee. Changes when the Look-and-Feel changes.

### gridColor

    Color gridColor

  The color of the grid. This color is used to draw the selection border for cells with selected children. Changes when the Look-and-Feel changes.

### dragEnabled

    boolean dragEnabled

  True if Drag-and-Drop should be used for move operations. Default is false due to a JDK bug.

### dropEnabled

    boolean dropEnabled

  True if the graph accepts transfers from other components (graphs). This also affects the clipboard. Default is true.

### xorEnabled

    boolean xorEnabled

  True if the graph accepts transfers from other components (graphs). This also affects the clipboard. Default is true.

### editClickCount

    int editClickCount

  Number of clicks for editing to start. Default is 2 clicks.

### enabled

    boolean enabled

  True if the graph allows interactions. Default is true.

### gridEnabled

    boolean gridEnabled

  True if the snap method should be active (snap to grid).

### handleSize

    int handleSize

  Size of a handle. Default is 3 pixels.

### tolerance

    int tolerance

  Maximum distance between a cell and the mousepointer. Default is 4.

### minimumMove

    int minimumMove

  Minimum amount of pixels to start a move transaction. Default is 5.

### isJumpToDefaultPort

    boolean isJumpToDefaultPort

  True if getPortViewAt should return the default port if no other port is found. Default is false.

### isMoveIntoGroups

    boolean isMoveIntoGroups

  Specifies if cells should be added to a group when moved over the group's area. Default is false.

### isMoveOutOfGroups

    boolean isMoveOutOfGroups

  Specifies if cells should be removed from groups when removed from the group area. Default is false.

### disconnectOnMove

    boolean disconnectOnMove

  True if selected edges are disconnected from unselected vertices on move. Default is false.

### moveable

    boolean moveable

  True if the graph allows move operations. Default is true.

### cloneable

    boolean cloneable

  True if the graph allows "ctrl-drag" operations. Default is false.

### sizeable

    boolean sizeable

  True if the graph allows cells to be resized. Default is true.

### bendable

    boolean bendable

  True if the graph allows points to be modified/added/removed. Default is true.

### connectable

    boolean connectable

  True if the graph allows new connections to be established. Default is true.

### disconnectable

    boolean disconnectable

  True if the graph allows existing connections to be removed. Default is true.

### invokesStopCellEditing

    boolean invokesStopCellEditing

  If true, when editing is to be stopped by way of selection changing, data in graph changing or other means `stopCellEditing` is invoked, and changes are saved. If false, `cancelCellEditing` is invoked, and changes are discarded.

Class org.jgraph.JGraph.EmptySelectionModel extends DefaultGraphSelectionModel implements Serializable

Class org.jgraph.JGraph.GraphSelectionRedirector extends Object implements Serializable

Package org.jgraph.event

Class org.jgraph.event.GraphLayoutCacheEvent extends EventObject implements Serializable

Serialized Fields

### change

    GraphLayoutCacheEvent.GraphLayoutCacheChange change

  The object that constitutes the change.

Class org.jgraph.event.GraphModelEvent extends EventObject implements Serializable

Serialized Fields

### change

    GraphModelEvent.GraphModelChange change

  The object that constitutes the change.

Class org.jgraph.event.GraphSelectionEvent extends EventObject implements Serializable

Serialized Fields

### cells

    Object[] cells

  Cells this event represents.

### areNew

    boolean[] areNew

  For each cell identifies whether or not that cell is newly selected.

Package org.jgraph.graph

Class org.jgraph.graph.AbstractCellView extends Object implements Serializable

Serialized Fields

### cell

    Object cell

  Reference to the cell for this view

### parent

    CellView parent

  Cached parent view

### childViews

    List childViews

  Cached child views. Default is a ArrayList with allocation size 0.

### allAttributes

    AttributeMap allAttributes

  Contains the complete set of attributes, including the cell's attributes. The values in this map are overriden by the corresponding values in `attributes`.

### attributes

    AttributeMap attributes

  Hashtable for attributes. Value in this map override the values in `allAttributes`.

Class org.jgraph.graph.AttributeMap extends Hashtable implements Serializable

Class org.jgraph.graph.AttributeMap.SerializablePoint2D extends Point2D.Double implements Serializable

Serialization Methods

### readObject

    private void readObject(ObjectInputStream in)
                     throws IOException,
                            ClassNotFoundException

### writeObject

    private void writeObject(ObjectOutputStream out)
                      throws IOException

Class org.jgraph.graph.AttributeMap.SerializableRectangle2D extends Rectangle2D.Double implements Serializable

Serialization Methods

### readObject

    private void readObject(ObjectInputStream in)
                     throws IOException,
                            ClassNotFoundException

### writeObject

    private void writeObject(ObjectOutputStream out)
                      throws IOException

Class org.jgraph.graph.ConnectionSet extends Object implements Serializable

Serialized Fields

### connections

    Set connections

  Contents of the connection set.

### edges

    Set edges

  Set of changed edges for the connection set.

Class org.jgraph.graph.ConnectionSet.Connection extends Object implements Serializable

Serialized Fields

### edge

    Object edge

  The edge that will be connected to the port.

### port

    Object port

  The port that will be connected to the edge.

### isSource

    boolean isSource

  Indicates if `port` is the source of `edge`.

Class org.jgraph.graph.DefaultCellViewFactory extends Object implements Serializable

Class org.jgraph.graph.DefaultEdge extends DefaultGraphCell implements Serializable

Serialized Fields

### source

    Object source

  Source and target of the edge.

### target

    Object target

  Source and target of the edge.

Class org.jgraph.graph.DefaultEdge.DefaultRouting extends DefaultEdge.LoopRouting implements Serializable

Class org.jgraph.graph.DefaultEdge.LoopRouting extends Object implements Serializable

Class org.jgraph.graph.DefaultGraphCell extends DefaultMutableTreeNode implements Serializable

Serialized Fields

### attributes

    AttributeMap attributes

  Hashtable for properties. Initially empty

Class org.jgraph.graph.DefaultGraphCellEditor extends Object implements Serializable

Serialization Methods

### readObject

    private void readObject(ObjectInputStream s)
                     throws IOException,
                            ClassNotFoundException

### writeObject

    private void writeObject(ObjectOutputStream s)
                      throws IOException

Serialized Fields

### realEditor

    GraphCellEditor realEditor

  Editor handling the editing.

### editingContainer

    Container editingContainer

  Editing container, will contain the editorComponent.

### canEdit

    boolean canEdit

  Internal Note, maybe isCellEditable return true. This is set in configure based on the path being edited and the selected selected path.

### borderSelectionColor

    Color borderSelectionColor

  True if the border selection color should be drawn.

### font

    Font font

  Font to paint with, null indicates font of renderer is to be used.

Class org.jgraph.graph.DefaultGraphCellEditor.DefaultTextField extends JTextField implements Serializable

Serialized Fields

### border

    Border border

  Border to use.

Class org.jgraph.graph.DefaultGraphCellEditor.EditorContainer extends Container implements Serializable

Class org.jgraph.graph.DefaultGraphModel extends UndoableEditSupport implements Serializable

Serialization Methods

### readObject

    private void readObject(ObjectInputStream s)
                     throws IOException,
                            ClassNotFoundException

Serialized Fields

### roots

    List roots

  Set that contains all root cells of this model.

### asksAllowsChildren

    boolean asksAllowsChildren

  Indicates whether isLeaf is based on a node's allowsChildren value.

### removeEmptyGroups

    boolean removeEmptyGroups

  Whether or not to remove group cells from the model when all of their children are removed

### attributes

    AttributeMap attributes

  The model's own attributes as a map. Defaults to an empty Hashtable.

Class org.jgraph.graph.DefaultGraphModel.EmptyIterator extends Object implements Serializable

Class org.jgraph.graph.DefaultGraphModel.GraphModelEdit extends CompoundEdit implements Serializable

Serialized Fields

### insert

    Object[] insert

### changed

    Object[] changed

### remove

    Object[] remove

### context

    Object[] context

### inserted

    Object[] inserted

### removed

    Object[] removed

### attributes

    Map attributes

### previousAttributes

    Map previousAttributes

### parentMap

    ParentMap parentMap

### previousParentMap

    ParentMap previousParentMap

### dirtyRegion

    Rectangle2D dirtyRegion

  The dirty region of the change prior to it happening

### connectionSet

    ConnectionSet connectionSet

### previousConnectionSet

    ConnectionSet previousConnectionSet

### cellViews

    Map cellViews

Class org.jgraph.graph.DefaultGraphModel.GraphModelLayerEdit extends AbstractUndoableEdit implements Serializable

Serialized Fields

### changeSource

    Object changeSource

### layer

    int layer

### changed

    Object[] changed

Class org.jgraph.graph.DefaultGraphSelectionModel extends Object implements Serializable

Serialized Fields

### graph

    JGraph graph

  Reference to the parent graph. Used to find parents and childs.

### changeSupport

    SwingPropertyChangeSupport changeSupport

  Used to message registered listeners.

### listenerList

    EventListenerList listenerList

  Event listener list.

### selectionMode

    int selectionMode

  Mode for the selection, will be either SINGLE_TREE_SELECTION, CONTIGUOUS_TREE_SELECTION or DISCONTIGUOUS_TREE_SELECTION.

### childrenSelectable

    boolean childrenSelectable

  Boolean that indicates if the model allows stepping-into groups.

### cellStates

    Map cellStates

  Maps the cells to their selection state.

### selection

    Set selection

  List that contains the selected items.

Class org.jgraph.graph.DefaultPort extends DefaultGraphCell implements Serializable

Serialized Fields

### edges

    HashSet edges

  Edges that are connected to the port

### anchor

    Port anchor

  Reference to the anchor of this port

Class org.jgraph.graph.DefaultRealEditor extends DefaultCellEditor implements Serializable

Class org.jgraph.graph.EdgeRenderer extends JComponent implements Serializable

Serialized Fields

### simpleExtraLabels

    boolean simpleExtraLabels

  A switch for painting the extra labels

### extraLabelFont

    Font extraLabelFont

  Override this if you want the extra labels to appear in a special fontJ

Class org.jgraph.graph.EdgeView extends AbstractCellView implements Serializable

Serialized Fields

### points

    List points

  List of points of the edge. May contain ports.

### source

    CellView source

  Cached source and target portview of the edge.

### target

    CellView target

  Cached source and target portview of the edge.

### sourceParentView

    CellView sourceParentView

### targetParentView

    CellView targetParentView

### labelPosition

    Point2D labelPosition

  Cached label position of the edge.

### extraLabelPositions

    Point2D[] extraLabelPositions

Class org.jgraph.graph.EdgeView.EdgeHandle extends Object implements Serializable

Serialized Fields

### graph

    JGraph graph

### edge

    EdgeView edge

### orig

    EdgeView orig

### label

    boolean label

### source

    boolean source

### target

    boolean target

### currentLabel

    int currentLabel

  Holds the index of the current (editing) label or point.

### currentIndex

    int currentIndex

  Holds the index of the current (editing) label or point.

### currentPoint

    Point2D currentPoint

### firstOverlayCall

    boolean firstOverlayCall

### isEdgeConnectable

    boolean isEdgeConnectable

### relevantEdge

    EdgeView relevantEdge

### editing

    boolean editing

  True if the cell is being edited.

### initialLabelLocation

    Point2D initialLabelLocation

  Holds the initial location of the label.

### edgeModified

    boolean edgeModified

  Indicates whether the edge has been modified during the last mouse pressed and dragged operations.

### highlight

    JComponent highlight

  Component that is used for highlighting cells if the graph does not allow XOR painting.

Class org.jgraph.graph.ExecutableChange extends AbstractUndoableEdit implements Serializable

Class org.jgraph.graph.GraphLayoutCache extends Object implements Serializable

Serialization Methods

### readObject

    private void readObject(ObjectInputStream s)
                     throws IOException,
                            ClassNotFoundException

  Serialization support.

### writeObject

    private void writeObject(ObjectOutputStream s)
                      throws IOException

  Serialization support.

Serialized Fields

### autoSizeOnValueChange

    boolean autoSizeOnValueChange

  True if the cells should be auto-sized when their values change. Default is false.

### showsExistingConnections

    boolean showsExistingConnections

  Boolean indicating whether existing connections should me made visible if their sources or targets are made visible, given the opposite end of the edge is already visible or made visible, too. Default is true.

### showsChangedConnections

    boolean showsChangedConnections

  Boolean indicating whether connections should be made visible when reconnected and their source and target port is visible. Default is true.

### showsInvisibleEditedCells

    boolean showsInvisibleEditedCells

  Boolean indicating whether edited cells should be made visible if they are changed via `GraphLayoutCache.edit(Map, ConnectionSet, ParentMap, UndoableEdit[])`. Default is false.

### showsInsertedCells

    boolean showsInsertedCells

  Boolean indicating whether inserted should be made visible if they are inserted via `GraphLayoutCache.insert(Object[], Map, ConnectionSet, ParentMap, UndoableEdit[])`. Default is true.

### showsInsertedConnections

    boolean showsInsertedConnections

  Boolean indicating whether inserted edges should me made visible if their sources or targets are already visible. Default is true.

### hidesExistingConnections

    boolean hidesExistingConnections

  Boolean indicating whether existing connections should be hidden if their source or target and no parent of the ports is visible, either by hiding the cell or by changing the source or target of the edge to a hidden cell. Default is true.

### hidesDanglingConnections

    boolean hidesDanglingConnections

  Boolean indicating whether existing connections should be hidden if their source or target port is removed from the model. Default is false.

### remembersCellViews

    boolean remembersCellViews

  Boolean indicating whether cellviews should be remembered once visible in this GraphLayoutCache. Default is true.

### selectsAllInsertedCells

    boolean selectsAllInsertedCells

  Boolean indicating whether inserted cells should automatically be selected. Default is true. This is ignored if the cache is partial. Note: Despite the name of this field the implementation is located in the BasicGraphUI.GraphModelHandler.graphChanged method.

### selectsLocalInsertedCells

    boolean selectsLocalInsertedCells

  Boolean indicating whether cells that are inserted using the local insert method should automatically be selected. Default is true. This is ignored if the cache is not partial and selectsAllInsertedCells is true, in which case the cells will be selected through another mechanism. Note: Despite the name of this field the implementation is located in the BasicGraphUI.GraphLayoutCacheObserver.changed method.

### movesChildrenOnExpand

    boolean movesChildrenOnExpand

  Boolean indicating whether children should be moved to the parent group's origin on expand. Default is true.

### movesParentsOnCollapse

    boolean movesParentsOnCollapse

  Boolean indicating whether parents should be moved to the child area origin on collapse. Default is true.

### resizesParentsOnCollapse

    boolean resizesParentsOnCollapse

  Boolean indicating whether parents should always be resized to the child area on collapse. If false the size is only initially updated if it has not yet been assigned. Default is false.

### collapseXScale

    double collapseXScale

  Specified the initial x- and y-scaling factor for initial collapsed group bounds. Default is 1.0, ie. no scaling.

### collapseYScale

    double collapseYScale

  Specified the initial x- and y-scaling factor for initial collapsed group bounds. Default is 1.0, ie. no scaling.

### reconnectsEdgesToVisibleParent

    boolean reconnectsEdgesToVisibleParent

  Deprecated. edges are moved to parent view and back automatically

  Boolean indicating whether edges should be reconneted to visible parents on collapse/expand. Default is false.

### listenerList

    EventListenerList listenerList

  The list of listeners that listen to the GraphLayoutCache.

### graphModel

    GraphModel graphModel

  Reference to the graphModel

### mapping

    Map mapping

  Maps cells to views.

### factory

    CellViewFactory factory

  Factory to create the views.

### visibleSet

    Set visibleSet

  The set of visible cells.

### roots

    List roots

  Ordered list of roots for the view.

### ports

    PortView[] ports

  Cached array of all ports for the view.

### partial

    boolean partial

  Only portions of the model are visible.

### allAttributesLocal

    boolean allAttributesLocal

  Controls if all attributes are local. If this is false then the createLocalEdit will check the localAttributes set to see if a specific attribute is local, otherwise it will assume that all attributes are local. This allows to make all attributes local without actually knowing them. Default is false.

### localAttributes

    Set localAttributes

  A set containing all attribute keys that are stored in the cell views, in other words, the view-local attributes.

Class org.jgraph.graph.GraphLayoutCache.GraphLayoutCacheEdit extends CompoundEdit implements Serializable

Serialized Fields

### cells

    Object[] cells

### previousCells

    Object[] previousCells

### context

    CellView[] context

### hidden

    CellView[] hidden

### attributes

    Map attributes

### previousAttributes

    Map previousAttributes

### visible

    Object[] visible

### invisible

    Object[] invisible

### dirtyRegion

    Rectangle2D dirtyRegion

  The dirty region associated with this event prior to the change

### changedCells

    Set changedCells

Class org.jgraph.graph.GraphTransferable extends BasicGraphTransferable implements Serializable

Serialized Fields

### cells

    Object[] cells

  Selected cells.

### cs

    ConnectionSet cs

  Object that describes the connection between cells.

### pm

    ParentMap pm

  Object that describes the group structure between cells.

### attributeMap

    Map attributeMap

  (Cell, Map) entries that hold the view attributes for the cells.

### bounds

    Rectangle2D bounds

  Rectangle that defines the former bounds of the views.

Class org.jgraph.graph.GraphTransferHandler extends TransferHandler implements Serializable

Serialized Fields

### alwaysReceiveAsCopyAction

    boolean alwaysReceiveAsCopyAction

  Controls if all inserts should be handled as external drops even if all cells are already in the graph model. This is useful if the enclosing component does not allow moving.

### out

    Object out

### in

    Object in

### inCount

    int inCount

Class org.jgraph.graph.GraphUndoManager extends UndoManager implements Serializable

Class org.jgraph.graph.ParentMap extends Object implements Serializable

Serialized Fields

### entries

    ArrayList entries

  Contents of the parent map.

### changedNodes

    Set changedNodes

  Set of changed changedNodes for the parent map. Includes childs and parents.

### childCount

    Map childCount

  Maps parents to integers with the future number of childs.

Class org.jgraph.graph.ParentMap.Entry extends Object implements Serializable

Serialized Fields

### child

    Object child

  Child and parent of the relation this entry describes.

### parent

    Object parent

  Child and parent of the relation this entry describes.

Class org.jgraph.graph.PortRenderer extends JComponent implements Serializable

Serialized Fields

### graphBackground

    Color graphBackground

  Cache the current graph background.

Class org.jgraph.graph.PortView extends AbstractCellView implements Serializable

Class org.jgraph.graph.VertexRenderer extends JLabel implements Serializable

Class org.jgraph.graph.VertexView extends AbstractCellView implements Serializable

Serialized Fields

### bounds

    Rectangle2D bounds

  Reference to the bounds attribute

Class org.jgraph.graph.VertexView.SizeHandle extends Object implements Serializable

Serialized Fields

### firstOverlayInvocation

    boolean firstOverlayInvocation

### editing

    boolean editing

  True if the cell is being edited.

Package org.jgraph.plaf.basic

Class org.jgraph.plaf.basic.BasicGraphTransferable extends Object implements Serializable

Class org.jgraph.plaf.basic.BasicGraphUI extends GraphUI implements Serializable

Serialized Fields

### preferredMinSize

    Dimension preferredMinSize

  Minimum preferred size.

### graph

    JGraph graph

  Component that we're going to be drawing into.

### graphLayoutCache

    GraphLayoutCache graphLayoutCache

  Reference to the graph's view (geometric pattern).

### cellEditor

    GraphCellEditor cellEditor

  Current editor for the graph.

### stopEditingInCompleteEditing

    boolean stopEditingInCompleteEditing

  Set to false when editing and shouldSelectCell() returns true meaning the node should be selected before editing, used in completeEditing.

### rendererPane

    CellRendererPane rendererPane

  Used to paint the CellRenderer.

### preferredSize

    Dimension preferredSize

  Size needed to completely display all the cells.

### validCachedPreferredSize

    boolean validCachedPreferredSize

  Is the preferredSize valid?

### graphModel

    GraphModel graphModel

  Used to determine what to display.

### graphSelectionModel

    GraphSelectionModel graphSelectionModel

  Model maintaining the selection.

### handle

    CellHandle handle

  Handle that we are going to use.

### marquee

    BasicMarqueeHandler marquee

  Marquee that we are going to use.

### editingComponent

    Component editingComponent

  When editing, this will be the Component that is doing the actual editing.

### focus

    CellView focus

  The focused cell under the mousepointer and the last focused cell.

### lastFocus

    CellView lastFocus

  The focused cell under the mousepointer and the last focused cell.

### editingCell

    Object editingCell

  Path that is being edited.

### editorHasDifferentSize

    boolean editorHasDifferentSize

  Set to true if the editor has a different size than the renderer.

### insertionLocation

    Point insertionLocation

  Needed to exchange information between Transfer- and MouseListener.

### dropAction

    int dropAction

  Needed to exchange information between DropTargetHandler and TransferHandler.

### snapSelectedView

    boolean snapSelectedView

  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.

### propertyChangeListener

    PropertyChangeListener propertyChangeListener

  Listens for JGraph property changes and updates display.

### mouseListener

    MouseListener mouseListener

  Listens for Mouse events.

### keyListener

    KeyListener keyListener

  Listens for KeyListener events.

### componentListener

    ComponentListener componentListener

  Listens for Component events.

### cellEditorListener

    CellEditorListener cellEditorListener

  Listens for CellEditor events.

### graphSelectionListener

    GraphSelectionListener graphSelectionListener

  Updates the display when the selection changes.

### graphModelListener

    GraphModelListener graphModelListener

  Is responsible for updating the view based on model events.

### graphLayoutCacheListener

    GraphLayoutCacheListener graphLayoutCacheListener

  Updates the display when the view has changed.

### defaultTransferHandler

    TransferHandler defaultTransferHandler

  The default TransferHandler.

### defaultDropTargetListener

    BasicGraphUI.GraphDropTargetListener defaultDropTargetListener

  The default DropTargetListener.

### dropTarget

    DropTarget dropTarget

  The drop target where the default listener was last installed.

Class org.jgraph.plaf.basic.BasicGraphUI.CellEditorHandler extends Object implements Serializable

Class org.jgraph.plaf.basic.BasicGraphUI.GraphDropTargetListener extends BasicGraphDropTargetListener implements Serializable

Class org.jgraph.plaf.basic.BasicGraphUI.GraphIncrementAction extends AbstractAction implements Serializable

Serialized Fields

### direction

    int direction

  Specifies the direction to adjust the selection by.

Class org.jgraph.plaf.basic.BasicGraphUI.GraphLayoutCacheHandler extends Object implements Serializable

Class org.jgraph.plaf.basic.BasicGraphUI.GraphModelHandler extends Object implements Serializable

Class org.jgraph.plaf.basic.BasicGraphUI.GraphSelectionHandler extends Object implements Serializable

Class org.jgraph.plaf.basic.BasicGraphUI.KeyHandler extends KeyAdapter implements Serializable

Serialized Fields

### repeatKeyAction

    Action repeatKeyAction

  Key code that is being generated for.

### isKeyDown

    boolean isKeyDown

  Set to true while keyPressed is active.

Class org.jgraph.plaf.basic.BasicGraphUI.MouseHandler extends MouseAdapter implements Serializable

Serialized Fields

### cell

    CellView cell

### handler

    Object handler

Class org.jgraph.plaf.basic.BasicGraphUI.PropertyChangeHandler extends Object implements Serializable

Class org.jgraph.plaf.basic.BasicGraphUI.RootHandle extends Object implements Serializable

Serialized Fields

### isMoving

    boolean isMoving

  Indicates whether this handle is currently moving cells. Start may be non-null and isMoving false while the minimum movement has not been reached.

### isDragging

    boolean isDragging

  Indicates whether this handle has started drag and drop. Note: isDragging => isMoving.

### isContextVisible

    boolean isContextVisible

### blockPaint

    boolean blockPaint

### current

    Point2D current

Package org.jgraph.util

Class org.jgraph.util.ParallelEdgeRouter extends DefaultEdge.LoopRouting implements Serializable

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JGraph v5.12.4.2
PREV NEXT | FRAMES NO FRAMES

Copyright (C) 2001-2008 Gaudenz Alder. All rights reserved.