JGraph
v5.12.1.1

A B C D E F G H I J K L M N O P R S T U V X Y _

A

ABSOLUTEX - Static variable in class org.jgraph.graph.GraphConstants
Key for the absoluteX attribute.
ABSOLUTEY - Static variable in class org.jgraph.graph.GraphConstants
Key for the absoluteY attribute.
ANTIALIASED_PROPERTY - Static variable in class org.jgraph.JGraph
Bound property name for antiAliased.
ARROW_CIRCLE - Static variable in class org.jgraph.graph.GraphConstants
Represents a circle decoration for the beginning or ending of edges.
ARROW_CLASSIC - Static variable in class org.jgraph.graph.GraphConstants
Represents a classic arrow decoration for the beginning or ending of edges.
ARROW_DIAMOND - Static variable in class org.jgraph.graph.GraphConstants
Represents a diamond decoration for the beginning or ending of edges.
ARROW_DOUBLELINE - Static variable in class org.jgraph.graph.GraphConstants
Represents a double line decoration for the beginning or ending of edges.
ARROW_LINE - Static variable in class org.jgraph.graph.GraphConstants
Represents a line decoration for the beginning or ending of edges.
ARROW_NONE - Static variable in class org.jgraph.graph.GraphConstants
Represents no decoration for the beginning or ending of edges.
ARROW_SIMPLE - Static variable in class org.jgraph.graph.GraphConstants
Represents a simple arrow decoration for the beginning or ending of edges.
ARROW_TECHNICAL - Static variable in class org.jgraph.graph.GraphConstants
Represents a technical arrow decoration for the beginning or ending of edges.
AUTOSIZE - Static variable in class org.jgraph.graph.GraphConstants
Key for the autosize attribute.
AbstractCellView - class org.jgraph.graph.AbstractCellView.
The abstract base class for all cell views.
AbstractCellView() - Constructor for class org.jgraph.graph.AbstractCellView
Constructs an empty abstract cell view.
AbstractCellView(Object) - Constructor for class org.jgraph.graph.AbstractCellView
Constructs a view for the specified model object, and invokes update on the new instance.
AttributeMap - class org.jgraph.graph.AttributeMap.
A map specifically for the storage of attributes of graph cells.
AttributeMap() - Constructor for class org.jgraph.graph.AttributeMap
Creates a new attribute map with an initial capacity of 8.
AttributeMap(int) - Constructor for class org.jgraph.graph.AttributeMap
Creates a new attribute map with the specified initial capacity
AttributeMap(int, float) - Constructor for class org.jgraph.graph.AttributeMap
Constructs a new, empty hashtable with the specified initial capacity and the specified load factor.
AttributeMap(Map) - Constructor for class org.jgraph.graph.AttributeMap
Constructs a new AttributeMap with the same mappings as the given Map.
AttributeMap.SerializablePoint2D - class org.jgraph.graph.AttributeMap.SerializablePoint2D.
 
AttributeMap.SerializablePoint2D() - Constructor for class org.jgraph.graph.AttributeMap.SerializablePoint2D
 
AttributeMap.SerializablePoint2D(double, double) - Constructor for class org.jgraph.graph.AttributeMap.SerializablePoint2D
 
AttributeMap.SerializableRectangle2D - class org.jgraph.graph.AttributeMap.SerializableRectangle2D.
 
AttributeMap.SerializableRectangle2D() - Constructor for class org.jgraph.graph.AttributeMap.SerializableRectangle2D
 
AttributeMap.SerializableRectangle2D(double, double, double, double) - Constructor for class org.jgraph.graph.AttributeMap.SerializableRectangle2D
 
acceptsSource(Object, Object) - Method in class org.jgraph.graph.DefaultGraphModel
Returns true if port is a valid source for edge.
acceptsSource(Object, Object) - Method in interface org.jgraph.graph.GraphModel
Returns true if port is a valid source for edge.
acceptsTarget(Object, Object) - Method in class org.jgraph.graph.DefaultGraphModel
Returns true if port is a valid target for edge.
acceptsTarget(Object, Object) - Method in interface org.jgraph.graph.GraphModel
Returns true if port is a valid target for edge.
actionPerformed(ActionEvent) - Method in class org.jgraph.graph.DefaultGraphCellEditor
Messaged when the timer fires, this will start the editing session.
actionPerformed(ActionEvent) - Method in class org.jgraph.plaf.basic.BasicGraphDropTargetListener
The timer fired, perform autoscroll if the pointer is within the autoscroll region.
actionPerformed(ActionEvent) - Method in class org.jgraph.plaf.basic.BasicGraphUI.ComponentHandler
Public as a result of Timer.
actionPerformed(ActionEvent) - Method in class org.jgraph.plaf.basic.BasicGraphUI.GraphIncrementAction
 
activeHandle - Variable in class org.jgraph.plaf.basic.BasicGraphUI.RootHandle
The handle that consumed the last mousePressedEvent.
addCellEditorListener(CellEditorListener) - Method in class org.jgraph.graph.DefaultGraphCellEditor
Adds the CellEditorListener.
addConnections(CellView[]) - Method in class org.jgraph.graph.ConnectionSet
Adds the connections in views to the connection set.
addEdge(Object) - Method in class org.jgraph.graph.DefaultPort
Adds edge to the list of edges.
addEdge(Object) - Method in interface org.jgraph.graph.Port
Adds edge to the list of ports.
addEntries(Object[], Object) - Method in class org.jgraph.graph.ParentMap
Adds all child parent pairs using addEntry.
addEntry(Object, Object) - Method in class org.jgraph.graph.ParentMap
Add a new entry for this child, parent pair to the parent map.
addExtraLabel(Point2D, Object) - Method in class org.jgraph.graph.EdgeView
Adds an extra label.
addGraphLayoutCacheListener(GraphLayoutCacheListener) - Method in class org.jgraph.graph.GraphLayoutCache
Adds a listener for the GraphLayoutCacheEvent posted after the graph layout cache changes.
addGraphModelListener(GraphModelListener) - Method in class org.jgraph.graph.DefaultGraphModel
Adds a listener for the GraphModelEvent posted after the graph changes.
addGraphModelListener(GraphModelListener) - Method in interface org.jgraph.graph.GraphModel
Adds a listener for the GraphModelEvent posted after the model changes.
addGraphSelectionListener(GraphSelectionListener) - Method in class org.jgraph.JGraph
Adds a listener for GraphSelection events.
addGraphSelectionListener(GraphSelectionListener) - Method in class org.jgraph.graph.DefaultGraphSelectionModel
Adds x to the list of listeners that are notified each time the set of selected TreePaths changes.
addGraphSelectionListener(GraphSelectionListener) - Method in interface org.jgraph.graph.GraphSelectionModel
Adds x to the list of listeners that are notified each time the set of selected Objects changes.
addImplicitEdit(UndoableEdit) - Method in class org.jgraph.graph.DefaultGraphModel.GraphModelLayerEdit
Allows a GraphLayoutCache to add and execute and UndoableEdit in this change.
addOffscreenDirty(Rectangle2D) - Method in class org.jgraph.JGraph
 
addPoint(int, Point2D) - Method in class org.jgraph.graph.EdgeView
Adds p at position index.
addPort() - Method in class org.jgraph.graph.DefaultGraphCell
Utility method to create a port for this cell.
addPort(Point2D) - Method in class org.jgraph.graph.DefaultGraphCell
Utility method to create a port for this cell.
addPort(Point2D, Object) - Method in class org.jgraph.graph.DefaultGraphCell
Utility method to create a port for this cell.
addPropertyChangeListener(PropertyChangeListener) - Method in class org.jgraph.graph.DefaultGraphSelectionModel
Adds a PropertyChangeListener to the listener list.
addPropertyChangeListener(PropertyChangeListener) - Method in interface org.jgraph.graph.GraphSelectionModel
Adds a PropertyChangeListener to the listener list.
addSampleData(GraphModel) - Static method in class org.jgraph.JGraph
Creates and returns a sample GraphModel.
addSelectionCell(Object) - Method in class org.jgraph.JGraph
Adds the cell identified by the specified Object to the current selection.
addSelectionCell(Object) - Method in class org.jgraph.graph.DefaultGraphSelectionModel
Adds the specified cell to the current selection
addSelectionCell(Object) - Method in interface org.jgraph.graph.GraphSelectionModel
Adds cell to the current selection.
addSelectionCells(Object[]) - Method in class org.jgraph.JGraph.EmptySelectionModel
A null implementation that adds nothing.
addSelectionCells(Object[]) - Method in class org.jgraph.JGraph
Adds each cell in the array of cells to the current selection.
addSelectionCells(Object[]) - Method in class org.jgraph.graph.DefaultGraphSelectionModel
Adds cells to the current selection.
addSelectionCells(Object[]) - Method in interface org.jgraph.graph.GraphSelectionModel
Adds cells to the current selection.
addUndoableEditListener(UndoableEditListener) - Method in interface org.jgraph.graph.GraphModel
Adds an undo listener for notification of any changes.
addVisibleDependencies(Object[], boolean) - Method in class org.jgraph.graph.GraphLayoutCache
 
allAttributes - Variable in class org.jgraph.graph.AbstractCellView
Contains the complete set of attributes, including the cell's attributes.
allAttributesLocal - Variable in class org.jgraph.graph.GraphLayoutCache
Controls if all attributes are local.
allCells - Variable in class org.jgraph.graph.GraphContext
Set of all cells including all descendants.
allowPortMagic - Static variable in class org.jgraph.graph.PortView
Controls if port magic should be allowed.
alwaysReceiveAsCopyAction - Variable in class org.jgraph.graph.GraphTransferHandler
Controls if all inserts should be handled as external drops even if all cells are already in the graph model.
anchor - Variable in class org.jgraph.graph.DefaultPort
Reference to the anchor of this port
antiAliased - Variable in class org.jgraph.JGraph
True if the graph is anti-aliased.
applyMap(Map) - Method in class org.jgraph.graph.AttributeMap
Apply the change to this views attributes.
applyValue(Object, Object) - Method in class org.jgraph.graph.AttributeMap
Apply the key to value
areNew - Variable in class org.jgraph.event.GraphSelectionEvent
For each cell identifies whether or not that cell is newly selected.
asksAllowsChildren - Variable in class org.jgraph.graph.DefaultGraphModel
Indicates whether isLeaf is based on a node's allowsChildren value.
attributeMap - Variable in class org.jgraph.graph.GraphTransferable
(Cell, Map) entries that hold the view attributes for the cells.
attributes - Variable in class org.jgraph.graph.AbstractCellView
Hashtable for attributes.
attributes - Variable in class org.jgraph.graph.DefaultGraphCell
Hashtable for properties.
attributes - Variable in class org.jgraph.graph.DefaultGraphModel.GraphModelEdit
 
attributes - Variable in class org.jgraph.graph.DefaultGraphModel
The model's own attributes as a map.
attributes - Variable in class org.jgraph.graph.GraphLayoutCache.GraphLayoutCacheEdit
 
augment(UndoableEdit[], UndoableEdit) - Method in class org.jgraph.graph.GraphLayoutCache
 
augmentNestedMapForValueChange(Map, Object, Object) - Method in class org.jgraph.graph.GraphLayoutCache
Hook for subclassers to add more stuff for value changes.
autoResizeGraph - Variable in class org.jgraph.JGraph
True if the graph should be auto resized when cells are moved below the bottom right corner.
autoSizeOnValueChange - Variable in class org.jgraph.graph.GraphLayoutCache
True if the cells should be auto-sized when their values change.
autoscroll(JGraph, Point) - Static method in class org.jgraph.plaf.basic.BasicGraphUI
Scroll the graph for an event at p.

B

BACK - Static variable in class org.jgraph.graph.DefaultGraphModel.GraphModelLayerEdit
 
BACKGROUND - Static variable in class org.jgraph.graph.GraphConstants
Key for the background attribute.
BEGINFILL - Static variable in class org.jgraph.graph.GraphConstants
Key for the beginFill attribute.
BEGINSIZE - Static variable in class org.jgraph.graph.GraphConstants
Key for the beginSize attribute.
BENDABLE - Static variable in class org.jgraph.graph.GraphConstants
Key for the bendable attribute.
BORDER - Static variable in class org.jgraph.graph.GraphConstants
Key for the border attribute.
BORDERCOLOR - Static variable in class org.jgraph.graph.GraphConstants
Key for the bordercolor attribute.
BOUNDS - Static variable in class org.jgraph.graph.GraphConstants
Key for the bounds attribute.
BasicGraphDropTargetListener - class org.jgraph.plaf.basic.BasicGraphDropTargetListener.
 
BasicGraphDropTargetListener() - Constructor for class org.jgraph.plaf.basic.BasicGraphDropTargetListener
construct a DropTargetAutoScroller
BasicGraphTransferable - class org.jgraph.plaf.basic.BasicGraphTransferable.
 
BasicGraphTransferable() - Constructor for class org.jgraph.plaf.basic.BasicGraphTransferable
 
BasicGraphUI - class org.jgraph.plaf.basic.BasicGraphUI.
The basic L&F for a graph data structure.
BasicGraphUI() - Constructor for class org.jgraph.plaf.basic.BasicGraphUI
 
BasicGraphUI.CellEditorHandler - class org.jgraph.plaf.basic.BasicGraphUI.CellEditorHandler.
Listener responsible for getting cell editing events and updating the graph accordingly.
BasicGraphUI.CellEditorHandler() - Constructor for class org.jgraph.plaf.basic.BasicGraphUI.CellEditorHandler
 
BasicGraphUI.ComponentHandler - class org.jgraph.plaf.basic.BasicGraphUI.ComponentHandler.
Updates the preferred size when scrolling (if necessary).
BasicGraphUI.ComponentHandler() - Constructor for class org.jgraph.plaf.basic.BasicGraphUI.ComponentHandler
 
BasicGraphUI.GraphDropTargetListener - class org.jgraph.plaf.basic.BasicGraphUI.GraphDropTargetListener.
Graph Drop Target Listener
BasicGraphUI.GraphDropTargetListener() - Constructor for class org.jgraph.plaf.basic.BasicGraphUI.GraphDropTargetListener
 
BasicGraphUI.GraphIncrementAction - class org.jgraph.plaf.basic.BasicGraphUI.GraphIncrementAction.
GraphIncrementAction is used to handle up/down actions.
BasicGraphUI.GraphLayoutCacheHandler - class org.jgraph.plaf.basic.BasicGraphUI.GraphLayoutCacheHandler.
Listens for changes in the graph view and updates the size accordingly.
BasicGraphUI.GraphLayoutCacheHandler() - Constructor for class org.jgraph.plaf.basic.BasicGraphUI.GraphLayoutCacheHandler
 
BasicGraphUI.GraphModelHandler - class org.jgraph.plaf.basic.BasicGraphUI.GraphModelHandler.
Listens for changes in the graph model and updates the view accordingly.
BasicGraphUI.GraphModelHandler() - Constructor for class org.jgraph.plaf.basic.BasicGraphUI.GraphModelHandler
 
BasicGraphUI.GraphSelectionHandler - class org.jgraph.plaf.basic.BasicGraphUI.GraphSelectionHandler.
Listens for changes in the selection model and updates the display accordingly.
BasicGraphUI.GraphSelectionHandler() - Constructor for class org.jgraph.plaf.basic.BasicGraphUI.GraphSelectionHandler
 
BasicGraphUI.KeyHandler - class org.jgraph.plaf.basic.BasicGraphUI.KeyHandler.
This is used to get mutliple key down events to appropriately generate events.
BasicGraphUI.KeyHandler() - Constructor for class org.jgraph.plaf.basic.BasicGraphUI.KeyHandler
 
BasicGraphUI.MouseHandler - class org.jgraph.plaf.basic.BasicGraphUI.MouseHandler.
TreeMouseListener is responsible for updating the selection based on mouse events.
BasicGraphUI.MouseHandler() - Constructor for class org.jgraph.plaf.basic.BasicGraphUI.MouseHandler
 
BasicGraphUI.MouseInputHandler - class org.jgraph.plaf.basic.BasicGraphUI.MouseInputHandler.
MouseInputHandler handles passing all mouse events, including mouse motion events, until the mouse is released to the destination it is constructed with.
BasicGraphUI.MouseInputHandler(Component, Component, MouseEvent) - Constructor for class org.jgraph.plaf.basic.BasicGraphUI.MouseInputHandler
 
BasicGraphUI.PropertyChangeHandler - class org.jgraph.plaf.basic.BasicGraphUI.PropertyChangeHandler.
PropertyChangeListener for the graph.
BasicGraphUI.PropertyChangeHandler() - Constructor for class org.jgraph.plaf.basic.BasicGraphUI.PropertyChangeHandler
 
BasicGraphUI.RootHandle - class org.jgraph.plaf.basic.BasicGraphUI.RootHandle.
 
BasicGraphUI.RootHandle(GraphContext) - Constructor for class org.jgraph.plaf.basic.BasicGraphUI.RootHandle
Creates a root handle which contains handles for the given cells.
BasicMarqueeHandler - class org.jgraph.graph.BasicMarqueeHandler.
A simple implementation of a marquee handler for JGraph.
BasicMarqueeHandler() - Constructor for class org.jgraph.graph.BasicMarqueeHandler
 
Bezier - class org.jgraph.util.Bezier.
Interpolates given points by a bezier curve.
Bezier(Point2D[]) - Constructor for class org.jgraph.util.Bezier
Creates a new Bezier curve.
backgroundComponent - Variable in class org.jgraph.JGraph
A Component responsible for drawing the background image, if any
backgroundImage - Variable in class org.jgraph.JGraph
Holds the background image.
backgroundScaled - Variable in class org.jgraph.JGraph
Whether or not the background image is scaled on zooming
beginDeco - Variable in class org.jgraph.graph.EdgeRenderer
Painting attributes of the current edgeview
beginFill - Variable in class org.jgraph.graph.EdgeRenderer
Boolean attributes of the current edgeview.
beginShape - Variable in class org.jgraph.graph.EdgeView
Drawing attributes that are created on the fly
beginSize - Variable in class org.jgraph.graph.EdgeRenderer
Painting attributes of the current edgeview
beginUpdate() - Method in class org.jgraph.graph.DefaultGraphModel
 
beginUpdate() - Method in interface org.jgraph.graph.GraphModel
Indicates the start of one level of an executable change
bendable - Variable in class org.jgraph.JGraph
True if the graph allows points to be modified/added/removed.
bezier - Variable in class org.jgraph.graph.EdgeRenderer
Cached bezier curve
blockPaint - Variable in class org.jgraph.plaf.basic.BasicGraphUI.RootHandle
 
border - Variable in class org.jgraph.graph.DefaultGraphCellEditor.DefaultTextField
Border to use.
borderColor - Variable in class org.jgraph.graph.EdgeRenderer
Color attributes of the current edgeview.
borderSelectionColor - Variable in class org.jgraph.graph.DefaultGraphCellEditor
True if the border selection color should be drawn.
borderWidth - Variable in class org.jgraph.graph.VertexRenderer
Cached borderwidth.
bordercolor - Variable in class org.jgraph.graph.VertexRenderer
Cached default foreground and default background.
bounds - Variable in class org.jgraph.graph.GraphTransferable
Rectangle that defines the former bounds of the views.
bounds - Variable in class org.jgraph.graph.VertexView
Reference to the bounds attribute

C

CHILDRENSELECTABLE - Static variable in class org.jgraph.graph.GraphConstants
Key for the childrenSelectable attribute.
CONNECTABLE - Static variable in class org.jgraph.graph.GraphConstants
Key for the connectable attribute.
CONSTRAINED - Static variable in class org.jgraph.graph.GraphConstants
Key for the constrained attribute.
CROSS_GRID_MODE - Static variable in class org.jgraph.JGraph
 
CellHandle - interface org.jgraph.graph.CellHandle.
Defines the requirements for objects that may be used as handles.
CellMapper - interface org.jgraph.graph.CellMapper.
Defines the requirements for objects that may be used as a cell mapper.
CellView - interface org.jgraph.graph.CellView.
Defines the requirements for an object that represents a view for a model cell.
CellViewFactory - interface org.jgraph.graph.CellViewFactory.
Defines the requirements for objects that may be used as a cell view factory.
CellViewRenderer - interface org.jgraph.graph.CellViewRenderer.
Defines the requirements for objects that may be used as a cell view renderer.
ConnectionSet - class org.jgraph.graph.ConnectionSet.
An object that represents a set of connections.
ConnectionSet() - Constructor for class org.jgraph.graph.ConnectionSet
Constructs an empty ConnectionSet.
ConnectionSet(Object, Object, boolean) - Constructor for class org.jgraph.graph.ConnectionSet
Constructs a ConnectionSet with one Connection.
ConnectionSet(Set) - Constructor for class org.jgraph.graph.ConnectionSet
Constructs a connection set containing the specified connections and updates the set of changed edges.
ConnectionSet(Object, Object, Object) - Constructor for class org.jgraph.graph.ConnectionSet
Constructs a ConnectionSet with two Connections (to the source and target port of the edge).
ConnectionSet.Connection - class org.jgraph.graph.ConnectionSet.Connection.
Object that represents the connection between an edge and a port.
ConnectionSet.Connection() - Constructor for class org.jgraph.graph.ConnectionSet.Connection
 
ConnectionSet.Connection(Object, Object, boolean) - Constructor for class org.jgraph.graph.ConnectionSet.Connection
Constructs a new source or target connection between edge and port based on the value of source
cachedBounds - Variable in class org.jgraph.graph.EdgeView
 
cachedBounds - Variable in class org.jgraph.graph.VertexView.SizeHandle
 
cachedBounds - Variable in class org.jgraph.plaf.basic.BasicGraphUI.RootHandle
 
canEdit - Variable in class org.jgraph.graph.DefaultGraphCellEditor
Internal Note, maybe isCellEditable return true.
canEditImmediately(EventObject) - Method in class org.jgraph.graph.DefaultGraphCellEditor
Returns true if event is null, or it is a MouseEvent with a click count > 2 and inHitRegion returns true.
canImport(JComponent, DataFlavor[]) - Method in class org.jgraph.graph.GraphTransferHandler
 
canRedo(Object) - Method in class org.jgraph.graph.GraphUndoManager
Overridden to preserve usual semantics: returns true if a redo operation would be successful now for the given view, false otherwise
canUndo(Object) - Method in class org.jgraph.graph.GraphUndoManager
Overridden to preserve usual semantics: returns true if an undo operation would be successful now for the given view, false otherwise
cancelCellEditing() - Method in class org.jgraph.graph.DefaultGraphCellEditor
Messages cancelCellEditing to the realEditor and removes it from this instance.
cancelEditing() - Method in class org.jgraph.JGraph
Cancels the current editing session.
cancelEditing(JGraph) - Method in class org.jgraph.plaf.GraphUI
Cancels the current editing session.
cancelEditing(JGraph) - Method in class org.jgraph.plaf.basic.BasicGraphUI
Cancels all current editing sessions.
cell - Variable in class org.jgraph.graph.AbstractCellView
Reference to the cell for this view
cell - Variable in class org.jgraph.graph.DefaultGraphSelectionModel.CellPlaceHolder
 
cell - Variable in class org.jgraph.plaf.basic.BasicGraphUI.MouseHandler
 
cellCount - Variable in class org.jgraph.graph.GraphContext
Number of all descendants without ports.
cellEditor - Static variable in class org.jgraph.graph.AbstractCellView
Editor for the cell.
cellEditor - Variable in class org.jgraph.plaf.basic.BasicGraphUI
Current editor for the graph.
cellEditorListener - Variable in class org.jgraph.plaf.basic.BasicGraphUI
Listens for CellEditor events.
cellExpanded(Object) - Method in class org.jgraph.graph.GraphLayoutCache
Called when a child has been made visible by expanding its parent.
cellSet - Variable in class org.jgraph.graph.GraphContext
Set of all cells including all descendants.
cellStates - Variable in class org.jgraph.graph.DefaultGraphSelectionModel
Maps the cells to their selection state.
cellViews - Variable in class org.jgraph.graph.DefaultGraphModel.GraphModelEdit
 
cellViewsChanged(CellView[]) - Method in class org.jgraph.graph.GraphLayoutCache
Invoke this method after you've changed how the cells are to be represented in the graph.
cellWillCollapse(Object) - Method in class org.jgraph.graph.GraphLayoutCache
 
cells - Variable in class org.jgraph.event.GraphSelectionEvent
Cells this event represents.
cells - Variable in class org.jgraph.graph.DefaultGraphModel.GraphModelLayerEdit
 
cells - Variable in class org.jgraph.graph.GraphContext
Reference to the cells.
cells - Variable in class org.jgraph.graph.GraphLayoutCache.GraphLayoutCacheEdit
 
cells - Variable in class org.jgraph.graph.GraphTransferable
Selected cells.
cellsChanged(Object[]) - Method in class org.jgraph.graph.DefaultGraphModel
Invoke this method after you've changed how the cells are to be represented in the graph.
change - Variable in class org.jgraph.event.GraphLayoutCacheEvent
The object that constitutes the change.
change - Variable in class org.jgraph.event.GraphModelEvent
The object that constitutes the change.
changeAttributes(GraphLayoutCache, Map) - Method in class org.jgraph.graph.AbstractCellView
Applies change to the attributes of the view and calls update.
changeAttributes(GraphLayoutCache, Map) - Method in interface org.jgraph.graph.CellView
Apply the specified map of attributes on the view.
changeAttributes(Map) - Method in class org.jgraph.graph.DefaultGraphCell
Deprecated. Use getAttributes().applyMap
changeAttributes(Map) - Method in interface org.jgraph.graph.GraphCell
Deprecated. Use getAttributes().applyMap
changeChildCount(Map, Object, int) - Method in class org.jgraph.graph.DefaultGraphModel.GraphModelEdit
 
changeSource - Variable in class org.jgraph.graph.DefaultGraphModel.GraphModelLayerEdit
 
changeSupport - Variable in class org.jgraph.graph.DefaultGraphSelectionModel
Used to message registered listeners.
changed - Variable in class org.jgraph.graph.DefaultGraphModel.GraphModelEdit
 
changed - Variable in class org.jgraph.graph.DefaultGraphModel.GraphModelLayerEdit
 
changedCells - Variable in class org.jgraph.graph.GraphLayoutCache.GraphLayoutCacheEdit
 
changedNodes - Variable in class org.jgraph.graph.ParentMap
Set of changed changedNodes for the parent map.
checkDefaultLabelPosition() - Method in class org.jgraph.graph.EdgeView
Hook for subclassers to avoid default label positions.
checkValues() - Method in class org.jgraph.util.Spline
Used to check the correctness of this spline
checkValues() - Method in class org.jgraph.util.Spline2D
Used to check the correctness of this spline
child - Variable in class org.jgraph.graph.ParentMap.Entry
Child and parent of the relation this entry describes.
childCount - Variable in class org.jgraph.graph.ParentMap
Maps parents to integers with the future number of childs.
childUpdated() - Method in class org.jgraph.graph.AbstractCellView
Indicates to parent, if any, that this child has been updated.
childUpdated() - Method in interface org.jgraph.graph.CellView
 
childViews - Variable in class org.jgraph.graph.AbstractCellView
Cached child views.
childrenSelectable - Variable in class org.jgraph.graph.DefaultGraphSelectionModel
Boolean that indicates if the model allows stepping-into groups.
childrenSelected - Variable in class org.jgraph.graph.EdgeRenderer
Boolean attributes of the current edgeview.
childrenSelected - Variable in class org.jgraph.graph.VertexRenderer
Cached hasFocus and selected value.
clearOffscreen() - Method in class org.jgraph.JGraph
Invalidate the offscreen region, do not just delete it, since if the new region is smaller than the old you may not wish to re-create the buffer
clearOffscreenDirty() - Method in class org.jgraph.JGraph
 
clearSelection() - Method in class org.jgraph.JGraph
Clears the selection.
clearSelection() - Method in class org.jgraph.graph.DefaultGraphSelectionModel
Empties the current selection.
clearSelection() - Method in interface org.jgraph.graph.GraphSelectionModel
Empties the current selection.
clone() - Method in class org.jgraph.graph.AttributeMap
Returns a clone of map, from keys to values.
clone(Map) - Method in class org.jgraph.graph.ConnectionSet
Creates a new connection set based on this connection set, where the edges, and ports are mapped using map.
clone() - Method in class org.jgraph.graph.DefaultEdge
Create a clone of the cell.
clone() - Method in class org.jgraph.graph.DefaultGraphCell
Create a clone of the cell.
clone() - Method in class org.jgraph.graph.DefaultGraphSelectionModel
Returns a clone of this object with the same selection.
clone() - Method in class org.jgraph.graph.DefaultPort
Create a clone of the cell.
clone(Map) - Method in class org.jgraph.graph.ParentMap
Creates a new parent map based on this parent map, where the child and parents are mapped using map.
cloneCell(Object) - Method in class org.jgraph.graph.DefaultGraphModel
Creates a shallow copy of the cell including a copy of the user object.
cloneCell(GraphModel, Object) - Static method in class org.jgraph.graph.DefaultGraphModel
Returns a deep clone of the specified cell, including all children.
cloneCell(GraphModel, Object[]) - Static method in class org.jgraph.graph.DefaultGraphModel
Returns a deep clone of the specified cells, including all children.
cloneCells(Object[]) - Method in class org.jgraph.JGraph
Returns a map of (cell, clone)-pairs for all cells and their children.
cloneCells(Object[]) - Method in class org.jgraph.graph.DefaultGraphModel
Returns a map of (cell, clone)-pairs for all cells.
cloneCells(Object[]) - Method in interface org.jgraph.graph.GraphModel
Returns a map of (cell, clone)-pairs for all cells and their children.
cloneEntries(AttributeMap) - Method in class org.jgraph.graph.AttributeMap
Clones special object entried in the given map.
clonePoints(Point2D[]) - Method in class org.jgraph.graph.AttributeMap
Returns a list where all instances of PortView are replaced by their correspnding Point instance.
clonePoints(List) - Method in class org.jgraph.graph.AttributeMap
Returns a list where all instances of PortView are replaced by their correspnding Point instance.
clonePoints(Object[], boolean) - Method in class org.jgraph.graph.AttributeMap
Returns a list where all instances of PortView are replaced by their correspnding Point instance.
cloneUserObject(Object) - Method in class org.jgraph.graph.DefaultGraphModel
Clones the user object.
cloneWithSource(Object) - Method in class org.jgraph.event.GraphSelectionEvent
Returns a copy of the receiver, but with the source being newSource.
cloneable - Variable in class org.jgraph.JGraph
True if the graph allows "ctrl-drag" operations.
collapse(Object[]) - Method in class org.jgraph.graph.GraphLayoutCache
Collapses all groups by hiding all their descendants.
collapseXScale - Variable in class org.jgraph.graph.GraphLayoutCache
Specified the initial x- and y-scaling factor for initial collapsed group bounds.
collapseYScale - Variable in class org.jgraph.graph.GraphLayoutCache
Specified the initial x- and y-scaling factor for initial collapsed group bounds.
completeEditing() - Method in class org.jgraph.plaf.basic.BasicGraphUI
Messages to stop the editing session.
completeEditing(boolean, boolean, boolean) - Method in class org.jgraph.plaf.basic.BasicGraphUI
Stops the editing session.
completeUIInstall() - Method in class org.jgraph.plaf.basic.BasicGraphUI
Invoked from installUI after all the defaults/listeners have been installed.
completeUIUninstall() - Method in class org.jgraph.plaf.basic.BasicGraphUI
 
componentListener - Variable in class org.jgraph.plaf.basic.BasicGraphUI
Listens for Component events.
componentMoved(ComponentEvent) - Method in class org.jgraph.plaf.basic.BasicGraphUI.ComponentHandler
 
computeBounds(MouseEvent) - Method in class org.jgraph.graph.VertexView.SizeHandle
 
connect(ConnectionSet, Object, Object, boolean, boolean) - Static method in class org.jgraph.graph.ConnectionSet
Connect or disconnect edge from source and target in cs based on disconnect.
connect(Object, Object, Object) - Method in class org.jgraph.graph.ConnectionSet
Connect edge to source and target in the connection set.
connect(Object, Object, boolean) - Method in class org.jgraph.graph.ConnectionSet
Connect edge to port passed in.
connect(Object, Object, boolean, boolean) - Method in class org.jgraph.graph.DefaultGraphModel
Connects or disconnects the edge and port in this model based on remove.
connectable - Variable in class org.jgraph.JGraph
True if the graph allows new connections to be established.
connectionSet - Variable in class org.jgraph.graph.DefaultGraphModel.GraphModelEdit
 
connections - Variable in class org.jgraph.graph.ConnectionSet
Contents of the connection set.
connections() - Method in class org.jgraph.graph.ConnectionSet
Returns an Iterator for the connections in this set.
constrainDrag(MouseEvent, double, double, double, double) - Method in class org.jgraph.plaf.basic.BasicGraphUI.RootHandle
Hook method to constrain a mouse drag
contains(Object) - Method in class org.jgraph.graph.DefaultGraphModel
Returns true if node or one of its ancestors is in the model.
contains(Object) - Method in class org.jgraph.graph.GraphContext
Returns true if node or one of its ancestors is contained in this object and visible in the original graph.
contains(Object) - Method in interface org.jgraph.graph.GraphModel
Returns true if node or one of its ancestors is in the model.
containsEdgeBetween(GraphModel, Object, Object) - Static method in class org.jgraph.graph.DefaultGraphModel
Returns true if the given vertices are conntected by a single edge in this document.
context - Variable in class org.jgraph.graph.DefaultGraphModel.GraphModelEdit
 
context - Variable in class org.jgraph.graph.GraphLayoutCache.GraphLayoutCacheEdit
 
context - Variable in class org.jgraph.graph.VertexView.SizeHandle
 
context - Variable in class org.jgraph.plaf.basic.BasicGraphUI.RootHandle
 
contextViews - Variable in class org.jgraph.graph.VertexView.SizeHandle
 
contextViews - Variable in class org.jgraph.plaf.basic.BasicGraphUI.RootHandle
 
convertRelativeLabelPositionToAbsolute(Point2D) - Method in class org.jgraph.graph.EdgeView
Converts an relative label position (x is distance along edge and y is distance above/below edge vector) into an absolute co-ordination point
convertValueToString(Object) - Method in class org.jgraph.JGraph
Converts the specified value to string.
create(GraphModel, Object[], boolean) - Static method in class org.jgraph.graph.ConnectionSet
Returns a connection set that represents the connection or disconnection of cells in model based on disconnect.
create(JGraph, Object[], Map, Rectangle2D, ConnectionSet, ParentMap) - Method in class org.jgraph.graph.GraphTransferHandler
 
create(GraphModel, Object[], boolean, boolean) - Static method in class org.jgraph.graph.ParentMap
Returns a parent map that represents the insertion or removal of cells in model based on remove.
createAttributeMap() - Method in class org.jgraph.graph.AbstractCellView
Hook for subclassers to avoid creating an empty AttributeMap during construction of the instance.
createAttributes(Object, Object, Object) - Static method in class org.jgraph.graph.GraphConstants
Overloaded method that passes arguments on as arrays
createAttributes(Object[], Object, Object) - Static method in class org.jgraph.graph.GraphConstants
Overloaded method that passes arguments on as arrays
createAttributes(Object[], Object[], Object[]) - Static method in class org.jgraph.graph.GraphConstants
Returns a new (nested) map, from cells to attribute maps.
createAttributes(Object[], CellMapper) - Static method in class org.jgraph.graph.GraphConstants
Returns a new map, from cells to property maps.
createAttributesFromModel(Object[], GraphModel) - Static method in class org.jgraph.graph.GraphConstants
 
createBounds(AttributeMap, int, int, Color) - Static method in class org.jgraph.JGraph
Returns an attributeMap for the specified position and color.
createBufferedImage(int, int) - Method in class org.jgraph.JGraph
Utility method to create a standard buffered image
createCellEditorListener() - Method in class org.jgraph.plaf.basic.BasicGraphUI
Creates a listener to handle events from the current editor.
createCellRendererPane() - Method in class org.jgraph.plaf.basic.BasicGraphUI
Returns the renderer pane that renderer components are placed in.
createComponentListener() - Method in class org.jgraph.plaf.basic.BasicGraphUI
Creates and returns a new ComponentHandler.
createConnectionSet(EdgeView, boolean) - Method in class org.jgraph.graph.EdgeView.EdgeHandle
 
createContainer() - Method in class org.jgraph.graph.DefaultGraphCellEditor
Creates the container to manage placement of editingComponent.
createContext(JGraph, Object[]) - Method in class org.jgraph.plaf.basic.BasicGraphUI
 
createEdgeView(Object) - Method in class org.jgraph.graph.DefaultCellViewFactory
Constructs an EdgeView view for the specified object.
createEdgeView(Edge) - Method in class org.jgraph.graph.DefaultCellViewFactory
Deprecated. replaced by DefaultCellViewFactory.createEdgeView(Object)since JGraph no longer exposes dependecies on GraphCell subclasses (Port, Edge)
createEdit(Object[], Object[], Map, ConnectionSet, ParentMap, UndoableEdit[]) - Method in class org.jgraph.graph.DefaultGraphModel
 
createGraphCellEditor() - Method in class org.jgraph.graph.DefaultGraphCellEditor
This is invoked if a TreeCellEditor is not supplied in the constructor.
createGraphLayoutCacheListener() - Method in class org.jgraph.plaf.basic.BasicGraphUI
Returns a listener that can update the graph when the view changes.
createGraphModelListener() - Method in class org.jgraph.plaf.basic.BasicGraphUI
Returns a listener that can update the graph when the model changes.
createGraphSelectionListener() - Method in class org.jgraph.plaf.basic.BasicGraphUI
Creates the listener that updates the display based on selection change methods.
createHandle(GraphContext) - Method in class org.jgraph.plaf.basic.BasicGraphUI
Constructs the "root handle" for context.
createKeyListener() - Method in class org.jgraph.plaf.basic.BasicGraphUI
Creates the listener reponsible for getting key events from the graph.
createLayerEdit(Object[], int) - Method in class org.jgraph.graph.DefaultGraphModel
 
createLineEnd(int, int, Point2D, Point2D) - Method in class org.jgraph.graph.EdgeRenderer
Paint the current view's direction.
createLocalEdit(Object[], Map, Object[], Object[]) - Method in class org.jgraph.graph.GraphLayoutCache
Creates a local edit for the specified change.
createMapping(Object) - Method in class org.jgraph.graph.GraphContext
 
createMouseListener() - Method in class org.jgraph.plaf.basic.BasicGraphUI
Creates the listener responsible for calling the correct handlers based on mouse events, and to select invidual cells.
createNestedMap() - Method in class org.jgraph.graph.GraphLayoutCache
Returns a nested map of (cell, map) pairs that represent all attributes of all cell views in this view.
createPoint() - Method in class org.jgraph.graph.AttributeMap
Creates a point of suitable type for this attribute map
createPoint(Point2D) - Method in class org.jgraph.graph.AttributeMap
Creates a point of suitable type for this attribute map with the same values as the point passed in
createPoint(double, double) - Method in class org.jgraph.graph.AttributeMap
Creates a point of suitable type for this attribute map with the same values as those passed in
createPortView(Object) - Method in class org.jgraph.graph.DefaultCellViewFactory
Constructs a PortView view for the specified object.
createPortView(Port) - Method in class org.jgraph.graph.DefaultCellViewFactory
Deprecated. replaced by DefaultCellViewFactory.createPortView(Object)since JGraph no longer exposes dependecies on GraphCell subclasses (Port, Edge)
createPropertyChangeListener() - Method in class org.jgraph.plaf.basic.BasicGraphUI
Creates a listener that is responsible to update the UI based on how the graph's bounds properties change.
createRect() - Method in class org.jgraph.graph.AttributeMap
Creates a rectangle of suitable type for this attribute map
createRect(double, double, double, double) - Method in class org.jgraph.graph.AttributeMap
Creates a rectangle of suitable type for this attribute map with the same values as those passed in
createRect(Point2D) - Method in class org.jgraph.graph.AttributeMap
Creates a rectangle of suitable type for this attribute map at the position of the point passed in
createRect(Point2D, double) - Method in class org.jgraph.graph.AttributeMap
Creates a rectangle of suitable type for this attribute map at the position of the point passed in with lengths size
createRect(Rectangle2D) - Method in class org.jgraph.graph.AttributeMap
Clones the rectangle passed in
createRect(double, double, double, double, double, double) - Method in class org.jgraph.graph.AttributeMap
Creates a rectangle of suitable type for this attribute map
createRect(Rectangle2D, double, double) - Method in class org.jgraph.graph.AttributeMap
Creates a clone of the rectangle passed in and manipulates it by grow1 and grow2
createRemoveEdit(Object[]) - Method in class org.jgraph.graph.DefaultGraphModel
Returns an edit that represents a remove.
createShape() - Method in class org.jgraph.graph.EdgeRenderer
Returns the shape that represents the current edge in the context of the current graph.
createTemporaryCellViews() - Method in class org.jgraph.graph.GraphContext
Returns an new consistent array of views for cells.
createTemporaryContextViews() - Method in class org.jgraph.graph.GraphContext
Returns an new consistent array of views for the edges that are connected to and not contained in cells.
createTemporaryContextViews(Set) - Method in class org.jgraph.graph.GraphContext
Returns an new consistent array of views for the edges that are connected to and not contained in cellSet.
createTemporaryPortViews() - Method in class org.jgraph.graph.GraphContext
Returns an new consistent array of views for the ports.
createTransferHandler() - Method in class org.jgraph.plaf.basic.BasicGraphUI
Creates an instance of TransferHandler.
createTransferable(JComponent) - Method in class org.jgraph.graph.GraphTransferHandler
 
createTransferable(JGraph, Object[]) - Method in class org.jgraph.graph.GraphTransferHandler
 
createTransferableForGraph(JGraph) - Method in class org.jgraph.graph.GraphTransferHandler
 
createUI(JComponent) - Static method in class org.jgraph.plaf.basic.BasicGraphUI
 
createVertexView(Object) - Method in class org.jgraph.graph.DefaultCellViewFactory
Constructs a VertexView view for the specified object.
createView(GraphModel, Object) - Method in interface org.jgraph.graph.CellViewFactory
Constructs a view for the specified cell and associates it with the specified object using the specified CellMapper.
createView(GraphModel, Object) - Method in class org.jgraph.graph.DefaultCellViewFactory
Constructs a view for the specified cell and associates it with the specified object using the specified CellMapper.
cs - Variable in class org.jgraph.graph.GraphTransferable
Object that describes the connection between cells.
current - Variable in class org.jgraph.plaf.basic.BasicGraphUI.RootHandle
 
currentIndex - Variable in class org.jgraph.graph.EdgeView.EdgeHandle
Holds the index of the current (editing) label or point.
currentLabel - Variable in class org.jgraph.graph.EdgeView.EdgeHandle
Holds the index of the current (editing) label or point.
currentPoint - Variable in class org.jgraph.graph.BasicMarqueeHandler
 
currentPoint - Variable in class org.jgraph.graph.EdgeView.EdgeHandle
 
cursors - Variable in class org.jgraph.graph.VertexView.SizeHandle
Array that holds the cursors for the different control points.

D

DASHOFFSET - Static variable in class org.jgraph.graph.GraphConstants
Key for the dashOffset attribute.
DASHPATTERN - Static variable in class org.jgraph.graph.GraphConstants
Key for the dashPattern attribute.
DEFAULTDECORATIONSIZE - Static variable in class org.jgraph.graph.GraphConstants
Default decoration size.
DEFAULTFONT - Static variable in class org.jgraph.graph.GraphConstants
Default font is derived from UIManager.getDefaults().getFont("Label.font")
DEFAULTINSET - Static variable in class org.jgraph.graph.GraphConstants
Default inset size.
DISCONNECTABLE - Static variable in class org.jgraph.graph.GraphConstants
Key for the disconnectable attribute.
DNDPREVIEW - Static variable in class org.jgraph.plaf.basic.BasicGraphUI
Controls live-preview in dragEnabled mode.
DOT_GRID_MODE - Static variable in class org.jgraph.JGraph
 
DefaultCellViewFactory - class org.jgraph.graph.DefaultCellViewFactory.
The default implementation of a cell view factory that returns the default views for vertices, edges and ports.
DefaultCellViewFactory() - Constructor for class org.jgraph.graph.DefaultCellViewFactory
 
DefaultEdge - class org.jgraph.graph.