Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
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. - AbstractCellView - Class in org.jgraph.graph
-
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.
- acceptsSource(Object, Object) - Method in class org.jgraph.graph.DefaultGraphModel
-
Returns
true
ifport
is a valid source foredge
. - acceptsSource(Object, Object) - Method in interface org.jgraph.graph.GraphModel
-
Returns
true
ifport
is a valid source foredge
. - acceptsTarget(Object, Object) - Method in class org.jgraph.graph.DefaultGraphModel
-
Returns
true
ifport
is a valid target foredge
. - acceptsTarget(Object, Object) - Method in interface org.jgraph.graph.GraphModel
-
Returns
true
ifport
is a valid target foredge
. - 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.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.
- addGraphSelectionListener(GraphSelectionListener) - Method in class org.jgraph.JGraph
-
Adds a listener for
GraphSelection
events. - 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
-
Adds the specified area to the region deemed dirty for the next double buffered redraw
- addPoint(int, Point2D) - Method in class org.jgraph.graph.EdgeView
-
Adds
p
at positionindex
. - 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.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.
- addSelectionCell(Object) - Method in class org.jgraph.JGraph
-
Adds the cell identified by the specified
Object
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.
- 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.JGraph.EmptySelectionModel
-
A
null
implementation that adds nothing. - 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
- afterEdgePaint(Graphics) - Method in class org.jgraph.graph.EdgeRenderer
-
Hook method for painting after the default painting
- 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.
- ANTIALIASED_PROPERTY - Static variable in class org.jgraph.JGraph
-
Bound property name for
antiAliased
. - 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
tovalue
- areNew - Variable in class org.jgraph.event.GraphSelectionEvent
-
For each cell identifies whether or not that cell is newly selected.
- 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.
- 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.
- AttributeMap - Class in org.jgraph.graph
-
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 in org.jgraph.graph
- AttributeMap.SerializableRectangle2D - Class in org.jgraph.graph
- 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
-
The model's own attributes as a map.
- attributes - Variable in class org.jgraph.graph.DefaultGraphModel.GraphModelEdit
- 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.
- autoscroll(JGraph, Point) - Static method in class org.jgraph.plaf.basic.BasicGraphUI
-
Scroll the graph for an event at
p
. - AUTOSIZE - Static variable in class org.jgraph.graph.GraphConstants
-
Key for the
autosize
attribute. - autoSizeOnValueChange - Variable in class org.jgraph.graph.GraphLayoutCache
-
True if the cells should be auto-sized when their values change.
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. - 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
- BasicGraphDropTargetListener - Class in org.jgraph.plaf.basic
- BasicGraphDropTargetListener() - Constructor for class org.jgraph.plaf.basic.BasicGraphDropTargetListener
-
construct a DropTargetAutoScroller
- BasicGraphTransferable - Class in org.jgraph.plaf.basic
- BasicGraphTransferable() - Constructor for class org.jgraph.plaf.basic.BasicGraphTransferable
- BasicGraphUI - Class in org.jgraph.plaf.basic
-
The basic L&F for a graph data structure.
- BasicGraphUI() - Constructor for class org.jgraph.plaf.basic.BasicGraphUI
- BasicGraphUI.CellEditorHandler - Class in org.jgraph.plaf.basic
-
Listener responsible for getting cell editing events and updating the graph accordingly.
- BasicGraphUI.ComponentHandler - Class in org.jgraph.plaf.basic
-
Updates the preferred size when scrolling (if necessary).
- BasicGraphUI.GraphDropTargetListener - Class in org.jgraph.plaf.basic
-
Graph Drop Target Listener
- BasicGraphUI.GraphIncrementAction - Class in org.jgraph.plaf.basic
-
GraphIncrementAction is used to handle up/down actions.
- BasicGraphUI.GraphLayoutCacheHandler - Class in org.jgraph.plaf.basic
-
Listens for changes in the graph view and updates the size accordingly.
- BasicGraphUI.GraphModelHandler - Class in org.jgraph.plaf.basic
-
Listens for changes in the graph model and updates the view accordingly.
- BasicGraphUI.GraphSelectionHandler - Class in org.jgraph.plaf.basic
-
Listens for changes in the selection model and updates the display accordingly.
- BasicGraphUI.KeyHandler - Class in org.jgraph.plaf.basic
-
This is used to get mutliple key down events to appropriately generate events.
- BasicGraphUI.MouseHandler - Class in org.jgraph.plaf.basic
-
TreeMouseListener is responsible for updating the selection based on mouse events.
- BasicGraphUI.MouseInputHandler - Class in org.jgraph.plaf.basic
-
MouseInputHandler handles passing all mouse events, including mouse motion events, until the mouse is released to the destination it is constructed with.
- BasicGraphUI.PropertyChangeHandler - Class in org.jgraph.plaf.basic
-
PropertyChangeListener for the graph.
- BasicGraphUI.RootHandle - Class in org.jgraph.plaf.basic
- BasicMarqueeHandler - Class in org.jgraph.graph
-
A simple implementation of a marquee handler for JGraph.
- BasicMarqueeHandler() - Constructor for class org.jgraph.graph.BasicMarqueeHandler
- beforeEdgePaint(Graphics) - Method in class org.jgraph.graph.EdgeRenderer
-
Hook method for painting prior to default painting
- 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.
- BEGINFILL - Static variable in class org.jgraph.graph.GraphConstants
-
Key for the
beginFill
attribute. - 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
- BEGINSIZE - Static variable in class org.jgraph.graph.GraphConstants
-
Key for the
beginSize
attribute. - 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.
- BENDABLE - Static variable in class org.jgraph.graph.GraphConstants
-
Key for the
bendable
attribute. - bezier - Variable in class org.jgraph.graph.EdgeRenderer
-
Cached bezier curve
- Bezier - Class in org.jgraph.util
-
Interpolates given points by a bezier curve.
- Bezier(Point2D[]) - Constructor for class org.jgraph.util.Bezier
-
Creates a new Bezier curve.
- blockPaint - Variable in class org.jgraph.plaf.basic.BasicGraphUI.RootHandle
- border - Variable in class org.jgraph.graph.DefaultGraphCellEditor.DefaultTextField
-
Border to use.
- BORDER - Static variable in class org.jgraph.graph.GraphConstants
-
Key for the
border
attribute. - bordercolor - Variable in class org.jgraph.graph.VertexRenderer
-
Cached default foreground and default background.
- borderColor - Variable in class org.jgraph.graph.EdgeRenderer
-
Color attributes of the current edgeview.
- BORDERCOLOR - Static variable in class org.jgraph.graph.GraphConstants
-
Key for the
bordercolor
attribute. - 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.
- 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
- BOUNDS - Static variable in class org.jgraph.graph.GraphConstants
-
Key for the
bounds
attribute.
C
- 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
- 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.basic.BasicGraphUI
-
Cancels all current editing sessions.
- cancelEditing(JGraph) - Method in class org.jgraph.plaf.GraphUI
-
Cancels the current editing session.
- 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
- 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.
- CellEditorHandler() - Constructor for class org.jgraph.plaf.basic.BasicGraphUI.CellEditorHandler
- 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.
- CellHandle - Interface in org.jgraph.graph
-
Defines the requirements for objects that may be used as handles.
- CellMapper - Interface in org.jgraph.graph
-
Defines the requirements for objects that may be used as a cell mapper.
- CellPlaceHolder(Object, boolean) - Constructor for class org.jgraph.graph.DefaultGraphSelectionModel.CellPlaceHolder
- 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.
- 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.
- CellView - Interface in org.jgraph.graph
-
Defines the requirements for an object that represents a view for a model cell.
- CellViewFactory - Interface in org.jgraph.graph
-
Defines the requirements for objects that may be used as a cell view factory.
- CellViewRenderer - Interface in org.jgraph.graph
-
Defines the requirements for objects that may be used as a cell view renderer.
- 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
- 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(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
- 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.
- changeChildCount(Map, Object, int) - Method in class org.jgraph.graph.DefaultGraphModel.GraphModelEdit
- 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.
- changeSource - Variable in class org.jgraph.graph.DefaultGraphModel.GraphModelLayerEdit
- changeSupport - Variable in class org.jgraph.graph.DefaultGraphSelectionModel
-
Used to message registered listeners.
- 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.
- childrenSelectable - Variable in class org.jgraph.graph.DefaultGraphSelectionModel
-
Boolean that indicates if the model allows stepping-into groups.
- CHILDRENSELECTABLE - Static variable in class org.jgraph.graph.GraphConstants
-
Key for the
childrenSelectable
attribute. - 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.
- 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.
- 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
-
Clears the region deemed dirty for the next double buffered redraw
- clearSelection() - Method in class org.jgraph.graph.DefaultGraphSelectionModel
-
Empties the current selection.
- clearSelection() - Method in interface org.jgraph.graph.GraphSelectionModel
-
Empties the current selection.
- clearSelection() - Method in class org.jgraph.JGraph
-
Clears the selection.
- clone() - Method in class org.jgraph.graph.AttributeMap
-
Returns a clone of
map
, from keys to values. - 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.ConnectionSet
-
Creates a new connection set based on this connection set, where the edges, and ports are mapped using
map
. - 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
. - cloneable - Variable in class org.jgraph.JGraph
-
True if the graph allows "ctrl-drag" operations.
- 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.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. - cloneCells(Object[]) - Method in class org.jgraph.JGraph
-
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(Object[], boolean) - 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.
- 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.
- 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
- ComponentHandler() - Constructor for class org.jgraph.plaf.basic.BasicGraphUI.ComponentHandler
- 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(Object, Object, boolean) - Method in class org.jgraph.graph.ConnectionSet
-
Connect
edge
toport
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
. - connect(Object, Object, Object) - Method in class org.jgraph.graph.ConnectionSet
-
Connect
edge
tosource
andtarget
in the connection set. - connect(ConnectionSet, Object, Object, boolean, boolean) - Static method in class org.jgraph.graph.ConnectionSet
-
Connect or disconnect
edge
fromsource
andtarget
incs
based ondisconnect
. - connectable - Variable in class org.jgraph.JGraph
-
True if the graph allows new connections to be established.
- CONNECTABLE - Static variable in class org.jgraph.graph.GraphConstants
-
Key for the
connectable
attribute. - Connection() - Constructor for class org.jgraph.graph.ConnectionSet.Connection
- Connection(Object, Object, boolean) - Constructor for class org.jgraph.graph.ConnectionSet.Connection
-
Constructs a new source or target connection between
edge
andport
based on the value ofsource
- 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. - connectionSet - Variable in class org.jgraph.graph.DefaultGraphModel.GraphModelEdit
- ConnectionSet - Class in org.jgraph.graph
-
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(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(Set) - Constructor for class org.jgraph.graph.ConnectionSet
-
Constructs a connection set containing the specified connections and updates the set of changed edges.
- ConnectionSet.Connection - Class in org.jgraph.graph
-
Object that represents the connection between an edge and a port.
- constrainDrag(MouseEvent, double, double, double, double) - Method in class org.jgraph.plaf.basic.BasicGraphUI.RootHandle
-
Hook method to constrain a mouse drag
- CONSTRAINED - Static variable in class org.jgraph.graph.GraphConstants
-
Key for the
constrained
attribute. - contains(Object) - Method in class org.jgraph.graph.DefaultGraphModel
-
Returns
true
ifnode
or one of its ancestors is in the model. - contains(Object) - Method in class org.jgraph.graph.GraphContext
-
Returns
true
ifnode
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
ifnode
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
inmodel
based ondisconnect
. - 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
inmodel
based onremove
. - create(JGraph, Object[], Map, Rectangle2D, ConnectionSet, ParentMap) - Method in class org.jgraph.graph.GraphTransferHandler
- 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
-
Returns a new (nested) map, from cells to attribute maps.
- createAttributes(Object[], Object, Object) - Static method in class org.jgraph.graph.GraphConstants
-
Overloaded method that passes arguments on as arrays
- createAttributes(Object[], CellMapper) - Static method in class org.jgraph.graph.GraphConstants
-
Returns a new map, from cells to property maps.
- createAttributes(Object, Object, Object) - Static method in class org.jgraph.graph.GraphConstants
-
Overloaded method that passes arguments on as arrays
- 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
. - createHighlight() - Method in class org.jgraph.graph.EdgeView.EdgeHandle
-
Creates the component that is used for highlighting cells if the graph does not allow XOR painting.
- 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(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
- 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
- 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(double, double, double, double, double, double) - Method in class org.jgraph.graph.AttributeMap
-
Creates a rectangle of suitable type for this attribute map
- 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(Rectangle2D, double, double) - Method in class org.jgraph.graph.AttributeMap
-
Creates a clone of the rectangle passed in and manipulates it by
grow1
andgrow2
- 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.
- 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
- createTransferHandler() - Method in class org.jgraph.plaf.basic.BasicGraphUI
-
Creates an instance of TransferHandler.
- 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.
- CROSS_GRID_MODE - Static variable in class org.jgraph.JGraph
- 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
- dash - Static variable in class org.jgraph.graph.GraphConstants
-
Global Stroke To Highlight Selection
- dashOffset - Variable in class org.jgraph.graph.EdgeRenderer
-
Contains the current dash offset.
- 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. - dataFlavor - Static variable in class org.jgraph.graph.GraphTransferable
-
Local Machine Reference Data Flavor.
- defaultBackground - Variable in class org.jgraph.graph.EdgeRenderer
-
Color attributes of the current edgeview.
- defaultBackground - Variable in class org.jgraph.graph.VertexRenderer
-
Cached default foreground and default background.
- defaultBounds - Static variable in class org.jgraph.graph.VertexView
- DefaultCellViewFactory - Class in org.jgraph.graph
-
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
- defaultCursors - Static variable in class org.jgraph.graph.VertexView
-
Array that holds the cursors for the different control points.
- DEFAULTDECORATIONSIZE - Static variable in class org.jgraph.graph.GraphConstants
-
Default decoration size.
- defaultDropTargetListener - Variable in class org.jgraph.plaf.basic.BasicGraphUI
-
The default DropTargetListener.
- DefaultEdge - Class in org.jgraph.graph
-
A simple implementation for an edge.
- DefaultEdge() - Constructor for class org.jgraph.graph.DefaultEdge
-
Constructs an empty edge.
- DefaultEdge(Object) - Constructor for class org.jgraph.graph.DefaultEdge
-
Constructs an edge that holds a reference to the specified user object.
- DefaultEdge(Object, AttributeMap) - Constructor for class org.jgraph.graph.DefaultEdge
-
Constructs an edge that holds a reference to the specified user object and sets default values for points and the label position.
- DefaultEdge.DefaultRouting - Class in org.jgraph.graph
- DefaultEdge.LoopRouting - Class in org.jgraph.graph
- DEFAULTFONT - Static variable in class org.jgraph.graph.GraphConstants
-
Default font is derived from UIManager.getDefaults().getFont("Label.font")
- defaultForeground - Variable in class org.jgraph.graph.EdgeRenderer
-
Color attributes of the current edgeview.
- defaultForeground - Variable in class org.jgraph.graph.VertexRenderer
-
Cached default foreground and default background.
- DefaultGraphCell - Class in org.jgraph.graph
-
The default implementation for the GraphCell interface.
- DefaultGraphCell() - Constructor for class org.jgraph.graph.DefaultGraphCell
-
Creates an empty cell.
- DefaultGraphCell(Object) - Constructor for class org.jgraph.graph.DefaultGraphCell
-
Creates a graph cell and initializes it with the specified user object.
- DefaultGraphCell(Object, AttributeMap) - Constructor for class org.jgraph.graph.DefaultGraphCell
-
Constructs a cell that holds a reference to the specified user object and contains the specified array of children and sets default values for the bounds attribute.
- DefaultGraphCell(Object, AttributeMap, MutableTreeNode[]) - Constructor for class org.jgraph.graph.DefaultGraphCell
-
Creates a graph cell and initializes it with the specified user object.
- DefaultGraphCellEditor - Class in org.jgraph.graph
- DefaultGraphCellEditor() - Constructor for class org.jgraph.graph.DefaultGraphCellEditor
-
Constructs a DefaultTreeCellEditor object for a JGraph using the specified renderer and a default editor.
- DefaultGraphCellEditor(GraphCellEditor) - Constructor for class org.jgraph.graph.DefaultGraphCellEditor
-
Constructs a DefaultTreeCellEditor object for a JTree using the specified renderer and the specified editor.
- DefaultGraphCellEditor.DefaultTextField - Class in org.jgraph.graph
-
TextField used when no editor is supplied.
- DefaultGraphCellEditor.EditorContainer - Class in org.jgraph.graph
-
Container responsible for placing the editingComponent.
- DefaultGraphModel - Class in org.jgraph.graph
-
The default implementation of a graph model.
- DefaultGraphModel() - Constructor for class org.jgraph.graph.DefaultGraphModel
-
Constructs a model that is not an attribute store.
- DefaultGraphModel(List, AttributeMap) - Constructor for class org.jgraph.graph.DefaultGraphModel
-
Constructs a model that is not an attribute store.
- DefaultGraphModel(List, AttributeMap, ConnectionSet) - Constructor for class org.jgraph.graph.DefaultGraphModel
-
Constructs a model using the specified information to construct the cells, attributes and connection data.
- DefaultGraphModel.EmptyIterator - Class in org.jgraph.graph
- DefaultGraphModel.GraphModelEdit - Class in org.jgraph.graph
-
An implementation of GraphModelChange that can be added to the model event.
- DefaultGraphModel.GraphModelLayerEdit - Class in org.jgraph.graph
-
An implementation of GraphViewChange.
- DefaultGraphSelectionModel - Class in org.jgraph.graph
-
Default implementation of GraphSelectionModel.
- DefaultGraphSelectionModel(JGraph) - Constructor for class org.jgraph.graph.DefaultGraphSelectionModel
-
Constructs a DefaultGraphSelectionModel for the specified graph.
- DefaultGraphSelectionModel.CellPlaceHolder - Class in org.jgraph.graph
-
Holds a path and whether or not it is new.
- DEFAULTINSET - Static variable in class org.jgraph.graph.GraphConstants
-
Default inset size.
- DefaultPort - Class in org.jgraph.graph
-
A simple implementation for a port.
- DefaultPort() - Constructor for class org.jgraph.graph.DefaultPort
-
Constructs an empty port.
- DefaultPort(Object) - Constructor for class org.jgraph.graph.DefaultPort
-
Constructs a port that holds a reference to the specified user object.
- DefaultPort(Object, Port) - Constructor for class org.jgraph.graph.DefaultPort
-
Constructs a port that holds a reference to the specified user object and a reference to the specified anchor.
- DefaultRealEditor - Class in org.jgraph.graph
-
The default editor for graph cells.
- DefaultRealEditor(JCheckBox) - Constructor for class org.jgraph.graph.DefaultRealEditor
-
Constructs a DefaultCellEditor object that uses a check box.
- DefaultRealEditor(JComboBox) - Constructor for class org.jgraph.graph.DefaultRealEditor
-
Constructs a DefaultCellEditor object that uses a combo box.
- DefaultRealEditor(JTextField) - Constructor for class org.jgraph.graph.DefaultRealEditor
-
Constructs a DefaultCellEditor that uses a text field.
- DefaultRouting() - Constructor for class org.jgraph.graph.DefaultEdge.DefaultRouting
- DefaultTextField(Border) - Constructor for class org.jgraph.graph.DefaultGraphCellEditor.DefaultTextField
-
Constructs a DefaultTreeCellEditor$DefaultTextField object.
- defaultTransferHandler - Variable in class org.jgraph.plaf.basic.BasicGraphUI
-
The default TransferHandler.
- deselect(Object) - Method in class org.jgraph.graph.DefaultGraphSelectionModel
-
Deselects a single cell and updates all datastructures.
- destination - Variable in class org.jgraph.plaf.basic.BasicGraphUI.MouseInputHandler
-
Destination that receives all events.
- determineOffset(JGraph, Object, boolean) - Method in class org.jgraph.graph.DefaultGraphCellEditor
- diff(Map) - Method in class org.jgraph.graph.AttributeMap
-
Returns a new map that contains all (key, value)-pairs of
newState
where either key is not used or value is different for key inoldState
. - direction - Variable in class org.jgraph.plaf.basic.BasicGraphUI.GraphIncrementAction
-
Specifies the direction to adjust the selection by.
- dirtyRegion - Variable in class org.jgraph.graph.DefaultGraphModel.GraphModelEdit
-
The dirty region of the change prior to it happening
- dirtyRegion - Variable in class org.jgraph.graph.GraphLayoutCache.GraphLayoutCacheEdit
-
The dirty region associated with this event prior to the change
- disconnect - Variable in class org.jgraph.plaf.basic.BasicGraphUI.RootHandle
- disconnect(Object) - Method in class org.jgraph.graph.ConnectionSet
-
Disconnect
edge
fromsource
andtarget
in the connection set. - disconnect(Object, boolean) - Method in class org.jgraph.graph.ConnectionSet
-
Disconnect
edge
fromport
. - disconnect(CellView[]) - Method in class org.jgraph.graph.GraphContext
-
Disconnects the edges in
cells
from the sources and targets that are not in this context and returns a ConnectionSet that defines the disconnection. - disconnectable - Variable in class org.jgraph.JGraph
-
True if the graph allows existing connections to be removed.
- DISCONNECTABLE - Static variable in class org.jgraph.graph.GraphConstants
-
Key for the
disconnectable
attribute. - disconnectOnMove - Variable in class org.jgraph.JGraph
-
True if selected edges are disconnected from unselected vertices on move.
- DNDPREVIEW - Static variable in class org.jgraph.plaf.basic.BasicGraphUI
-
Controls live-preview in dragEnabled mode.
- doLayout() - Method in class org.jgraph.graph.DefaultGraphCellEditor.EditorContainer
-
Lays out this Container.
- DOT_GRID_MODE - Static variable in class org.jgraph.JGraph
- dragEnabled - Variable in class org.jgraph.JGraph
-
True if Drag-and-Drop should be used for move operations.
- dragEnter(DropTargetDragEvent) - Method in class org.jgraph.plaf.basic.BasicGraphDropTargetListener
- dragEnter(DropTargetDragEvent) - Method in class org.jgraph.plaf.basic.BasicGraphUI.GraphDropTargetListener
- dragExit(DropTargetEvent) - Method in class org.jgraph.plaf.basic.BasicGraphDropTargetListener
- dragOver(DropTargetDragEvent) - Method in class org.jgraph.plaf.basic.BasicGraphDropTargetListener
- drawGraph(Graphics, Rectangle2D) - Method in class org.jgraph.plaf.basic.BasicGraphUI
-
Draws the graph to the specified graphics object within the specified clip bounds, if any
- drawImage(int, int, int, int, int, int, int, int) - Method in class org.jgraph.JGraph
-
Utility method to draw the off screen buffer
- drawImage(Graphics) - Method in class org.jgraph.JGraph
- drop(DropTargetDropEvent) - Method in class org.jgraph.plaf.basic.BasicGraphDropTargetListener
- dropAction - Variable in class org.jgraph.plaf.basic.BasicGraphUI
-
Needed to exchange information between DropTargetHandler and TransferHandler.
- dropActionChanged(DropTargetDragEvent) - Method in class org.jgraph.plaf.basic.BasicGraphDropTargetListener
- dropActionChanged(DropTargetDragEvent) - Method in class org.jgraph.plaf.basic.BasicGraphUI.GraphDropTargetListener
- dropEnabled - Variable in class org.jgraph.JGraph
-
True if the graph accepts transfers from other components (graphs).
- dropTarget - Variable in class org.jgraph.plaf.basic.BasicGraphUI
-
The drop target where the default listener was last installed.
E
- edge - Variable in class org.jgraph.graph.ConnectionSet.Connection
-
The edge that will be connected to the port.
- edge - Variable in class org.jgraph.graph.EdgeView.EdgeHandle
- Edge - Interface in org.jgraph.graph
-
Defines the requirements for an object that represents an Edge in a GraphModel.
- Edge.Routing - Interface in org.jgraph.graph
- EdgeHandle(EdgeView, GraphContext) - Constructor for class org.jgraph.graph.EdgeView.EdgeHandle
- edgeLabelsMovable - Variable in class org.jgraph.JGraph
-
True if the labels on edges may be moved.
- edgeModified - Variable in class org.jgraph.graph.EdgeView.EdgeHandle
-
Indicates whether the edge has been modified during the last mouse pressed and dragged operations.
- EdgeRenderer - Class in org.jgraph.graph
-
This renderer displays entries that implement the CellView interface.
- EdgeRenderer() - Constructor for class org.jgraph.graph.EdgeRenderer
-
Constructs a renderer that may be used to render edges.
- edges - Variable in class org.jgraph.graph.ConnectionSet
-
Set of changed edges for the connection set.
- edges - Variable in class org.jgraph.graph.DefaultPort
-
Edges that are connected to the port
- edges() - Method in class org.jgraph.graph.DefaultPort
-
Returns an iterator of the edges connected to the port.
- edges() - Method in interface org.jgraph.graph.Port
-
Returns an iterator of the edges connected to the port.
- edges(Object) - Method in class org.jgraph.graph.DefaultGraphModel
-
Returns an iterator of the edges connected to
port
. - edges(Object) - Method in interface org.jgraph.graph.GraphModel
-
Returns an iterator of the edges connected to
port
. - EdgeView - Class in org.jgraph.graph
-
The default implementation of an edge view.
- EdgeView() - Constructor for class org.jgraph.graph.EdgeView
-
Constructs an empty edge view.
- EdgeView(Object) - Constructor for class org.jgraph.graph.EdgeView
-
Constructs an edge view for the specified model object.
- EdgeView.EdgeHandle - Class in org.jgraph.graph
- edit(Object[], Object[], Map, ConnectionSet, ParentMap, UndoableEdit[]) - Method in class org.jgraph.graph.DefaultGraphModel
-
Applies
attributes
and the connection changes to the model. - edit(Object[], Map) - Method in class org.jgraph.graph.GraphLayoutCache
-
Applies the
attributes
to allcells
by creating a map that contains the attributes for each cell and passing it to edit on this layout cache. - edit(Map) - Method in class org.jgraph.graph.GraphLayoutCache
-
A shortcut method that takes a nested map and passes it to the edit method.
- edit(Map, ConnectionSet, ParentMap, UndoableEdit[]) - Method in class org.jgraph.graph.DefaultGraphModel
-
Shortcut to the new edit method which allows inserts and removes to go along with an edit.
- edit(Map, ConnectionSet, ParentMap, UndoableEdit[]) - Method in class org.jgraph.graph.GraphLayoutCache
-
Applies the
propertyMap
and the connection changes to the model. - edit(Map, ConnectionSet, ParentMap, UndoableEdit[]) - Method in interface org.jgraph.graph.GraphModel
-
Applies the
propertyMap
and the connection changes to the model. - editable - Variable in class org.jgraph.JGraph
-
True if the graph allows editing the value of a cell.
- EDITABLE - Static variable in class org.jgraph.graph.GraphConstants
-
Key for the
editable
attribute. - EDITABLE_PROPERTY - Static variable in class org.jgraph.JGraph
-
Bound property name for
editable
. - editCell(Object, Map) - Method in class org.jgraph.graph.GraphLayoutCache
-
Applies the
attributes
to a singlecell
by creating a map that contains the attributes for this cell and passing it to edit on this layout cache. - editClickCount - Variable in class org.jgraph.JGraph
-
Number of clicks for editing to start.
- editing - Variable in class org.jgraph.graph.EdgeView.EdgeHandle
-
True if the cell is being edited.
- editing - Variable in class org.jgraph.graph.VertexView.SizeHandle
-
True if the cell is being edited.
- editingCanceled(ChangeEvent) - Method in class org.jgraph.plaf.basic.BasicGraphUI.CellEditorHandler
-
Messaged when editing has been canceled in the graph.
- editingCell - Variable in class org.jgraph.plaf.basic.BasicGraphUI
-
Path that is being edited.
- editingComponent - Variable in class org.jgraph.graph.DefaultGraphCellEditor
-
Component used in editing, obtained from the editingContainer.
- editingComponent - Variable in class org.jgraph.plaf.basic.BasicGraphUI
-
When editing, this will be the Component that is doing the actual editing.
- editingContainer - Variable in class org.jgraph.graph.DefaultGraphCellEditor
-
Editing container, will contain the editorComponent.
- editingIcon - Variable in class org.jgraph.graph.DefaultGraphCellEditor
-
Icon to use when editing.
- editingStopped(ChangeEvent) - Method in class org.jgraph.plaf.basic.BasicGraphUI.CellEditorHandler
-
Messaged when editing has stopped in the graph.
- EditorContainer() - Constructor for class org.jgraph.graph.DefaultGraphCellEditor.EditorContainer
-
Constructs an EditorContainer object.
- editorHasDifferentSize - Variable in class org.jgraph.plaf.basic.BasicGraphUI
-
Set to true if the editor has a different size than the renderer.
- editToBeRedone(Object) - Method in class org.jgraph.graph.GraphUndoManager
- editToBeUndone(Object) - Method in class org.jgraph.graph.GraphUndoManager
- emptyAttributeMap - Static variable in class org.jgraph.graph.AttributeMap
-
Shared empty attribute map to return instead of null in applyMap.
- emptyIterator - Variable in class org.jgraph.graph.DefaultGraphModel
-
Default instance of an empty iterator.
- EmptyIterator() - Constructor for class org.jgraph.graph.DefaultGraphModel.EmptyIterator
- EmptySelectionModel() - Constructor for class org.jgraph.JGraph.EmptySelectionModel
-
A
null
implementation that constructs an EmptySelectionModel. - enabled - Variable in class org.jgraph.JGraph
-
True if the graph allows interactions.
- endDeco - Variable in class org.jgraph.graph.EdgeRenderer
-
Painting attributes of the current edgeview
- endFill - Variable in class org.jgraph.graph.EdgeRenderer
-
Boolean attributes of the current edgeview.
- ENDFILL - Static variable in class org.jgraph.graph.GraphConstants
-
Key for the
endFill
attribute. - endShape - Variable in class org.jgraph.graph.EdgeView
-
Drawing attributes that are created on the fly
- endSize - Variable in class org.jgraph.graph.EdgeRenderer
-
Painting attributes of the current edgeview
- ENDSIZE - Static variable in class org.jgraph.graph.GraphConstants
-
Key for the
endSize
attribute. - endUpdate() - Method in class org.jgraph.graph.DefaultGraphModel
- endUpdate() - Method in interface org.jgraph.graph.GraphModel
-
Indicates the end of the current level of an executable change
- entries - Variable in class org.jgraph.graph.ParentMap
-
Contents of the parent map.
- entries() - Method in class org.jgraph.graph.ParentMap
-
Returns an
Iterator
for the entries in the map. - Entry(Object, Object) - Constructor for class org.jgraph.graph.ParentMap.Entry
-
Constructs a new relation between
child
andparent
. - equals(Object) - Method in class org.jgraph.graph.ConnectionSet.Connection
-
Two connections are equal if they represent the source or target of the same edge.
- EXACTSEGMENTRELATIVE - Static variable in class org.jgraph.graph.GraphConstants
-
Key for the
labelEnabled
attribute. - ExecutableChange - Class in org.jgraph.graph
-
The interface executable changes must adhere to
- ExecutableChange() - Constructor for class org.jgraph.graph.ExecutableChange
- execute() - Method in class org.jgraph.graph.DefaultGraphModel.GraphModelEdit
-
Execute this edit such that the next invocation to this method will invert the last execution.
- execute() - Method in class org.jgraph.graph.DefaultGraphModel.GraphModelLayerEdit
-
Execute this edit such that the next invocation to this method will invert the last execution.
- execute() - Method in class org.jgraph.graph.ExecutableChange
- execute() - Method in class org.jgraph.graph.GraphLayoutCache.GraphLayoutCacheEdit
-
Execute this edit such that the next invocation to this method will invert the last execution.
- execute(ExecutableChange) - Method in class org.jgraph.graph.DefaultGraphModel
- execute(ExecutableChange) - Method in interface org.jgraph.graph.GraphModel
-
Executes the specified executable change on this graph model
- expand(Object[]) - Method in class org.jgraph.graph.GraphLayoutCache
-
Expands all groups by showing all children.
- exportDone(JComponent, Transferable, int) - Method in class org.jgraph.graph.GraphTransferHandler
- extraLabelFont - Variable in class org.jgraph.graph.EdgeRenderer
-
Override this if you want the extra labels to appear in a special fontJ
- extraLabelLocations - Variable in class org.jgraph.graph.EdgeView.EdgeHandle
- extraLabelPositions - Variable in class org.jgraph.graph.EdgeView
- EXTRALABELPOSITIONS - Static variable in class org.jgraph.graph.GraphConstants
-
Key for the
extraLabelPositions
attribute. - EXTRALABELS - Static variable in class org.jgraph.graph.GraphConstants
-
Key for the
extraLabels
attribute.
F
- factory - Variable in class org.jgraph.graph.GraphLayoutCache
-
Factory to create the views.
- filterParents(Map, int) - Method in class org.jgraph.graph.DefaultGraphModel.GraphModelEdit
- findUnselectedInnermostGroup(double, double) - Method in class org.jgraph.plaf.basic.BasicGraphUI.RootHandle
-
Used for move into group to find the target group.
- findViewForPoint(Point2D) - Method in class org.jgraph.plaf.basic.BasicGraphUI.RootHandle
-
Hook for subclassers to return a different view for a mouse click at
pt
. - fireGraphChanged(Object, GraphModelEvent.GraphModelChange) - Method in class org.jgraph.graph.DefaultGraphModel
- fireGraphLayoutCacheChanged(Object, GraphLayoutCacheEvent.GraphLayoutCacheChange) - Method in class org.jgraph.graph.GraphLayoutCache
- firePropertyChange(String, boolean, boolean) - Method in class org.jgraph.graph.EdgeRenderer
-
Overridden for performance reasons.
- firePropertyChange(String, boolean, boolean) - Method in class org.jgraph.graph.PortRenderer
-
Overridden for performance reasons.
- firePropertyChange(String, boolean, boolean) - Method in class org.jgraph.graph.VertexRenderer
-
Overridden for performance reasons.
- firePropertyChange(String, byte, byte) - Method in class org.jgraph.graph.EdgeRenderer
-
Overridden for performance reasons.
- firePropertyChange(String, byte, byte) - Method in class org.jgraph.graph.PortRenderer
-
Overridden for performance reasons.
- firePropertyChange(String, byte, byte) - Method in class org.jgraph.graph.VertexRenderer
-
Overridden for performance reasons.
- firePropertyChange(String, char, char) - Method in class org.jgraph.graph.EdgeRenderer
-
Overridden for performance reasons.
- firePropertyChange(String, char, char) - Method in class org.jgraph.graph.PortRenderer
-
Overridden for performance reasons.
- firePropertyChange(String, char, char) - Method in class org.jgraph.graph.VertexRenderer
-
Overridden for performance reasons.
- firePropertyChange(String, double, double) - Method in class org.jgraph.graph.EdgeRenderer
-
Overridden for performance reasons.
- firePropertyChange(String, double, double) - Method in class org.jgraph.graph.PortRenderer
-
Overridden for performance reasons.
- firePropertyChange(String, double, double) - Method in class org.jgraph.graph.VertexRenderer
-
Overridden for performance reasons.
- firePropertyChange(String, float, float) - Method in class org.jgraph.graph.EdgeRenderer
-
Overridden for performance reasons.
- firePropertyChange(String, float, float) - Method in class org.jgraph.graph.PortRenderer
-
Overridden for performance reasons.
- firePropertyChange(String, float, float) - Method in class org.jgraph.graph.VertexRenderer
-
Overridden for performance reasons.
- firePropertyChange(String, int, int) - Method in class org.jgraph.graph.EdgeRenderer
-
Overridden for performance reasons.
- firePropertyChange(String, int, int) - Method in class org.jgraph.graph.PortRenderer
-
Overridden for performance reasons.
- firePropertyChange(String, int, int) - Method in class org.jgraph.graph.VertexRenderer
-
Overridden for performance reasons.
- firePropertyChange(String, long, long) - Method in class org.jgraph.graph.EdgeRenderer
-
Overridden for performance reasons.
- firePropertyChange(String, long, long) - Method in class org.jgraph.graph.PortRenderer
-
Overridden for performance reasons.
- firePropertyChange(String, long, long) - Method in class org.jgraph.graph.VertexRenderer
-
Overridden for performance reasons.
- firePropertyChange(String, short, short) - Method in class org.jgraph.graph.EdgeRenderer
-
Overridden for performance reasons.
- firePropertyChange(String, short, short) - Method in class org.jgraph.graph.PortRenderer
-
Overridden for performance reasons.
- firePropertyChange(String, short, short) - Method in class org.jgraph.graph.VertexRenderer
-
Overridden for performance reasons.
- firePropertyChange(String, Object, Object) - Method in class org.jgraph.graph.EdgeRenderer
-
Overridden for performance reasons.
- firePropertyChange(String, Object, Object) - Method in class org.jgraph.graph.PortRenderer
-
Overridden for performance reasons.
- firePropertyChange(String, Object, Object) - Method in class org.jgraph.graph.VertexRenderer
-
Overridden for performance reasons.
- fireValueChanged(GraphSelectionEvent) - Method in class org.jgraph.graph.DefaultGraphSelectionModel
-
Notifies all listeners that are registered for tree selection events on this object.
- fireValueChanged(GraphSelectionEvent) - Method in class org.jgraph.JGraph
-
Notifies all listeners that have registered interest for notification on this event type.
- firstDrag - Variable in class org.jgraph.graph.VertexView.SizeHandle
- firstDrag - Variable in class org.jgraph.plaf.basic.BasicGraphUI.RootHandle
- firstOverlayCall - Variable in class org.jgraph.graph.EdgeView.EdgeHandle
- firstOverlayInvocation - Variable in class org.jgraph.graph.VertexView.SizeHandle
- focus - Variable in class org.jgraph.graph.EdgeRenderer
-
Boolean attributes of the current edgeview.
- focus - Variable in class org.jgraph.plaf.basic.BasicGraphUI
-
The focused cell under the mousepointer and the last focused cell.
- font - Variable in class org.jgraph.graph.DefaultGraphCellEditor
-
Font to paint with, null indicates font of renderer is to be used.
- FONT - Static variable in class org.jgraph.graph.GraphConstants
-
Key for the
font
attribute. - fontColor - Variable in class org.jgraph.graph.EdgeRenderer
-
Color attributes of the current edgeview.
- fontGraphics - Static variable in class org.jgraph.graph.EdgeRenderer
-
Static Graphics used for Font Metrics
- FOREGROUND - Static variable in class org.jgraph.graph.GraphConstants
-
Key for the
foreground
attribute. - fromScreen(Point2D) - Method in class org.jgraph.JGraph
-
Downscale the given point in place, using the given instance.
- fromScreen(Rectangle2D) - Method in class org.jgraph.JGraph
-
Downscale the given rectangle in place, using the given instance.
- FRONT - Static variable in class org.jgraph.graph.DefaultGraphModel.GraphModelLayerEdit
G
- getAbsoluteExtraLabelPosition(int) - Method in class org.jgraph.graph.EdgeView
-
Returns the absolute position of the specified extra label
- getAbsoluteLabelPosition() - Method in class org.jgraph.graph.EdgeView
-
Returns the absolute position of the main label
- getAbsoluteLabelPositionFromRelative(Point2D) - Method in class org.jgraph.graph.EdgeView
-
Converts relative label position to absolute and allows for any label offset.
- getAll(GraphModel) - Static method in class org.jgraph.graph.DefaultGraphModel
-
Returns all cells of the model in an array.
- getAllAttributes() - Method in class org.jgraph.graph.AbstractCellView
-
Returns the attributes of the view combined with the attributes of the corresponding cell.
- getAllAttributes() - Method in interface org.jgraph.graph.CellView
- getAllDescendants(CellView[]) - Method in class org.jgraph.graph.GraphLayoutCache
-
Returns all views, including descendants that have a parent in
views
, especially the PortViews. - getAllViews() - Method in class org.jgraph.graph.GraphLayoutCache
-
Returns all views, shortcut to getAllDescendants(getRoots())
- getAnchor() - Method in class org.jgraph.graph.DefaultPort
-
Returns the anchor of this port.
- getAnchor() - Method in interface org.jgraph.graph.Port
-
Returns the anchor of the port.
- getAttributeMap() - Method in class org.jgraph.graph.GraphTransferable
-
Returns a map of (GraphCell, Map)-pairs that represent the view attributes for the respecive cells.
- getAttributes() - Method in interface org.jgraph.event.GraphLayoutCacheEvent.GraphLayoutCacheChange
-
Returns a map that contains (object, map) pairs which holds the new attributes for each changed cell.
- getAttributes() - Method in class org.jgraph.graph.AbstractCellView
-
Return the attributes of the view.
- getAttributes() - Method in interface org.jgraph.graph.CellView
-
Returns all attributes of the view as a map.
- getAttributes() - Method in class org.jgraph.graph.DefaultGraphCell
-
Returns the properies of the cell.
- getAttributes() - Method in class org.jgraph.graph.DefaultGraphModel
-
Returns the graph model's attribute.
- getAttributes() - Method in class org.jgraph.graph.DefaultGraphModel.GraphModelEdit
-
Returns a map of (object, view attributes).
- getAttributes() - Method in class org.jgraph.graph.DefaultGraphModel.GraphModelLayerEdit
-
Returns null.
- getAttributes() - Method in interface org.jgraph.graph.GraphCell
-
Returns the
attributes
of the cell. - getAttributes() - Method in class org.jgraph.graph.GraphLayoutCache.GraphLayoutCacheEdit
-
Returns a map of (cell view, attribute) pairs.
- getAttributes(Object) - Method in class org.jgraph.graph.DefaultGraphModel
-
Returns a
Map
that represents the attributes for the specified cell. - getAttributes(Object) - Method in interface org.jgraph.graph.GraphModel
-
Returns a
AttributeMap
that represents the properties for the specified cell. - getAttributes(Object) - Method in class org.jgraph.JGraph
-
Returns the attributes for the specified cell.
- getBackground(Map) - Static method in class org.jgraph.graph.GraphConstants
-
Returns the background attribute from the specified map.
- getBackgroundComponent() - Method in class org.jgraph.JGraph
- getBackgroundImage() - Method in class org.jgraph.JGraph
-
Returns the background image.
- getBeginSize(Map) - Static method in class org.jgraph.graph.GraphConstants
-
Returns the beginsize attribute from the specified map.
- getBorder() - Method in class org.jgraph.graph.DefaultGraphCellEditor.DefaultTextField
-
Overrides
JComponent.getBorder
to returns the current border. - getBorder(Map) - Static method in class org.jgraph.graph.GraphConstants
-
Returns the border attribute from the specified map.
- getBorderColor(Map) - Static method in class org.jgraph.graph.GraphConstants
-
Returns the bordercolor attribute from the specified map.
- getBorderSelectionColor() - Method in class org.jgraph.graph.DefaultGraphCellEditor
-
Returns the color the border is drawn.
- getBounds() - Method in class org.jgraph.graph.AbstractCellView
-
Returns the cached bounds for the group if isleaf is false
- getBounds() - Method in interface org.jgraph.graph.CellView
-
Returns the bounds for the view.
- getBounds() - Method in class org.jgraph.graph.EdgeView
-
Returns the location for this edgeview.
- getBounds() - Method in class org.jgraph.graph.GraphTransferable
- getBounds() - Method in class org.jgraph.graph.PortView
-
Returns the bounds for the port view.
- getBounds() - Method in class org.jgraph.graph.VertexView
-
Returns the cached bounds for the vertex.
- getBounds(Map) - Static method in class org.jgraph.graph.GraphConstants
-
Returns the bounds attribute from the specified map.
- getBounds(CellView) - Method in class org.jgraph.graph.EdgeRenderer
-
Returns the bounds of the edge shape.
- getBounds(CellView[]) - Static method in class org.jgraph.graph.AbstractCellView
-
Returns the bounding box for the specified views.
- getBounds(CellView[]) - Static method in class org.jgraph.graph.GraphLayoutCache
-
Returns the bounding box for the specified cell views.
- getCachedBounds() - Method in class org.jgraph.graph.VertexView
- getCell() - Method in class org.jgraph.event.GraphSelectionEvent
-
Returns the first cell.
- getCell() - Method in class org.jgraph.graph.AbstractCellView
-
Returns the model object that this view represents.
- getCell() - Method in interface org.jgraph.graph.CellView
-
Returns the model object that this view represents.
- getCell() - Method in class org.jgraph.graph.DefaultGraphSelectionModel.CellPlaceHolder
-
Returns the cell.
- getCellAttributes(GraphModel) - Method in class org.jgraph.graph.AbstractCellView
-
Hook for subclassers to avoid cloning the cell's attributes.
- getCellBounds(Object) - Method in class org.jgraph.JGraph
-
Returns the bounding rectangle of the specified cell.
- getCellBounds(Object[]) - Method in class org.jgraph.JGraph
-
Returns the bounding rectangle of the specified cells.
- getCellEditorValue() - Method in class org.jgraph.graph.DefaultGraphCellEditor
-
Returns the value currently being edited.
- getCells() - Method in class org.jgraph.event.GraphSelectionEvent
-
Returns the cells that have been added or removed from the selection.
- getCells() - Method in class org.jgraph.graph.GraphContext
-
Returns the array that was passed to the constructor.
- getCells() - Method in class org.jgraph.graph.GraphTransferable
-
Returns the
cells
that represent the selection. - getCells(boolean, boolean, boolean, boolean) - Method in class org.jgraph.graph.GraphLayoutCache
-
A helper method to return various arrays of cells that are visible in this cache.
- getCells(CellView[]) - Method in class org.jgraph.graph.GraphLayoutCache
-
Takes an array of views and returns the array of the corresponding cells by using
getCell
for each view. - getCellViews() - Method in class org.jgraph.graph.GraphLayoutCache
- getCenterPoint() - Method in class org.jgraph.graph.VertexView
-
Deprecated.replaced by
AbstractCellView.getCenterPoint(CellView vertex)
- getCenterPoint() - Method in class org.jgraph.JGraph
-
Returns the center of the component relative to the parent viewport's position.
- getCenterPoint(CellView) - Static method in class org.jgraph.graph.AbstractCellView
- getChange() - Method in class org.jgraph.event.GraphLayoutCacheEvent
-
Returns the object that constitutes the change.
- getChange() - Method in class org.jgraph.event.GraphModelEvent
-
Returns the object that constitutes the change.
- getChanged() - Method in interface org.jgraph.event.GraphLayoutCacheEvent.GraphLayoutCacheChange
-
Returns the cells that have changed.
- getChanged() - Method in class org.jgraph.graph.DefaultGraphModel.GraphModelEdit
-
Returns the cells that have changed.
- getChanged() - Method in class org.jgraph.graph.DefaultGraphModel.GraphModelLayerEdit
-
Returns the cells that have changed.
- getChanged() - Method in class org.jgraph.graph.GraphLayoutCache.GraphLayoutCacheEdit
-
Returns the cell views that have changed.
- getChangedEdges() - Method in class org.jgraph.graph.ConnectionSet
-
Deprecated.Use getEdges
- getChangedNodes() - Method in class org.jgraph.graph.ParentMap
-
Returns a
Set
for the nodes, childs and parents, in this parent map. - getChild() - Method in class org.jgraph.graph.ParentMap.Entry
-
Returns the child of the relation.
- getChild(Object, int) - Method in class org.jgraph.graph.DefaultGraphModel
-
Returns the child of parent at index index in the parent's child array.
- getChild(Object, int) - Method in interface org.jgraph.graph.GraphModel
-
Returns the child of parent at index index in the parent's child array.
- getChildCount(Object) - Method in class org.jgraph.graph.DefaultGraphModel
-
Returns the number of children of parent .
- getChildCount(Object) - Method in interface org.jgraph.graph.GraphModel
-
Returns the number of children of parent .
- getChildPort(Object, boolean) - Method in class org.jgraph.graph.GraphLayoutCache
-
Hook for subclassers to return the port to be used for edges that have been connected to the group.
- getChildren() - Method in class org.jgraph.graph.DefaultGraphCell
-
Provides access to the children list to change ordering.
- getChildViews() - Method in class org.jgraph.graph.AbstractCellView
-
Returns the child views of this view.
- getChildViews() - Method in interface org.jgraph.graph.CellView
-
Returns the child views of this view.
- getClipRectangle(GraphLayoutCacheEvent.GraphLayoutCacheChange) - Method in class org.jgraph.JGraph
-
Calculates the clip
- getCollapseXScale() - Method in class org.jgraph.graph.GraphLayoutCache
- getCollapseYScale() - Method in class org.jgraph.graph.GraphLayoutCache
- getConnections() - Method in class org.jgraph.graph.ConnectionSet
- getConnectionSet() - Method in interface org.jgraph.event.GraphModelEvent.GraphModelChange
-
Returns a connection set representing the graph structure after the change was applied
- getConnectionSet() - Method in class org.jgraph.graph.DefaultGraphModel
-
A shortcut method to create a connection set that represents the connections in this model.
- getConnectionSet() - Method in class org.jgraph.graph.DefaultGraphModel.GraphModelEdit
-
Returns the connectionSet.
- getConnectionSet() - Method in class org.jgraph.graph.DefaultGraphModel.GraphModelLayerEdit
- getConnectionSet() - Method in class org.jgraph.graph.GraphTransferable
-
Returns the connections between
cells
(and possibly other, unselected cells). - getContext() - Method in interface org.jgraph.event.GraphLayoutCacheEvent.GraphLayoutCacheChange
-
Returns the objects that have not changed explicitly, but implicitly because one of their dependent cells has changed.
- getContext() - Method in class org.jgraph.graph.DefaultGraphModel.GraphModelEdit
-
Returns the objects that have not changed explicitly, but implicitly because one of their dependent cells has changed.
- getContext() - Method in class org.jgraph.graph.DefaultGraphModel.GraphModelLayerEdit
-
Returns null.
- getContext() - Method in class org.jgraph.graph.GraphLayoutCache.GraphLayoutCacheEdit
-
Returns the views that have not changed explicitly, but implicitly because one of their dependent cells has changed.
- getContext() - Method in class org.jgraph.plaf.basic.BasicGraphUI.RootHandle
- getContext(GraphModelEvent.GraphModelChange) - Method in class org.jgraph.graph.GraphLayoutCache
-
Hook for subclassers to augment the context for a graphChange.
- getCurrentPoint() - Method in class org.jgraph.graph.BasicMarqueeHandler
-
Returns the currentPoint.
- getDashOffset(Map) - Static method in class org.jgraph.graph.GraphConstants
-
Returns the dashoffset attribute from the specified map.
- getDashPattern(Map) - Static method in class org.jgraph.graph.GraphConstants
-
Returns the dashpattern attribute from the specified map.
- getDefaultPortForCell(Object) - Method in class org.jgraph.JGraph
-
Returns the default portview for the specified cell.
- getDescendantCount() - Method in class org.jgraph.graph.GraphContext
-
Returns the number of all objects (cells and children) in this object.
- getDescendants(Object[]) - Method in class org.jgraph.JGraph
-
Returns all
cells
including all descendants in the passed in order of cells. - getDescendants(GraphModel, Object[]) - Static method in class org.jgraph.graph.DefaultGraphModel
-
Flattens the given array of root cells by adding the roots and their descandants.
- getDescendantViews(CellView[]) - Static method in class org.jgraph.graph.AbstractCellView
-
Returns all views, including descendants that have a parent in
views
without the PortViews. - getDirtyRegion() - Method in interface org.jgraph.event.GraphLayoutCacheEvent.GraphLayoutCacheChange
-
Returns the dirty region for the original position of the changed cells before the change happened.
- getDirtyRegion() - Method in class org.jgraph.graph.DefaultGraphModel.GraphModelEdit
- getDirtyRegion() - Method in class org.jgraph.graph.DefaultGraphModel.GraphModelLayerEdit
- getDirtyRegion() - Method in class org.jgraph.graph.GraphLayoutCache.GraphLayoutCacheEdit
- getDropAction() - Method in class org.jgraph.plaf.basic.BasicGraphUI
-
Returns the current drop action.
- getDropAction() - Method in class org.jgraph.plaf.GraphUI
-
Returns the current drop action.
- getDx(double) - Method in class org.jgraph.util.Spline
-
Returns the first derivation at x.
- getDx(double) - Method in class org.jgraph.util.Spline2D
- getDy(double) - Method in class org.jgraph.util.Spline2D
- getEdge() - Method in class org.jgraph.graph.ConnectionSet.Connection
-
Returns the edge of the connection.
- getEdgeDeparture() - Static method in class org.jgraph.util.ParallelEdgeRouter
-
Getter to obtain the distance between intermediate and source/target points
- getEdgeLabelsMovable() - Method in class org.jgraph.JGraph
-
Returns true if edge labels may be dragged and dropped.
- getEdges() - Method in class org.jgraph.graph.ConnectionSet
- getEdges() - Method in class org.jgraph.graph.DefaultPort
-
Returns the collection of edges connected to this port.
- getEdges(Object, Set, boolean, boolean, boolean) - Method in class org.jgraph.graph.GraphLayoutCache
-
Returns the incoming or outgoing edges for cell.
- getEdges(GraphModel, Object[]) - Static method in class org.jgraph.graph.DefaultGraphModel
-
Returns the set of all connected edges to
cells
or their descendants. - getEdges(GraphModel, Object, boolean) - Static method in class org.jgraph.graph.DefaultGraphModel
-
Returns the incoming or outgoing edges for cell.
- getEdgesBetween(GraphModel, Object, Object, boolean) - Static method in class org.jgraph.graph.DefaultGraphModel
-
Returns the edges between two specified ports or two specified vertices.
- getEdgeSeparation() - Static method in class org.jgraph.util.ParallelEdgeRouter
-
Getter to obtain the distance between each parallel edge
- getEdgeStyle() - Method in class org.jgraph.graph.DefaultEdge.LoopRouting
- getEditClickCount() - Method in class org.jgraph.JGraph
-
Returns the number of clicks for editing to start.
- getEditingCell() - Method in class org.jgraph.JGraph
-
Returns the cell that is currently being edited.
- getEditingCell(JGraph) - Method in class org.jgraph.plaf.basic.BasicGraphUI
-
Returns the element that is being edited.
- getEditingCell(JGraph) - Method in class org.jgraph.plaf.GraphUI
-
Returns the cell that is being edited.
- getEditor() - Method in class org.jgraph.graph.AbstractCellView
-
Returns a cell editor for the view.
- getEditor() - Method in interface org.jgraph.graph.CellView
-
Returns a cell editor for the view.
- getEditorLocation(Object, Dimension2D, Point2D) - Method in class org.jgraph.plaf.basic.BasicGraphUI
-
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).
- getEndSize(Map) - Static method in class org.jgraph.graph.GraphConstants
-
Returns the endsize attribute from the specified map.
- getExtraLabelBounds(JGraph, EdgeView, int) - Method in class org.jgraph.graph.EdgeRenderer
-
Returns the label bounds of the specified view in the given graph.
- getExtraLabelPosition(int) - Method in class org.jgraph.graph.EdgeView
-
Returns a point that describes the position of the label.
- getExtraLabelPosition(EdgeView, int) - Method in class org.jgraph.graph.EdgeRenderer
-
Returns the label position of the specified view in the given graph.
- getExtraLabelPositions(Map) - Static method in class org.jgraph.graph.GraphConstants
-
Returns the extralabelpositions attribute from the specified map.
- getExtraLabels(Map) - Static method in class org.jgraph.graph.GraphConstants
-
Returns the additional label objects from the specified map.Extra labels only work with edges currently.
- getExtraLabelSize(JGraph, EdgeView, int) - Method in class org.jgraph.graph.EdgeRenderer
-
Returns the label size of the specified view in the given graph.
- getFactory() - Method in class org.jgraph.graph.GraphLayoutCache
-
Returns the factory that was passed to the constructor.
- getFastValue(double) - Method in class org.jgraph.util.Spline
-
Returns an interpolated value.
- getFirstCellForLocation(double, double) - Method in class org.jgraph.JGraph
-
Returns the topmost cell at the specified location.
- getFirstOpaqueParent(Component) - Method in class org.jgraph.plaf.basic.BasicGraphUI.RootHandle
- getFirstPointOfSegment() - Method in class org.jgraph.graph.EdgeView
-
Utility method that returns the first point of the pair that forms the segment that is relativeX along the edge as a proportion
- getFocusedCell() - Method in class org.jgraph.plaf.basic.BasicGraphUI
-
Returns the cell that has the focus.
- getFont() - Method in class org.jgraph.graph.DefaultGraphCellEditor.DefaultTextField
- getFont() - Method in class org.jgraph.graph.DefaultGraphCellEditor
-
Gets the font used for editing.
- getFont(Map) - Static method in class org.jgraph.graph.GraphConstants
-
Returns the font for the specified attribute map.
- getForeground(Map) - Static method in class org.jgraph.graph.GraphConstants
-
Returns the foreground attribute from the specified map.
- getGradientColor() - Method in class org.jgraph.graph.EdgeRenderer
- getGradientColor() - Method in class org.jgraph.graph.VertexRenderer
- getGradientColor(Map) - Static method in class org.jgraph.graph.GraphConstants
-
Returns the gradientcolor attribute from the specified map.
- getGraph() - Method in class org.jgraph.graph.GraphContext
-
Returns the graph that was passed to the constructor.
- getGraphCellEditorComponent(JGraph, Object, boolean) - Method in class org.jgraph.graph.DefaultGraphCellEditor
-
Configures the editor.
- getGraphCellEditorComponent(JGraph, Object, boolean) - Method in class org.jgraph.graph.DefaultRealEditor
- getGraphCellEditorComponent(JGraph, Object, boolean) - Method in interface org.jgraph.graph.GraphCellEditor
-
Sets an initial value for the editor.
- getGraphForEvent(MouseEvent) - Static method in class org.jgraph.graph.BasicMarqueeHandler
- getGraphLayoutCache() - Method in class org.jgraph.JGraph
-
Returns the
GraphLayoutCache
that is providing the view-data. - getGraphLayoutCacheListeners() - Method in class org.jgraph.graph.GraphLayoutCache
-
Return an array of all GraphLayoutCacheListener that were added to this model.
- getGraphModelListeners() - Method in class org.jgraph.graph.DefaultGraphModel
-
Return an array of all GraphModelListeners that were added to this model.
- getGridColor() - Method in class org.jgraph.JGraph
-
Returns the current grid color.
- getGridMode() - Method in class org.jgraph.JGraph
-
Returns the current grid view mode.
- getGridSize() - Method in class org.jgraph.JGraph
-
Returns the size of the grid in pixels.
- getHandle() - Method in class org.jgraph.plaf.basic.BasicGraphUI
-
Returns the handle that is currently active, or null, if no handle is currently active.
- getHandle() - Method in class org.jgraph.plaf.GraphUI
-
Returns the
CellHandle
that is currently active, ornull
if no handle is active. - getHandle(GraphContext) - Method in class org.jgraph.graph.AbstractCellView
-
Returns a cell handle for the view.
- getHandle(GraphContext) - Method in interface org.jgraph.graph.CellView
-
Returns a cell handle for the view.
- getHandle(GraphContext) - Method in class org.jgraph.graph.EdgeView
-
Returns a cell handle for the view.
- getHandle(GraphContext) - Method in class org.jgraph.graph.PortView
-
Returns
null
. - getHandle(GraphContext) - Method in class org.jgraph.graph.VertexView
-
Returns a cell handle for the view, if the graph and the view are sizeable.
- getHandleColor() - Method in class org.jgraph.JGraph
-
Returns the current handle color.
- getHandleSize() - Method in class org.jgraph.JGraph
-
Returns the size of the handles.
- getHiddenCellViews() - Method in class org.jgraph.graph.GraphLayoutCache
- getHiddenMapping() - Method in class org.jgraph.graph.GraphLayoutCache
-
Returns the hiddenMapping.
- getHighlightBounds(JGraph, CellView) - Method in class org.jgraph.graph.EdgeView.EdgeHandle
-
Returns the bounds to be used to highlight the given cell view.
- getHighlightColor() - Method in class org.jgraph.JGraph
-
Returns the current highlight color.
- getHorizontalAlignment(Map) - Static method in class org.jgraph.graph.GraphConstants
-
Returns the horizontalalignment attribute from the specified map.
- getHorizontalTextPosition(Map) - Static method in class org.jgraph.graph.GraphConstants
-
Returns the horizontaltextposition attribute from the specified map.
- getHTMLData() - Method in class org.jgraph.graph.GraphTransferable
-
Fetch the data in a text/html format.
- getHTMLData() - Method in class org.jgraph.plaf.basic.BasicGraphTransferable
-
Fetch the data in a text/html format
- getIcon(Map) - Static method in class org.jgraph.graph.GraphConstants
-
Returns the icon attribute from the specified map.
- getImage(Color, int) - Method in class org.jgraph.JGraph
-
Returns a
BufferedImage
for the graph using inset as an empty border around the cells of the graph. - getIncomingEdges(Object, Set, boolean, boolean) - Method in class org.jgraph.graph.GraphLayoutCache
-
Returns the incoming edges for cell.
- getIncomingEdges(GraphModel, Object) - Static method in class org.jgraph.graph.DefaultGraphModel
-
Returns the incoming edges for cell.
- getIndexOfChild(Object, Object) - Method in class org.jgraph.graph.DefaultGraphModel
-
Returns the index of child in parent.
- getIndexOfChild(Object, Object) - Method in interface org.jgraph.graph.GraphModel
-
Returns the index of child in parent.
- getIndexOfRoot(Object) - Method in class org.jgraph.graph.DefaultGraphModel
-
Returns the index of
root
in the model. - getIndexOfRoot(Object) - Method in interface org.jgraph.graph.GraphModel
-
Returns the index of
root
in the model. - getInitialLocation(Object[]) - Method in class org.jgraph.plaf.basic.BasicGraphUI.RootHandle
-
Returns the initial location, which is the top left corner of the selection, ignoring all connected endpoints of edges.
- getInserted() - Method in interface org.jgraph.event.GraphLayoutCacheEvent.GraphLayoutCacheChange
-
Returns the cells that have been inserted.
- getInserted() - Method in class org.jgraph.graph.DefaultGraphModel.GraphModelEdit
-
Returns the cells that were inserted.
- getInserted() - Method in class org.jgraph.graph.DefaultGraphModel.GraphModelLayerEdit
-
Returns the cells that have changed.
- getInserted() - Method in class org.jgraph.graph.GraphLayoutCache.GraphLayoutCacheEdit
-
Returns the cells that habe been made visible.
- getInsertionLocation() - Method in class org.jgraph.plaf.basic.BasicGraphUI
-
Returns the current location of the Drag-and-Drop activity.
- getInsertionLocation() - Method in class org.jgraph.plaf.GraphUI
-
Returns the insertion location for DnD operations.
- getInsertionOffset(JGraph, int, Rectangle2D) - Method in class org.jgraph.graph.GraphTransferHandler
-
Hook method to determine offset of cells cloned via the clipboard
- getInset(Map) - Static method in class org.jgraph.graph.GraphConstants
-
Returns the inset attribute from the specified map.
- getInvokesStopCellEditing() - Method in class org.jgraph.JGraph
-
Returns the indicator that tells what happens when editing is interrupted.
- getLabelBounds(Point2D, Dimension, String) - Method in class org.jgraph.graph.EdgeRenderer
-
Returns the label bounds of the specified view in the given graph.
- getLabelBounds(JGraph, EdgeView) - Method in class org.jgraph.graph.EdgeRenderer
-
Returns the label bounds of the specified view in the given graph.
- getLabelPosition() - Method in class org.jgraph.graph.EdgeView
-
Returns a point that describes the position of the label.
- getLabelPosition(Point2D) - Method in class org.jgraph.graph.EdgeRenderer
-
Returns the label position of the specified view in the given graph.
- getLabelPosition(Map) - Static method in class org.jgraph.graph.GraphConstants
-
Returns the label position attribute from the specified map.
- getLabelPosition(EdgeView) - Method in class org.jgraph.graph.EdgeRenderer
-
Returns the label position of the specified view in the given graph.
- getLabelSize(EdgeView, String) - Method in class org.jgraph.graph.EdgeRenderer
-
Returns the label size of the specified view in the given graph.
- getLabelVector() - Method in class org.jgraph.graph.EdgeView
-
Hook to return the vector that is taken as the base vector to compute relative label positions.
- getLeafViewAt(double, double) - Method in class org.jgraph.JGraph
-
Returns the next view at the specified location wrt.
- getLength() - Method in class org.jgraph.util.Spline2D
- getLength(CellView) - Static method in class org.jgraph.graph.EdgeView
- getLineBegin(Map) - Static method in class org.jgraph.graph.GraphConstants
-
Returns the LINEBEGIN attribute from the specified map.
- getLineColor(Map) - Static method in class org.jgraph.graph.GraphConstants
-
Returns the linecolor attribute from the specified map.
- getLineEnd(Map) - Static method in class org.jgraph.graph.GraphConstants
-
Returns the LINEEND attribute from the specified map.
- getLineStyle(Map) - Static method in class org.jgraph.graph.GraphConstants
-
Returns the linestyle attribute from the specified map.
- getLineWidth(Map) - Static method in class org.jgraph.graph.GraphConstants
-
Returns the linewidth attribute from the specified map.
- getLink(Map) - Static method in class org.jgraph.graph.GraphConstants
-
Returns the link for the specified attribute map.
- getListeners(Class) - Method in class org.jgraph.graph.DefaultGraphSelectionModel
-
Returns an array of all the listeners of the given type that were added to this model.
- getLocalAttributes() - Method in class org.jgraph.graph.GraphLayoutCache
- getLocation() - Method in class org.jgraph.graph.PortView
-
Shortcut method to getLocation(null, null)
- getLocation(EdgeView) - Method in class org.jgraph.graph.PortView
-
For backwards compatibility.
- getLocation(EdgeView, Point2D) - Method in class org.jgraph.graph.PortView
-
Returns the point that the port represents with respect to
edge
andpoint
, which is the nearest point to this port view on the edge. - getLockedHandleColor() - Method in class org.jgraph.JGraph
-
Returns the current second handle color.
- getLoopStyle() - Method in class org.jgraph.graph.DefaultEdge.LoopRouting
- getMapping(Object[]) - Method in class org.jgraph.graph.GraphLayoutCache
-
Returns the views for the specified array of cells without creating these views on the fly.
- getMapping(Object[], boolean) - Method in class org.jgraph.graph.GraphLayoutCache
-
Returns the views for the specified array of cells.
- getMapping(Object, boolean) - Method in interface org.jgraph.graph.CellMapper
-
Returns the view that is associated with
cell
. - getMapping(Object, boolean) - Method in class org.jgraph.graph.GraphContext
-
Returns the
CellView
that is mapped tocell
in the graph context. - getMapping(Object, boolean) - Method in class org.jgraph.graph.GraphLayoutCache
-
Returns the view for the specified cell.
- getMarqueeBounds() - Method in class org.jgraph.graph.BasicMarqueeHandler
-
Returns the marqueeBounds.
- getMarqueeColor() - Method in class org.jgraph.JGraph
-
Returns the current marquee color.
- getMarqueeHandler() - Method in class org.jgraph.JGraph
-
Returns the
MarqueeHandler
that will handle marquee selection. - getMaximumSize(JComponent) - Method in class org.jgraph.plaf.basic.BasicGraphUI
-
Returns the maximum size for this component, which will be the preferred size if the instance is currently in a JGraph, or 0, 0.
- getMinimumMove() - Method in class org.jgraph.JGraph
-
Returns the miminum amount of pixels for a move operation.
- getMinimumSize(JComponent) - Method in class org.jgraph.plaf.basic.BasicGraphUI
-
Returns the minimum size for this component.
- getModel() - Method in class org.jgraph.graph.GraphLayoutCache
-
Returns the current model.
- getModel() - Method in class org.jgraph.JGraph
-
Returns the
GraphModel
that is providing the data. - getMoveableAxis(Map) - Static method in class org.jgraph.graph.GraphConstants
-
Returns the moveableaxis attribute from the specified map.
- getNearestPoint(boolean) - Method in class org.jgraph.graph.EdgeView
-
Returns the nearest point wrt to the source or target.
- getNeighbours(Object, Set, boolean, boolean) - Method in class org.jgraph.graph.GraphLayoutCache
-
Returns a collection of cells that are connected to the specified cell by edges.
- getNextCellForLocation(Object, double, double) - Method in class org.jgraph.JGraph
-
Returns the cell at the specified location that is "behind" the
current
cell. - getNextSelectableViewAt(CellView, double, double) - Method in class org.jgraph.JGraph
-
Note: Arguments are not expected to be scaled (they are scaled in here).
- getNextViewAt(CellView[], CellView, double, double) - Method in class org.jgraph.JGraph
-
Returns the next view at the specified location wrt.
- getNextViewAt(CellView[], CellView, double, double, boolean) - Method in class org.jgraph.JGraph
-
Returns the next view at the specified location wrt.
- getNextViewAt(CellView, double, double) - Method in class org.jgraph.JGraph
-
Returns the next view at the specified location wrt.
- getNextViewAt(CellView, double, double, boolean) - Method in class org.jgraph.JGraph
-
Returns the next view at the specified location wrt.
- getOffgraphics() - Method in class org.jgraph.JGraph
-
Returns the current double buffering graphics object.
- getOffscreen() - Method in class org.jgraph.JGraph
- getOffscreenDirty() - Method in class org.jgraph.JGraph
-
Returns the area that is deemed dirty for the next double buffered redraw
- getOffscreenOffset() - Method in class org.jgraph.JGraph
- getOffset(Map) - Static method in class org.jgraph.graph.GraphConstants
-
Returns the offset attribute from the specified map.
- getOpposite(GraphModel, Object, Object) - Static method in class org.jgraph.graph.DefaultGraphModel
- getOutgoingEdges(Object, Set, boolean, boolean) - Method in class org.jgraph.graph.GraphLayoutCache
-
Returns the outgoing edges for cell.
- getOutgoingEdges(GraphModel, Object) - Static method in class org.jgraph.graph.DefaultGraphModel
-
Returns the outgoing edges for cell.
- getPaintBounds(EdgeView) - Method in class org.jgraph.graph.EdgeRenderer
-
Returns the bounds of the edge shape without label
- getParallelEdges(GraphLayoutCache, EdgeView, CellView, CellView) - Method in class org.jgraph.util.ParallelEdgeRouter
-
Getter to obtain the list of parallel edges
- getParent() - Method in class org.jgraph.graph.ParentMap.Entry
-
Returns the parent of the relation.
- getParent(Object) - Method in class org.jgraph.graph.DefaultGraphModel
-
Returns the parent of child in the model.
- getParent(Object) - Method in interface org.jgraph.graph.GraphModel
-
Returns the parent of child in the model.
- getParentList(Object) - Method in class org.jgraph.graph.DefaultGraphModel.GraphModelLayerEdit
-
Returns the list that exclusively contains
view
. - getParentMap() - Method in interface org.jgraph.event.GraphModelEvent.GraphModelChange
-
Returns a parent map representing the group structure after the change was applied
- getParentMap() - Method in class org.jgraph.graph.DefaultGraphModel.GraphModelEdit
-
Returns the parentMap.
- getParentMap() - Method in class org.jgraph.graph.DefaultGraphModel.GraphModelLayerEdit
-
Returns null.
- getParentMap() - Method in class org.jgraph.graph.GraphTransferable
- getParentPort(Object, boolean) - Method in class org.jgraph.graph.GraphLayoutCache
-
Hook for subclassers to return the first or last visible port to replace the current source or target port of the edge.
- getParentPorts(Object) - Method in class org.jgraph.graph.GraphLayoutCache
- getParentView() - Method in class org.jgraph.graph.AbstractCellView
-
Returns the parent view for this view.
- getParentView() - Method in interface org.jgraph.graph.CellView
-
Returns the parent of view of this view.
- getParentView() - Method in class org.jgraph.graph.PortView
-
This method ensures a non-null value.
- getPartial() - Method in class org.jgraph.graph.GraphLayoutCache
-
Required for XML persistence
- getPerimeterPoint(Point2D, Point2D) - Method in class org.jgraph.graph.VertexView
-
Deprecated.
- getPerimeterPoint(EdgeView, Point2D, Point2D) - Method in class org.jgraph.graph.AbstractCellView
-
Returns the intersection of the bounding rectangle and the straight line between the source and the specified point p.
- getPerimeterPoint(EdgeView, Point2D, Point2D) - Method in interface org.jgraph.graph.CellView
-
Returns the intersection of the bounding rectangle and the straight line between the source and the specified point p.
- getPerimeterPoint(EdgeView, Point2D, Point2D) - Method in class org.jgraph.graph.EdgeView
- getPerimeterPoint(EdgeView, Point2D, Point2D) - Method in class org.jgraph.graph.VertexView
-
Returns the intersection of the bounding rectangle and the straight line between the source and the specified point p.
- getPerimeterPoint(VertexView, Point2D, Point2D) - Method in class org.jgraph.graph.VertexRenderer
-
Returns the intersection of the bounding rectangle and the straight line between the source and the specified point p.
- getPlainData() - Method in class org.jgraph.graph.GraphTransferable
-
Fetch the data in a text/plain format.
- getPlainData() - Method in class org.jgraph.plaf.basic.BasicGraphTransferable
-
Fetch the data in a text/plain format.
- getPoint(double) - Method in class org.jgraph.util.Spline2D
- getPoint(int) - Method in class org.jgraph.graph.EdgeView
-
Returns the cached points for this edge.
- getPoint(int) - Method in class org.jgraph.util.Bezier
-
Returns the bezier points at position i.
- getPointCount() - Method in class org.jgraph.graph.EdgeView
-
Returns the number of point for this edge.
- getPointCount() - Method in class org.jgraph.util.Bezier
-
Returns the number of bezier points.
- getPointLocation(int) - Method in class org.jgraph.graph.EdgeView
-
Returns the point of
edge
atindex
. - getPoints() - Method in class org.jgraph.graph.EdgeView
-
Returns the points.
- getPoints() - Method in class org.jgraph.util.Bezier
-
Returns the calculated bezier points.
- getPoints(Map) - Static method in class org.jgraph.graph.GraphConstants
-
Returns the points attribute from the specified map.
- getPort() - Method in class org.jgraph.graph.ConnectionSet.Connection
-
Returns the port of the connection.
- getPort(Object, boolean) - Method in class org.jgraph.graph.ConnectionSet
-
Returns the source or target of the specified edge in this connection set or null if the connection set contains no corresponding entry for the edge.
- getPortForLocation(double, double) - Method in class org.jgraph.JGraph
-
Convenience method to return the port at the specified location.
- getPorts() - Method in class org.jgraph.graph.GraphLayoutCache
-
Returns the ports of the view.
- getPorts(Object) - Method in class org.jgraph.graph.GraphLayoutCache
- getPortSize() - Method in class org.jgraph.graph.PortView
- getPortViewAt(double, double) - Method in class org.jgraph.JGraph
-
Returns the portview at the specified location.
- getPortViewAt(double, double, int) - Method in class org.jgraph.JGraph
-
Returns the portview at the specified location.
- getPreferredLineStyle(EdgeView) - Method in class org.jgraph.graph.DefaultEdge.LoopRouting
- getPreferredLineStyle(EdgeView) - Method in interface org.jgraph.graph.Edge.Routing
-
Returns the preferred line style for this routing.
- getPreferredMinSize() - Method in class org.jgraph.plaf.basic.BasicGraphUI
-
Returns the minimum preferred size.
- getPreferredScrollableViewportSize() - Method in class org.jgraph.JGraph
-
Returns the preferred display size of a
JGraph
. - getPreferredSize() - Method in class org.jgraph.graph.DefaultGraphCellEditor.EditorContainer
-
Returns the preferred size for the Container.
- getPreferredSize(JComponent) - Method in class org.jgraph.plaf.basic.BasicGraphUI
-
Returns the preferred size to properly display the graph.
- getPreferredSize(JGraph, CellView) - Method in class org.jgraph.plaf.basic.BasicGraphUI
-
Get the preferred Size for a cell view.
- getPreferredSize(JGraph, CellView) - Method in class org.jgraph.plaf.GraphUI
-
Returns the preferred size for
view
. - getPreviousAttributes() - Method in interface org.jgraph.event.GraphLayoutCacheEvent.GraphLayoutCacheChange
-
Returns a map that contains (object, map) pairs which holds the previous attributes for the changed cells.
- getPreviousAttributes() - Method in class org.jgraph.graph.DefaultGraphModel.GraphModelEdit
-
Returns a map that contains (object, map) pairs of the attributes that have been stored in the model.
- getPreviousAttributes() - Method in class org.jgraph.graph.DefaultGraphModel.GraphModelLayerEdit
-
Returns null.
- getPreviousAttributes() - Method in class org.jgraph.graph.GraphLayoutCache.GraphLayoutCacheEdit
-
Returns a map of (cell view, attribute) pairs.
- getPreviousConnectionSet() - Method in interface org.jgraph.event.GraphModelEvent.GraphModelChange
-
Returns a connection set representing the graph structure before the change was applied ( an "undo" of the change).
- getPreviousConnectionSet() - Method in class org.jgraph.graph.DefaultGraphModel.GraphModelEdit
- getPreviousConnectionSet() - Method in class org.jgraph.graph.DefaultGraphModel.GraphModelLayerEdit
- getPreviousCursor() - Method in class org.jgraph.graph.BasicMarqueeHandler
-
Returns the previousCursor.
- getPreviousParentMap() - Method in interface org.jgraph.event.GraphModelEvent.GraphModelChange
-
Returns a parent map representing the group structure before the change was applied ( an "undo" of the change )
- getPreviousParentMap() - Method in class org.jgraph.graph.DefaultGraphModel.GraphModelEdit
- getPreviousParentMap() - Method in class org.jgraph.graph.DefaultGraphModel.GraphModelLayerEdit
- getRelativeLabelPosition(EdgeView, Point2D) - Method in class org.jgraph.graph.EdgeView.EdgeHandle
- getRemoveAttributes(Map) - Static method in class org.jgraph.graph.GraphConstants
-
Returns the attribute marked as for removal in the specified map.
- getRemoved() - Method in interface org.jgraph.event.GraphLayoutCacheEvent.GraphLayoutCacheChange
-
Returns the cells that have been removed.
- getRemoved() - Method in class org.jgraph.graph.DefaultGraphModel.GraphModelEdit
-
Returns the cells that were inserted.
- getRemoved() - Method in class org.jgraph.graph.DefaultGraphModel.GraphModelLayerEdit
-
Returns the cells that have changed.
- getRemoved() - Method in class org.jgraph.graph.GraphLayoutCache.GraphLayoutCacheEdit
-
Returns the cells that have changed.
- getRenderer() - Method in class org.jgraph.graph.AbstractCellView
-
Obtains the renderer instance for this view
- getRenderer() - Method in class org.jgraph.graph.EdgeView
-
Returns a renderer for the class.
- getRenderer() - Method in class org.jgraph.graph.PortView
-
Returns a renderer for the class.
- getRenderer() - Method in class org.jgraph.graph.VertexView
-
Returns a renderer for the class.
- getRendererComponent(JGraph, boolean, boolean, boolean) - Method in class org.jgraph.graph.AbstractCellView
-
Returns a renderer component, configured for the view.
- getRendererComponent(JGraph, boolean, boolean, boolean) - Method in interface org.jgraph.graph.CellView
-
Returns a renderer component, configured for the view.
- getRendererComponent(JGraph, CellView, boolean, boolean, boolean) - Method in interface org.jgraph.graph.CellViewRenderer
-
Configure and return the renderer based on the passed in components.
- getRendererComponent(JGraph, CellView, boolean, boolean, boolean) - Method in class org.jgraph.graph.EdgeRenderer
-
Configure and return the renderer based on the passed in components.
- getRendererComponent(JGraph, CellView, boolean, boolean, boolean) - Method in class org.jgraph.graph.PortRenderer
-
Configure and return the renderer based on the passed in components.
- getRendererComponent(JGraph, CellView, boolean, boolean, boolean) - Method in class org.jgraph.graph.VertexRenderer
-
Configure and return the renderer component based on the passed in cell.
- getRicherData(DataFlavor) - Method in class org.jgraph.graph.GraphTransferable
-
Fetch the data in a jvm-localreference format.
- getRicherData(DataFlavor) - Method in class org.jgraph.plaf.basic.BasicGraphTransferable
- getRicherFlavors() - Method in class org.jgraph.graph.GraphTransferable
-
Returns the jvm-localreference flavors of the transferable.
- getRicherFlavors() - Method in class org.jgraph.plaf.basic.BasicGraphTransferable
-
Some subclasses will have flavors that are more descriptive than HTML or plain text.
- getRootAt(int) - Method in class org.jgraph.graph.DefaultGraphModel
-
Returns the root at index index in the model.
- getRootAt(int) - Method in interface org.jgraph.graph.GraphModel
-
Returns the root at index index in the model.
- getRootCount() - Method in class org.jgraph.graph.DefaultGraphModel
-
Returns the number of roots in the model.
- getRootCount() - Method in interface org.jgraph.graph.GraphModel
-
Returns the number of roots in the model.
- getRoots() - Method in class org.jgraph.graph.DefaultGraphModel
- getRoots() - Method in class org.jgraph.graph.GraphLayoutCache
-
Returns the roots of the view.
- getRoots() - Method in class org.jgraph.JGraph
-
Returns all root cells (cells that have no parent) that the model contains.
- getRoots(Rectangle2D) - Method in class org.jgraph.graph.GraphLayoutCache
-
Return all root cells that intersect the given rectangle.
- getRoots(Rectangle) - Method in class org.jgraph.JGraph
-
Returns all cells that intersect the given rectangle.
- getRoots(GraphModel) - Static method in class org.jgraph.graph.DefaultGraphModel
-
Returns the roots of the specified model as an array.
- getRoots(GraphModel, Object[]) - Static method in class org.jgraph.graph.DefaultGraphModel
-
Returns the roots in
cells
by checking if their parent isnull
. - getRootsAsCollection(GraphModel) - Static method in class org.jgraph.graph.DefaultGraphModel
-
Returns the roots of the specified model as a collection.
- getRouting(Map) - Static method in class org.jgraph.graph.GraphConstants
-
Returns the routing attribute from the specified map.
- getROUTING_DEFAULT() - Static method in class org.jgraph.graph.GraphConstants
- getROUTING_SIMPLE() - Static method in class org.jgraph.graph.GraphConstants
- getScale() - Method in class org.jgraph.JGraph
-
Returns the current scale.
- getScrollableBlockIncrement(Rectangle, int, int) - Method in class org.jgraph.JGraph
-
Returns the amount for a block increment, which is the height or width of
visibleRect
, based onorientation
. - getScrollableTracksViewportHeight() - Method in class org.jgraph.JGraph
-
Returns false to indicate that the height of the viewport does not determine the height of the graph, unless the preferred height of the graph is smaller than the viewports height.
- getScrollableTracksViewportWidth() - Method in class org.jgraph.JGraph
-
Returns false to indicate that the width of the viewport does not determine the width of the graph, unless the preferred width of the graph is smaller than the viewports width.
- getScrollableUnitIncrement(Rectangle, int, int) - Method in class org.jgraph.JGraph
-
Returns the amount to increment when scrolling.
- getScrollPane() - Method in class org.jgraph.plaf.basic.BasicGraphUI.ComponentHandler
-
Returns the JScrollPane housing the JGraph, or null if one isn't found.
- getSelectables() - Method in class org.jgraph.graph.DefaultGraphSelectionModel
-
Returns the cells that are currently selectable.
- getSelectables() - Method in interface org.jgraph.graph.GraphSelectionModel
-
Returns the cells that are currently selectable.
- getSelectedChildCount(Object) - Method in class org.jgraph.graph.DefaultGraphSelectionModel
-
Returns the number of selected childs for
cell
. - getSelectionCell() - Method in class org.jgraph.graph.DefaultGraphSelectionModel
-
Returns the first cell in the selection.
- getSelectionCell() - Method in interface org.jgraph.graph.GraphSelectionModel
-
Returns the first cell in the selection.
- getSelectionCell() - Method in class org.jgraph.JGraph
-
Returns the first selected cell.
- getSelectionCellAt(Point2D) - Method in class org.jgraph.JGraph
-
Returns the selection cell at the specified location.
- getSelectionCells() - Method in class org.jgraph.graph.DefaultGraphSelectionModel
-
Returns the cells in the selection.
- getSelectionCells() - Method in interface org.jgraph.graph.GraphSelectionModel
-
Returns the cells in the selection.
- getSelectionCells() - Method in class org.jgraph.JGraph
-
Returns all selected cells.
- getSelectionCells(Object[]) - Method in class org.jgraph.JGraph
-
Returns all selected cells in
cells
. - getSelectionCount() - Method in class org.jgraph.graph.DefaultGraphSelectionModel
-
Returns the number of paths that are selected.
- getSelectionCount() - Method in interface org.jgraph.graph.GraphSelectionModel
-
Returns the number of cells that are selected.
- getSelectionCount() - Method in class org.jgraph.JGraph
-
Returns the number of cells selected.
- getSelectionMode() - Method in class org.jgraph.graph.DefaultGraphSelectionModel
-
Returns the selection mode, one of
SINGLE_TREE_SELECTION
,DISCONTIGUOUS_TREE_SELECTION
orCONTIGUOUS_TREE_SELECTION
. - getSelectionMode() - Method in interface org.jgraph.graph.GraphSelectionModel
-
Returns the current selection mode, either
SINGLE_GRAPH_SELECTION
orMULTIPLE_GRAPH_SELECTION
. - getSelectionModel() - Method in class org.jgraph.JGraph
-
Returns the model for selections.
- getShape() - Method in class org.jgraph.graph.EdgeView
-
Returns the shape of the view according to the last rendering state
- getSharedInstance() - Static method in class org.jgraph.util.ParallelEdgeRouter
-
Getter for singleton managing parallel edges
- getSize(Map) - Static method in class org.jgraph.graph.GraphConstants
-
Returns the size attribute from the specified map.
- getSizeableAxis(Map) - Static method in class org.jgraph.graph.GraphConstants
-
Returns the sizeableAxis attribute from the specified map.
- getSource() - Method in interface org.jgraph.event.GraphLayoutCacheEvent.GraphLayoutCacheChange
-
Returns the source of this change.
- getSource() - Method in class org.jgraph.graph.DefaultEdge
-
Returns the source of the edge.
- getSource() - Method in class org.jgraph.graph.DefaultGraphModel.GraphModelEdit
-
Returns the source of this change.
- getSource() - Method in class org.jgraph.graph.DefaultGraphModel.GraphModelLayerEdit
-
Returns the source of this change.
- getSource() - Method in interface org.jgraph.graph.Edge
-
Returns the source of the edge.
- getSource() - Method in class org.jgraph.graph.EdgeView
-
Returns the CellView that represents the source of the edge.
- getSource() - Method in class org.jgraph.graph.GraphLayoutCache.GraphLayoutCacheEdit
- getSource(Object) - Method in class org.jgraph.graph.DefaultGraphModel
-
Returns the source of
edge
. - getSource(Object) - Method in interface org.jgraph.graph.GraphModel
-
Returns the source of
edge
. - getSourceActions(JComponent) - Method in class org.jgraph.graph.GraphTransferHandler
- getSourceParentView() - Method in class org.jgraph.graph.EdgeView
- getSourceVertex(GraphModel, Object) - Static method in class org.jgraph.graph.DefaultGraphModel
-
Returns the source vertex of the edge by calling getParent on getSource on the specified model.
- getSplineX() - Method in class org.jgraph.util.Spline2D
- getSplineY() - Method in class org.jgraph.util.Spline2D
- getStartPoint() - Method in class org.jgraph.graph.BasicMarqueeHandler
-
Returns the startPoint.
- getTarget() - Method in class org.jgraph.graph.DefaultEdge
-
Returns the target of the edge.
- getTarget() - Method in interface org.jgraph.graph.Edge
-
Returns the target of the edge.
- getTarget() - Method in class org.jgraph.graph.EdgeView
-
Returns the CellView that represents the target of the edge.
- getTarget(Object) - Method in class org.jgraph.graph.DefaultGraphModel
-
Returns the target of
edge
. - getTarget(Object) - Method in interface org.jgraph.graph.GraphModel
-
Returns the target of
edge
. - getTargetParentView() - Method in class org.jgraph.graph.EdgeView
- getTargetVertex(GraphModel, Object) - Static method in class org.jgraph.graph.DefaultGraphModel
-
Returns the target vertex of the edge by calling getParent on getTarget on the specified model.
- getTolerance() - Method in class org.jgraph.JGraph
-
Returns the maximum distance between the mousepointer and a cell to be selected.
- getToolTipText(MouseEvent) - Method in class org.jgraph.JGraph
-
Overrides
JComponent
'sgetToolTipText
method in order to allow the graph to create a tooltip for the topmost cell under the mousepointer. - getTopmostCells(GraphModel, Object[]) - Static method in class org.jgraph.graph.DefaultGraphModel
- getTopmostViewAt(double, double, boolean, boolean) - Method in class org.jgraph.JGraph
-
Returns the topmost cell view at the specified location using the view's bounds on non-leafs to check for containment.
- getTransferData(DataFlavor) - Method in class org.jgraph.plaf.basic.BasicGraphTransferable
-
Returns an object which represents the data to be transferred.
- getTransferDataFlavors() - Method in class org.jgraph.plaf.basic.BasicGraphTransferable
-
Returns an array of DataFlavor objects indicating the flavors the data can be provided in.
- getUI() - Method in class org.jgraph.JGraph
-
Returns the L&F object that renders this component.
- getUIClassID() - Method in class org.jgraph.JGraph
-
Returns the name of the L&F class that renders this component.
- getUpdateLevel() - Method in class org.jgraph.graph.DefaultGraphModel
- getUserObject(Object) - Static method in class org.jgraph.graph.DefaultGraphModel
-
Deprecated.Use
GraphModel.getValue(Object)
instead. - getValue(double) - Method in class org.jgraph.util.Spline
-
Returns an interpolated value.
- getValue(Object) - Method in class org.jgraph.graph.DefaultGraphModel
- getValue(Object) - Method in interface org.jgraph.graph.GraphModel
-
Returns the user object for the specified cell.
- getValue(Map) - Static method in class org.jgraph.graph.GraphConstants
-
Returns the value attribute from the specified map.
- getVerticalAlignment(Map) - Static method in class org.jgraph.graph.GraphConstants
-
Returns the verticalalignment attribute from the specified map.
- getVerticalTextPosition(Map) - Static method in class org.jgraph.graph.GraphConstants
-
Returns the verticaltextposition attribute from the specified map.
- getViewPortBounds() - Method in class org.jgraph.JGraph
-
Return the bounds of the parent viewport, if one exists.
- getViews(GraphLayoutCache) - Method in interface org.jgraph.event.GraphModelEvent.GraphModelChange
-
Allows a
GraphLayoutCache
to retrieve an array ofCellViews
that was previously stored withputViews(GraphLayoutCache, CellView[])
. - getViews(GraphLayoutCache) - Method in class org.jgraph.graph.DefaultGraphModel.GraphModelEdit
- getViews(GraphLayoutCache) - Method in class org.jgraph.graph.DefaultGraphModel.GraphModelLayerEdit
-
Returns the views that have not changed explicitly, but implicitly because one of their dependent cells has changed.
- getVisibleCells(Object[]) - Method in class org.jgraph.graph.GraphLayoutCache
-
Returns a an array with the visible cells in
cells
. - getVisibleParent(GraphModel, CellMapper, Object) - Method in class org.jgraph.graph.EdgeView
- getVisibleSet() - Method in class org.jgraph.graph.GraphLayoutCache
-
Returns the set of visible sets in this view.
- gradientColor - Variable in class org.jgraph.graph.EdgeRenderer
-
The gradient color of the edge
- gradientColor - Variable in class org.jgraph.graph.VertexRenderer
-
Caches values of the colors to be used for painting the cell.
- GRADIENTCOLOR - Static variable in class org.jgraph.graph.GraphConstants
-
Key for the
gradient
attribute. - graph - Variable in class org.jgraph.graph.DefaultGraphCellEditor
-
JTree instance listening too.
- graph - Variable in class org.jgraph.graph.DefaultGraphSelectionModel
-
Reference to the parent graph.
- graph - Variable in class org.jgraph.graph.EdgeRenderer
-
Cache the current graph for drawing
- graph - Variable in class org.jgraph.graph.EdgeView.EdgeHandle
- graph - Variable in class org.jgraph.graph.GraphContext
-
Reference to the parent graph.
- graph - Variable in class org.jgraph.graph.VertexView.SizeHandle
- graph - Variable in class org.jgraph.plaf.basic.BasicGraphUI
-
Component that we're going to be drawing into.
- GRAPH_LAYOUT_CACHE_PROPERTY - Static variable in class org.jgraph.JGraph
-
Bound property name for
graphModel
. - GRAPH_MODEL_PROPERTY - Static variable in class org.jgraph.JGraph
-
Bound property name for
graphModel
. - graphBackground - Variable in class org.jgraph.graph.PortRenderer
-
Cache the current graph background.
- GraphCell - Interface in org.jgraph.graph
-
Defines the requirements for objects that appear as GraphCells.
- GraphCellEditor - Interface in org.jgraph.graph
-
Adds to CellEditor the extensions necessary to configure an editor in a graph.
- graphChanged(GraphModelEvent) - Method in interface org.jgraph.event.GraphModelListener
-
Invoked after a cell has changed in some way.
- graphChanged(GraphModelEvent) - Method in class org.jgraph.plaf.basic.BasicGraphUI.GraphModelHandler
- graphChanged(GraphModelEvent.GraphModelChange) - Method in class org.jgraph.graph.GraphLayoutCache
-
Called from BasicGraphUI.ModelHandler to update the view based on the specified GraphModelEvent.
- GraphConstants - Class in org.jgraph.graph
-
A collection of well known or common attribute keys and methods to apply to an Map to get/set the properties in a typesafe manner.
- GraphConstants() - Constructor for class org.jgraph.graph.GraphConstants
- GraphContext - Class in org.jgraph.graph
- GraphContext(JGraph, Object[]) - Constructor for class org.jgraph.graph.GraphContext
-
Constructs a graph context for
cells
with respect to the connections defined in the model, and the views in the view ofgraph
. - graphDidChange() - Method in class org.jgraph.JGraph
-
Messaged when the graph has changed enough that we need to resize the bounds, but not enough that we need to remove the cells (e.g cells were inserted into the graph).
- GraphDropTargetListener() - Constructor for class org.jgraph.plaf.basic.BasicGraphUI.GraphDropTargetListener
- graphLayoutCache - Variable in class org.jgraph.graph.GraphContext
-
Reference to the graphs GraphLayoutCache.
- graphLayoutCache - Variable in class org.jgraph.JGraph
-
The view that defines the display properties of the model.
- graphLayoutCache - Variable in class org.jgraph.plaf.basic.BasicGraphUI
-
Reference to the graph's view (geometric pattern).
- GraphLayoutCache - Class in org.jgraph.graph
-
An object that defines the view of a graphmodel.
- GraphLayoutCache() - Constructor for class org.jgraph.graph.GraphLayoutCache
-
Constructs a graph layout cache.
- GraphLayoutCache(GraphModel, CellViewFactory) - Constructor for class org.jgraph.graph.GraphLayoutCache
-
Constructs a view for the specified model that uses
factory
to create its views. - GraphLayoutCache(GraphModel, CellViewFactory, boolean) - Constructor for class org.jgraph.graph.GraphLayoutCache
-
Constructs a view for the specified model that uses
factory
to create its views. - GraphLayoutCache(GraphModel, CellViewFactory, CellView[], CellView[], boolean) - Constructor for class org.jgraph.graph.GraphLayoutCache
-
Constructs a view for the specified model that uses
factory
to create its views. - GraphLayoutCache.GraphLayoutCacheEdit - Class in org.jgraph.graph
-
An implementation of GraphLayoutCacheChange.
- graphLayoutCacheChanged(GraphLayoutCacheEvent) - Method in interface org.jgraph.event.GraphLayoutCacheListener
-
Invoked after a cell has changed in some way.
- graphLayoutCacheChanged(GraphLayoutCacheEvent) - Method in class org.jgraph.plaf.basic.BasicGraphUI.GraphLayoutCacheHandler
- GraphLayoutCacheEdit(Object[], Map, Object[], Object[]) - Constructor for class org.jgraph.graph.GraphLayoutCache.GraphLayoutCacheEdit
-
Constructs a GraphViewEdit.
- GraphLayoutCacheEdit(Map) - Constructor for class org.jgraph.graph.GraphLayoutCache.GraphLayoutCacheEdit
-
Constructs a GraphViewEdit.
- GraphLayoutCacheEvent - Class in org.jgraph.event
-
Encapsulates information describing changes to a graph layout cache, and is used to notify graph layout cache listeners of the change.
- GraphLayoutCacheEvent(Object, GraphLayoutCacheEvent.GraphLayoutCacheChange) - Constructor for class org.jgraph.event.GraphLayoutCacheEvent
-
Used to create an event when cells have been changed, inserted, or removed, identifying the change as a GraphLayoutCacheChange object.
- GraphLayoutCacheEvent.GraphLayoutCacheChange - Interface in org.jgraph.event
-
Defines the interface for objects that may be used to represent a change to the graph layout cache.
- GraphLayoutCacheHandler() - Constructor for class org.jgraph.plaf.basic.BasicGraphUI.GraphLayoutCacheHandler
- graphLayoutCacheListener - Variable in class org.jgraph.plaf.basic.BasicGraphUI
-
Updates the display when the view has changed.
- GraphLayoutCacheListener - Interface in org.jgraph.event
-
Defines the interface for an object that listens to changes in a GraphModel.
- graphModel - Variable in class org.jgraph.graph.GraphLayoutCache
-
Reference to the graphModel
- graphModel - Variable in class org.jgraph.JGraph
-
The model that defines the graph displayed by this object.
- graphModel - Variable in class org.jgraph.plaf.basic.BasicGraphUI
-
Used to determine what to display.
- GraphModel - Interface in org.jgraph.graph
-
The interface that defines a suitable data model for a JGraph.
- GraphModelEdit(Object[], Object[], Map, ConnectionSet, ParentMap) - Constructor for class org.jgraph.graph.DefaultGraphModel.GraphModelEdit
-
Constructs an edit record.
- GraphModelEvent - Class in org.jgraph.event
-
Encapsulates information describing changes to a graph model, and is used to notify graph model listeners of the change.
- GraphModelEvent(Object, GraphModelEvent.GraphModelChange) - Constructor for class org.jgraph.event.GraphModelEvent
-
Used to create an event when cells have been changed, inserted, or removed, identifying the change as a ModelChange object.
- GraphModelEvent.GraphModelChange - Interface in org.jgraph.event
-
Defines the interface for objects that may be included into a GraphModelEvent to describe a model change.
- GraphModelHandler() - Constructor for class org.jgraph.plaf.basic.BasicGraphUI.GraphModelHandler
- GraphModelLayerEdit(Object[], int) - Constructor for class org.jgraph.graph.DefaultGraphModel.GraphModelLayerEdit
-
Constructs a GraphModelEdit.
- graphModelListener - Variable in class org.jgraph.plaf.basic.BasicGraphUI
-
Is responsible for updating the view based on model events.
- GraphModelListener - Interface in org.jgraph.event
-
Defines the interface for an object that listens to changes in a GraphModel.
- GraphSelectionEvent - Class in org.jgraph.event
-
An event that characterizes a change in the current selection.
- GraphSelectionEvent(Object, Object[], boolean[]) - Constructor for class org.jgraph.event.GraphSelectionEvent
-
Represents a change in the selection of a GraphSelectionModel.
- GraphSelectionHandler() - Constructor for class org.jgraph.plaf.basic.BasicGraphUI.GraphSelectionHandler
- graphSelectionListener - Variable in class org.jgraph.plaf.basic.BasicGraphUI
-
Updates the display when the selection changes.
- GraphSelectionListener - Interface in org.jgraph.event
-
The listener that's notified when the selection in a GraphSelectionModel changes.
- graphSelectionModel - Variable in class org.jgraph.plaf.basic.BasicGraphUI
-
Model maintaining the selection.
- GraphSelectionModel - Interface in org.jgraph.graph
-
This interface represents the current state of the selection for the graph component.
- GraphSelectionRedirector() - Constructor for class org.jgraph.JGraph.GraphSelectionRedirector
- GraphTransferable - Class in org.jgraph.graph
-
An object that represents the clipboard contents for a graph selection.
- GraphTransferable(Object[], Map, Rectangle2D, ConnectionSet, ParentMap) - Constructor for class org.jgraph.graph.GraphTransferable
-
Constructs a new transferable selection for
cells
,cs
andattrMap
. - GraphTransferHandler - Class in org.jgraph.graph
- GraphTransferHandler() - Constructor for class org.jgraph.graph.GraphTransferHandler
- GraphUI - Class in org.jgraph.plaf
-
Pluggable look and feel interface for JGraph.
- GraphUI() - Constructor for class org.jgraph.plaf.GraphUI
- GraphUndoManager - Class in org.jgraph.graph
-
An UndoManager that may be shared among multiple GraphLayoutCache's.
- GraphUndoManager() - Constructor for class org.jgraph.graph.GraphUndoManager
- GRID_COLOR_PROPERTY - Static variable in class org.jgraph.JGraph
-
Bound property name for
gridColor
. - GRID_SIZE_PROPERTY - Static variable in class org.jgraph.JGraph
-
Bound property name for
gridSize
. - GRID_VISIBLE_PROPERTY - Static variable in class org.jgraph.JGraph
-
Bound property name for
gridVisible
. - gridColor - Variable in class org.jgraph.graph.EdgeRenderer
-
The color of the graph grid
- gridColor - Variable in class org.jgraph.graph.VertexRenderer
-
Caches values of the colors to be used for painting the cell.
- gridColor - Variable in class org.jgraph.JGraph
-
The color of the grid.
- gridEnabled - Variable in class org.jgraph.JGraph
-
True if the snap method should be active (snap to grid).
- gridMode - Variable in class org.jgraph.JGraph
-
The style of the grid.
- gridSize - Variable in class org.jgraph.JGraph
-
The size of the grid in points.
- gridVisible - Variable in class org.jgraph.JGraph
-
True if the grid is visible.
- groupBounds - Variable in class org.jgraph.graph.AbstractCellView
-
Cached bounds of all children if vertex is a group
- GROUPOPAQUE - Static variable in class org.jgraph.graph.GraphConstants
-
Key for the
groupOpaque
attribute. - groupsEditable - Variable in class org.jgraph.JGraph
-
True if the graph allows editing of non-leaf cells.
H
- handle - Variable in class org.jgraph.plaf.basic.BasicGraphUI
-
Handle that we are going to use.
- HANDLE_COLOR_PROPERTY - Static variable in class org.jgraph.JGraph
-
Bound property name for
gridColor
. - HANDLE_SIZE_PROPERTY - Static variable in class org.jgraph.JGraph
-
Bound property name for
gridColor
. - handleAttributes(Map) - Method in class org.jgraph.graph.DefaultGraphModel
-
Applies
attributes
to the cells specified as keys. - handleAttributes(Map) - Method in class org.jgraph.graph.GraphLayoutCache
-
Attention: Undo will not work for routing-change if ROUTING and POINTS are stored in different locations.
- handleColor - Variable in class org.jgraph.JGraph
-
Color of the handles and locked handles.
- handleConnection(ConnectionSet.Connection, boolean) - Method in class org.jgraph.graph.DefaultGraphModel
-
Inserts the specified connection into the model.
- handleConnectionSet(ConnectionSet) - Method in class org.jgraph.graph.DefaultGraphModel
-
Applies
connectionSet
to the model. - handleEditTrigger(Object, MouseEvent) - Method in class org.jgraph.plaf.basic.BasicGraphUI.MouseHandler
-
Handles edit trigger by starting the edit and return true if the editing has already started.
- handleEmptyGroups(Object[]) - Method in class org.jgraph.graph.DefaultGraphModel.GraphModelEdit
-
Adds the groups that become empty to the cells that will be removed.
- handleExternalDrop(JGraph, Object[], Map, ConnectionSet, ParentMap, double, double) - Method in class org.jgraph.graph.GraphTransferHandler
- handleInsert(Object[]) - Method in class org.jgraph.graph.DefaultGraphModel
-
Inserts
cells
into the model. - handleMarqueeEvent(MouseEvent, JGraph, Rectangle2D) - Method in class org.jgraph.graph.BasicMarqueeHandler
-
Hook for subclassers.
- handleParentMap(ParentMap) - Method in class org.jgraph.graph.DefaultGraphModel
-
Applies
cells
to the model. - handler - Variable in class org.jgraph.plaf.basic.BasicGraphUI.MouseHandler
- handleRemove(Object[]) - Method in class org.jgraph.graph.DefaultGraphModel
-
Removes
cells
from the model. - handles - Variable in class org.jgraph.plaf.basic.BasicGraphUI.RootHandle
- handleSize - Variable in class org.jgraph.JGraph
-
Size of a handle.
- hasAncestorIn(GraphModel, Set, Object) - Static method in class org.jgraph.graph.DefaultGraphModel
-
Returns true if the specified child has an ancestor in parents.
- hasFocus - Variable in class org.jgraph.graph.PortRenderer
-
Cached hasFocus and selected value.
- hasFocus - Variable in class org.jgraph.graph.VertexRenderer
-
Cached hasFocus and selected value.
- hashCode() - Method in class org.jgraph.graph.ConnectionSet.Connection
-
Ensure equality of hashCode wrt equals().
- hasNext() - Method in class org.jgraph.graph.DefaultGraphModel.EmptyIterator
- hasVisibleParent(Object, Set) - Method in class org.jgraph.graph.GraphLayoutCache
-
Checks if the port or one of its parents is visible.
- hidden - Variable in class org.jgraph.graph.GraphLayoutCache.GraphLayoutCacheEdit
- hiddenMapping - Variable in class org.jgraph.graph.GraphLayoutCache
-
Maps cells to views.
- hideCells(Object[], boolean) - Method in class org.jgraph.graph.GraphLayoutCache
-
Hides the specified cells with all children if
descandants
is true. - hideCellsForChange(GraphModelEvent.GraphModelChange) - Method in class org.jgraph.graph.GraphLayoutCache
- hidesDanglingConnections - Variable in class org.jgraph.graph.GraphLayoutCache
-
Boolean indicating whether existing connections should be hidden if their source or target port is removed from the model.
- hidesExistingConnections - Variable in class org.jgraph.graph.GraphLayoutCache
-
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.
- highlight - Variable in class org.jgraph.graph.EdgeView.EdgeHandle
-
Component that is used for highlighting cells if the graph does not allow XOR painting.
- highlight(JGraph, CellView) - Method in class org.jgraph.graph.EdgeView.EdgeHandle
-
Highlights the given cell view or removes the highlight if no cell view is specified.
- highlightColor - Variable in class org.jgraph.graph.EdgeRenderer
-
The color of highlighted cells
- highlightColor - Variable in class org.jgraph.graph.VertexRenderer
-
Caches values of the colors to be used for painting the cell.
- highlightColor - Variable in class org.jgraph.JGraph
-
Highlight Color.
- HIT_LABEL_EXACT - Static variable in class org.jgraph.graph.EdgeRenderer
-
Switch for exact label hit detection on rotated labels.
- HORIZONTAL_ALIGNMENT - Static variable in class org.jgraph.graph.GraphConstants
-
Key for the
horizontalAlignment
attribute. - HORIZONTAL_TEXT_POSITION - Static variable in class org.jgraph.graph.GraphConstants
-
Key for the
horizontalTextPosition
attribute.
I
- ICON - Static variable in class org.jgraph.graph.GraphConstants
-
Key for the
icon
attribute. - ignoreTargetGroup - Variable in class org.jgraph.plaf.basic.BasicGraphUI.RootHandle
- importData(JComponent, Transferable) - Method in class org.jgraph.graph.GraphTransferHandler
- importDataImpl(JComponent, Transferable) - Method in class org.jgraph.graph.GraphTransferHandler
- in - Variable in class org.jgraph.graph.GraphTransferHandler
- includeInGroupBounds(CellView) - Method in class org.jgraph.graph.AbstractCellView
-
This is used to exclude certain cell views from the group bounds computation.
- inCount - Variable in class org.jgraph.graph.GraphTransferHandler
- index - Variable in class org.jgraph.graph.VertexView.SizeHandle
- inHitRegion(double, double) - Method in class org.jgraph.graph.DefaultGraphCellEditor
-
Should return true if the passed in location is a valid mouse location to start editing from.
- initialBounds - Variable in class org.jgraph.graph.VertexView.SizeHandle
- initialLabelLocation - Variable in class org.jgraph.graph.EdgeView.EdgeHandle
-
Holds the initial location of the label.
- initialLocation - Variable in class org.jgraph.plaf.basic.BasicGraphUI.RootHandle
- initOffscreen() - Method in class org.jgraph.graph.VertexView.SizeHandle
- initOffscreen() - Method in class org.jgraph.plaf.basic.BasicGraphUI.RootHandle
- insert - Variable in class org.jgraph.graph.DefaultGraphModel.GraphModelEdit
- insert(Object) - Method in class org.jgraph.graph.GraphLayoutCache
-
Inserts the specified vertex into the graph model.
- insert(Object[]) - Method in class org.jgraph.graph.GraphLayoutCache
-
Inserts the specified cells into the graph model.
- insert(Object[], Map, ConnectionSet, ParentMap) - Method in class org.jgraph.graph.GraphLayoutCache
-
Variant of the insert method that allows to pass a default connection set and parent map and nested map.
- insert(Object[], Map, ConnectionSet, ParentMap, UndoableEdit[]) - Method in class org.jgraph.graph.DefaultGraphModel
-
Inserts the
roots
and connections into the model. - insert(Object[], Map, ConnectionSet, ParentMap, UndoableEdit[]) - Method in class org.jgraph.graph.GraphLayoutCache
-
Inserts the
cells
and connections into the model, and absorbs the local attributes. - insert(Object[], Map, ConnectionSet, ParentMap, UndoableEdit[]) - Method in interface org.jgraph.graph.GraphModel
-
Inserts the
cells
and connections into the model, and passesattributes
to the views. - insertClones(Object[], Map, Map, ConnectionSet, ParentMap, double, double) - Method in class org.jgraph.graph.GraphLayoutCache
-
Inserts the cloned cells from the clone map and clones the passed-in arguments according to the clone map before insertion and returns the clones in order of the cells.
- inserted - Variable in class org.jgraph.graph.DefaultGraphModel.GraphModelEdit
- insertEdge(Object, Object, Object) - Method in class org.jgraph.graph.GraphLayoutCache
-
Inserts the specified edge into the graph model.
- insertGroup(Object, Object[]) - Method in class org.jgraph.graph.GraphLayoutCache
-
Inserts the specified cell as a parent of children.
- insertionLocation - Variable in class org.jgraph.plaf.basic.BasicGraphUI
-
Needed to exchange information between Transfer- and MouseListener.
- insertViews(CellView[]) - Method in class org.jgraph.graph.GraphLayoutCache
-
Adds the specified model root cells to the view.
- INSET - Static variable in class org.jgraph.graph.GraphConstants
-
Key for the
inset
attribute. - installAttributes(CellView) - Method in class org.jgraph.graph.EdgeRenderer
-
Installs the attributes of specified cell in this renderer instance.
- installAttributes(CellView) - Method in class org.jgraph.graph.VertexRenderer
-
Install the attributes of specified cell in this renderer instance.
- installComponents() - Method in class org.jgraph.plaf.basic.BasicGraphUI
-
Intalls the subcomponents of the graph, which is the renderer pane.
- installDefaults() - Method in class org.jgraph.plaf.basic.BasicGraphUI
-
Invoked as part from the boilerplate install block.
- installKeyboardActions() - Method in class org.jgraph.plaf.basic.BasicGraphUI
-
Invoked as part from the boilerplate install block.
- installListeners() - Method in class org.jgraph.plaf.basic.BasicGraphUI
-
Invoked as part from the boilerplate install block.
- installUI(JComponent) - Method in class org.jgraph.plaf.basic.BasicGraphUI
- intersects(JGraph, Rectangle2D) - Method in class org.jgraph.graph.AbstractCellView
-
Returns true if the view intersects the given rectangle.
- intersects(JGraph, Rectangle2D) - Method in interface org.jgraph.graph.CellView
-
Returns true if the view intersects the given rectangle.
- intersects(JGraph, Rectangle2D) - Method in class org.jgraph.graph.EdgeView
-
Returns true if this view intersects the given rectangle.
- intersects(JGraph, CellView, Rectangle) - Method in class org.jgraph.graph.EdgeRenderer
-
Returns true if the edge shape intersects the given rectangle.
- invalidate() - Method in class org.jgraph.graph.EdgeView.EdgeHandle
- invalidate() - Method in class org.jgraph.graph.EdgeView
-
Resets the cached values of the edge view
- invalidate() - Method in class org.jgraph.graph.VertexView.SizeHandle
- invisible - Variable in class org.jgraph.graph.GraphLayoutCache.GraphLayoutCacheEdit
- INVOKES_STOP_CELL_EDITING_PROPERTY - Static variable in class org.jgraph.JGraph
-
Bound property name for
messagesStopCellEditing
. - invokesStopCellEditing - Variable in class org.jgraph.JGraph
-
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. - IS_MAC - Static variable in class org.jgraph.JGraph
- isAbsoluteX(Map) - Static method in class org.jgraph.graph.GraphConstants
-
Returns the absolutex attribute from the specified map.
- isAbsoluteY(Map) - Static method in class org.jgraph.graph.GraphConstants
-
Returns the absolutey attribute from the specified map.
- isAddedCell() - Method in class org.jgraph.event.GraphSelectionEvent
-
Returns true if the first cell has been added to the selection, a return value of false means the first cell has been removed from the selection.
- isAddedCell(int) - Method in class org.jgraph.event.GraphSelectionEvent
-
Returns true if the cell identified by
index
was added to the selection. - isAddedCell(Object) - Method in class org.jgraph.event.GraphSelectionEvent
-
Returns true if the cell identified by cell was added to the selection.
- isAddPointEvent(MouseEvent) - Method in class org.jgraph.graph.EdgeView.EdgeHandle
-
Returning true signifies a mouse event adds a new point to an edge.
- isAddToSelectionEvent(MouseEvent) - Method in class org.jgraph.plaf.basic.BasicGraphUI
-
Returning true signifies that cells are added to the selection.
- isAllAttributesLocal() - Method in class org.jgraph.graph.GraphLayoutCache
- isAlwaysReceiveAsCopyAction() - Method in class org.jgraph.graph.GraphTransferHandler
- isAntiAliased() - Method in class org.jgraph.JGraph
-
Returns true if the graph will be anti aliased.
- isAutoResizeGraph() - Method in class org.jgraph.JGraph
-
Returns true if the graph should be automatically resized when cells are being moved below the bottom right corner.
- isAutoSize(Map) - Static method in class org.jgraph.graph.GraphConstants
-
Returns the autosize attribute from the specified map.
- isAutoSizeOnValueChange() - Method in class org.jgraph.graph.GraphLayoutCache
-
Returns true if cells should be auto-sized when their values change
- isBackgroundScaled() - Method in class org.jgraph.JGraph
- isBeginFill(Map) - Static method in class org.jgraph.graph.GraphConstants
-
Returns the beginfill attribute from the specified map.
- isBendable() - Method in class org.jgraph.JGraph
-
Returns true if the graph allows adding/removing/modifying points.
- isBendable(Map) - Static method in class org.jgraph.graph.GraphConstants
-
Returns the bendable attribute from the specified map.
- isCellEditable(Object) - Method in class org.jgraph.JGraph
-
Returns
true
if the graph and the cell are editable. - isCellEditable(EventObject) - Method in class org.jgraph.graph.DefaultGraphCellEditor
-
If the realEditor returns true to this message, prepareForEditing is messaged and true is returned.
- isCellSelected(Object) - Method in class org.jgraph.graph.DefaultGraphSelectionModel
-
Returns true if the cell,
cell
, is in the current selection. - isCellSelected(Object) - Method in interface org.jgraph.graph.GraphSelectionModel
-
Returns true if the cell,
cell
, is in the current selection. - isCellSelected(Object) - Method in class org.jgraph.JGraph
-
Returns true if the cell is currently selected.
- isChildrenSelectable() - Method in class org.jgraph.graph.DefaultGraphSelectionModel
-
Returns true if the selection model allows the selection of children.
- isChildrenSelectable() - Method in interface org.jgraph.graph.GraphSelectionModel
-
Returns true if the selection model allows the selection of children.
- isChildrenSelectable(Object) - Method in class org.jgraph.graph.DefaultGraphSelectionModel
-
Hook for subclassers for fine-grained control over stepping-into cells.
- isChildrenSelectable(Map) - Static method in class org.jgraph.graph.GraphConstants
-
Returns the childrenselectable attribute from the specified map.
- isChildrenSelected(Object) - Method in class org.jgraph.graph.DefaultGraphSelectionModel
-
Returns true if the cell,
cell
, has selected children. - isChildrenSelected(Object) - Method in interface org.jgraph.graph.GraphSelectionModel
-
Returns true if the cell,
cell
, has selected children. - isCloneable() - Method in class org.jgraph.JGraph
-
Returns true if cells are cloned on CTRL-Drag operations.
- isConnectable() - Method in class org.jgraph.JGraph
-
Returns true if the graph allows new connections to be established.
- isConnectable(Map) - Static method in class org.jgraph.graph.GraphConstants
-
Returns the connectable attribute from the specified map.
- isConstrained(Map) - Static method in class org.jgraph.graph.GraphConstants
-
Returns the constrained attribute from the specified map.
- isConstrainedMoveEvent(MouseEvent) - Method in class org.jgraph.graph.EdgeView.EdgeHandle
- isConstrainedMoveEvent(MouseEvent) - Method in class org.jgraph.plaf.basic.BasicGraphUI
-
Returning true signifies a move should only be applied to one direction.
- isConstrainedSizeEvent(MouseEvent) - Method in class org.jgraph.graph.VertexView.SizeHandle
- isContextVisible - Variable in class org.jgraph.plaf.basic.BasicGraphUI.RootHandle
- isControlAttribute(Object, Object, Object) - Method in class org.jgraph.graph.GraphLayoutCache
-
Returns true if
key
is a control attribute - isDataFlavorSupported(DataFlavor) - Method in class org.jgraph.plaf.basic.BasicGraphTransferable
-
Returns whether or not the specified data flavor is supported for this object.
- isDescendant(CellView, CellView) - Method in class org.jgraph.plaf.basic.BasicGraphUI.MouseHandler
- isDisconnectable() - Method in class org.jgraph.JGraph
-
Returns true if the graph allows existing connections to be removed.
- isDisconnectable(Map) - Static method in class org.jgraph.graph.GraphConstants
-
Returns the disconnectable attribute from the specified map.
- isDisconnectOnMove() - Method in class org.jgraph.JGraph
-
Returns true if selected edges should be disconnected from unselected vertices when they are moved.
- isDoubleBuffered - Variable in class org.jgraph.graph.VertexRenderer
-
Cached value of the double buffered state
- isDragEnabled() - Method in class org.jgraph.JGraph
-
Returns true if the graph uses Drag-and-Drop to move cells.
- isDragging - Variable in class org.jgraph.plaf.basic.BasicGraphUI.RootHandle
-
Indicates whether this handle has started drag and drop.
- isDropEnabled() - Method in class org.jgraph.JGraph
-
Returns true if the graph accepts drops/pastes from external sources.
- isEdge(Object) - Method in class org.jgraph.graph.DefaultGraphModel
-
Returns
true
ifedge
is a valid edge. - isEdge(Object) - Method in interface org.jgraph.graph.GraphModel
-
Returns
true
ifedge
is a valid edge. - isEdgeConnectable - Variable in class org.jgraph.graph.EdgeView.EdgeHandle
- isEditable() - Method in class org.jgraph.JGraph
-
Returns true if the graph is editable (if it allows cells to be edited).
- isEditable(Map) - Static method in class org.jgraph.graph.GraphConstants
-
Returns the editable attribute from the specified map.
- isEditing() - Method in class org.jgraph.graph.EdgeView.EdgeHandle
- isEditing() - Method in class org.jgraph.JGraph
-
Returns true if the graph is being edited.
- isEditing(JGraph) - Method in class org.jgraph.plaf.basic.BasicGraphUI
-
Returns true if the graph is being edited.
- isEditing(JGraph) - Method in class org.jgraph.plaf.GraphUI
-
Returns true if the graph is being edited.
- isEmpty() - Method in class org.jgraph.graph.ConnectionSet
-
Returns
true
if the connection set is empty. - isEmpty() - Method in class org.jgraph.graph.GraphContext
-
Returns
true
if this object contains no cells. - isEnabled() - Method in class org.jgraph.plaf.basic.BasicGraphUI.GraphIncrementAction
- isEndFill(Map) - Static method in class org.jgraph.graph.GraphConstants
-
Returns the endfill attribute from the specified map.
- isExactSegmentLabel(Map) - Static method in class org.jgraph.graph.GraphConstants
-
Returns whether the exact segment is worked out for placement of labels along edges for the specified cell.
- isFillable(int) - Method in class org.jgraph.graph.EdgeRenderer
- isForceMarqueeEvent(MouseEvent) - Method in class org.jgraph.graph.BasicMarqueeHandler
- isForceMarqueeEvent(MouseEvent) - Method in class org.jgraph.plaf.basic.BasicGraphUI
-
Returning true signifies the marquee handler has precedence over other handlers, and is receiving subsequent mouse events.
- isGridEnabled() - Method in class org.jgraph.JGraph
-
Returns true if the grid is active.
- isGridVisible() - Method in class org.jgraph.JGraph
-
Returns true if the grid will be visible.
- isGroup(GraphModel, Object) - Static method in class org.jgraph.graph.DefaultGraphModel
-
Checks whether the cell has at least one child which is not a port.
- isGroupOpaque(Map) - Static method in class org.jgraph.graph.GraphConstants
-
Returns the opaque attribute from the specified map.
- isGroupsEditable() - Method in class org.jgraph.JGraph
- isHidesDanglingConnections() - Method in class org.jgraph.graph.GraphLayoutCache
-
Returns the hidesDanglingConnections.
- isHidesExistingConnections() - Method in class org.jgraph.graph.GraphLayoutCache
-
Returns the hidesExistingConnections.
- isHTMLFlavor(DataFlavor) - Method in class org.jgraph.plaf.basic.BasicGraphTransferable
-
Returns whether or not the specified data flavor is an HTML flavor that is supported.
- isHTMLSupported() - Method in class org.jgraph.graph.GraphTransferable
-
Returns true if the transferable support a text/html format.
- isHTMLSupported() - Method in class org.jgraph.plaf.basic.BasicGraphTransferable
-
Whether the HTML flavors are offered.
- isJumpToDefaultPort - Variable in class org.jgraph.JGraph
-
True if getPortViewAt should return the default port if no other port is found.
- isJumpToDefaultPort() - Method in class org.jgraph.JGraph
-
Returns true if getPortViewAt should return the default port if no other port is found.
- isKeyDown - Variable in class org.jgraph.plaf.basic.BasicGraphUI.KeyHandler
-
Set to true while keyPressed is active.
- isLabelAlongEdge(Map) - Static method in class org.jgraph.graph.GraphConstants
-
Returns the true if the label should be painted along the edge.
- isLabelEnabled(Map) - Static method in class org.jgraph.graph.GraphConstants
-
Returns whether the label is enabled for the specified cell.
- isLeaf() - Method in class org.jgraph.graph.AbstractCellView
-
Returns
true
if the view is a leaf. - isLeaf() - Method in interface org.jgraph.graph.CellView
-
Returns true if the view is a leaf.
- isLeaf(Object) - Method in class org.jgraph.graph.DefaultGraphModel
-
Returns whether the specified node is a leaf node.
- isLeaf(Object) - Method in interface org.jgraph.graph.GraphModel
-
Returns whether the specified node is a leaf node.
- isLocalAttribute(Object, Object, Object) - Method in class org.jgraph.graph.GraphLayoutCache
-
Returns true if the set of local attributes contains
key
- isLoop() - Method in class org.jgraph.graph.EdgeView
-
Returns true if the edge is a loop.
- isMarqueeTriggerEvent(MouseEvent, JGraph) - Method in class org.jgraph.graph.BasicMarqueeHandler
-
Hook for subclassers.
- isMoveable() - Method in class org.jgraph.JGraph
- isMoveable(Map) - Static method in class org.jgraph.graph.GraphConstants
-
Returns the moveable attribute from the specified map.
- isMoveBelowZero - Variable in class org.jgraph.graph.EdgeRenderer
-
Boolean attributes of the current edgeview.
- isMoveBelowZero() - Method in class org.jgraph.JGraph
-
Returns true if the graph allows to move cells below zero.
- isMoveBeyondGraphBounds() - Method in class org.jgraph.JGraph
- isMoveIntoGroups - Variable in class org.jgraph.JGraph
-
Specifies if cells should be added to a group when moved over the group's area.
- isMoveIntoGroups() - Method in class org.jgraph.JGraph
-
Returns true if cells should be added to groups when moved over the group's area.
- isMoveOutOfGroups - Variable in class org.jgraph.JGraph
-
Specifies if cells should be removed from groups when removed from the group area.
- isMoveOutOfGroups() - Method in class org.jgraph.JGraph
-
Returns true if cells should be removed from groups when removed from the group's area.
- isMovesChildrenOnExpand() - Method in class org.jgraph.graph.GraphLayoutCache
- isMovesParentsOnCollapse() - Method in class org.jgraph.graph.GraphLayoutCache
- isMoving - Variable in class org.jgraph.plaf.basic.BasicGraphUI.RootHandle
-
Indicates whether this handle is currently moving cells.
- isNew - Variable in class org.jgraph.graph.DefaultGraphSelectionModel.CellPlaceHolder
- isNew() - Method in class org.jgraph.graph.DefaultGraphSelectionModel.CellPlaceHolder
-
Returns the isNew.
- isOpaque(Map) - Static method in class org.jgraph.graph.GraphConstants
-
Returns the opaque attribute from the specified map.
- isPartial() - Method in class org.jgraph.graph.GraphLayoutCache
- isPlainFlavor(DataFlavor) - Method in class org.jgraph.plaf.basic.BasicGraphTransferable
-
Returns whether or not the specified data flavor is an plain flavor that is supported.
- isPlainSupported() - Method in class org.jgraph.graph.GraphTransferable
-
Returns true if the transferable support a text/plain format.
- isPlainSupported() - Method in class org.jgraph.plaf.basic.BasicGraphTransferable
-
Whether the plain text flavors are offered.
- isPort(Object) - Method in class org.jgraph.graph.DefaultGraphModel
-
Returns
true
ifport
is a valid port, possibly supporting edge connection. - isPort(Object) - Method in interface org.jgraph.graph.GraphModel
-
Returns
true
ifport
is a valid port, possibly supporting edge connection. - isPortsOnTop() - Method in class org.jgraph.JGraph
- isPortsScaled() - Method in class org.jgraph.JGraph
-
Returns true if the ports will be scaled.
- isPortsVisible() - Method in class org.jgraph.JGraph
-
Returns true if the ports will be visible.
- isPreviewInvalidNullPorts() - Method in class org.jgraph.JGraph
-
Returns true if graph allows invalid null ports during previews
- isReconnectsEdgesToVisibleParent() - Method in class org.jgraph.graph.GraphLayoutCache
-
Deprecated.edges are moved to parent view and back automatically
- isRemembersCellViews() - Method in class org.jgraph.graph.GraphLayoutCache
-
Returns the remembersCellViews.
- isRemoveAll(Map) - Static method in class org.jgraph.graph.GraphConstants
-
Returns the removeall attribute from the specified map.
- isRemoveEmptyGroups() - Method in class org.jgraph.graph.DefaultGraphModel
- isRemovePointEvent(MouseEvent) - Method in class org.jgraph.graph.EdgeView.EdgeHandle
-
Returning true signifies a mouse event removes a given point.
- isResize(Map) - Static method in class org.jgraph.graph.GraphConstants
-
Returns the resize attribute from the specified map.
- isResizesParentsOnCollapse() - Method in class org.jgraph.graph.GraphLayoutCache
- isRicherFlavor(DataFlavor) - Method in class org.jgraph.plaf.basic.BasicGraphTransferable
- isSelectable(Map) - Static method in class org.jgraph.graph.GraphConstants
-
Returns the selectable attribute from the specified map.
- isSelectionEmpty() - Method in class org.jgraph.graph.DefaultGraphSelectionModel
-
Returns true if the selection is currently empty.
- isSelectionEmpty() - Method in interface org.jgraph.graph.GraphSelectionModel
-
Returns true if the selection is currently empty.
- isSelectionEmpty() - Method in class org.jgraph.JGraph
-
Returns true if the selection is currently empty.
- isSelectionEnabled() - Method in class org.jgraph.JGraph
-
Returns true if the cell selection is enabled
- isSelectsAllInsertedCells() - Method in class org.jgraph.graph.GraphLayoutCache
- isSelectsLocalInsertedCells() - Method in class org.jgraph.graph.GraphLayoutCache
- isShowsChangedConnections() - Method in class org.jgraph.graph.GraphLayoutCache
- isShowsExistingConnections() - Method in class org.jgraph.graph.GraphLayoutCache
-
Returns the showsExistingConnections.
- isShowsInsertedConnections() - Method in class org.jgraph.graph.GraphLayoutCache
-
Returns the showsInsertedConnections.
- isShowsInvisibleEditedCells() - Method in class org.jgraph.graph.GraphLayoutCache
- isSignificant() - Method in class org.jgraph.graph.DefaultGraphModel.GraphModelEdit
- isSignificant() - Method in class org.jgraph.graph.GraphLayoutCache.GraphLayoutCacheEdit
- isSizeable() - Method in class org.jgraph.JGraph
-
Returns true if the graph allows cells to be resized.
- isSizeable(Map) - Static method in class org.jgraph.graph.GraphConstants
-
Returns the sizeable attribute from the specified map.
- isSnapSelectedView() - Method in class org.jgraph.plaf.basic.BasicGraphUI
- isSource - Variable in class org.jgraph.graph.ConnectionSet.Connection
-
Indicates if
port
is the source ofedge
. - isSource() - Method in class org.jgraph.graph.ConnectionSet.Connection
-
Returns
true
ifport
is the source ofedge
. - isSourceEditing() - Method in class org.jgraph.graph.EdgeView.EdgeHandle
- isStringFlavor(DataFlavor) - Method in class org.jgraph.plaf.basic.BasicGraphTransferable
-
Returns whether or not the specified data flavor is a String flavor that is supported.
- isTargetEditing() - Method in class org.jgraph.graph.EdgeView.EdgeHandle
- isToggleSelectionEvent(MouseEvent) - Method in class org.jgraph.plaf.basic.BasicGraphUI
-
Returning true signifies a mouse event on the cell should toggle the selection of only the cell under mouse.
- isVertex(GraphModel, Object) - Static method in class org.jgraph.graph.DefaultGraphModel
-
Returns
true
ifvertex
is a valid vertex. - isVisible(Object) - Method in class org.jgraph.graph.GraphLayoutCache
-
Whether or not the specified cell is visible.
- isVolatileOffscreen() - Method in class org.jgraph.JGraph
- isXorEnabled() - Method in class org.jgraph.JGraph
-
Returns true if the graph accepts drops/pastes from external sources.
J
- JGraph - Class in org.jgraph
-
A control that displays a network of related objects using the well-known paradigm of a graph.
- JGraph() - Constructor for class org.jgraph.JGraph
-
Returns a
JGraph
with a sample model. - JGraph(GraphLayoutCache) - Constructor for class org.jgraph.JGraph
-
Returns an instance of
JGraph
which displays the data model using the specified view. - JGraph(GraphModel) - Constructor for class org.jgraph.JGraph
-
Returns an instance of
JGraph
which displays the the specified data model. - JGraph(GraphModel, BasicMarqueeHandler) - Constructor for class org.jgraph.JGraph
-
Returns an instance of
JGraph
which displays the specified data model and assigns the specified marquee handler - JGraph(GraphModel, GraphLayoutCache) - Constructor for class org.jgraph.JGraph
-
Returns an instance of
JGraph
which displays the specified data model using the specified view. - JGraph(GraphModel, GraphLayoutCache, BasicMarqueeHandler) - Constructor for class org.jgraph.JGraph
-
Returns an instance of
JGraph
which displays the specified data model using the specified view and assigns the specified marquee handler - JGraph.EmptySelectionModel - Class in org.jgraph
-
EmptySelectionModel
is aGraphSelectionModel
that does not allow anything to be selected. - JGraph.GraphSelectionRedirector - Class in org.jgraph
-
Handles creating a new
GraphSelectionEvent
with theJGraph
as the source and passing it off to all the listeners.
K
- KeyHandler() - Constructor for class org.jgraph.plaf.basic.BasicGraphUI.KeyHandler
- keyListener - Variable in class org.jgraph.plaf.basic.BasicGraphUI
-
Listens for KeyListener events.
- keyPressed(KeyEvent) - Method in class org.jgraph.plaf.basic.BasicGraphUI.KeyHandler
- keyReleased(KeyEvent) - Method in class org.jgraph.plaf.basic.BasicGraphUI.KeyHandler
L
- label - Variable in class org.jgraph.graph.EdgeView.EdgeHandle
- LABELALONGEDGE - Static variable in class org.jgraph.graph.GraphConstants
-
Key for the
labelAlongEdge
attribute. - labelBorder - Variable in class org.jgraph.graph.EdgeRenderer
-
Boolean attributes of the current edgeview.
- labelEnabled - Variable in class org.jgraph.graph.VertexRenderer
-
Cached value of whether the label is to be displayed
- LABELENABLED - Static variable in class org.jgraph.graph.GraphConstants
-
Key for the
labelEnabled
attribute. - labelPosition - Variable in class org.jgraph.graph.EdgeView
-
Cached label position of the edge.
- LABELPOSITION - Static variable in class org.jgraph.graph.GraphConstants
-
Key for the
labelposition
attribute. - labelsEnabled - Variable in class org.jgraph.graph.EdgeRenderer
-
Cached value of whether the label is to be displayed
- labelTransformEnabled - Variable in class org.jgraph.graph.EdgeRenderer
-
Boolean attributes of the current edgeview.
- labelVector - Variable in class org.jgraph.graph.EdgeView
- LABELWIDTHBUFFER - Static variable in class org.jgraph.graph.EdgeRenderer
-
When zooming a graph the font size jumps at certain zoom levels rather than scaling smoothly.
- last - Variable in class org.jgraph.plaf.basic.BasicGraphUI.RootHandle
- lastBufferAllocated - Variable in class org.jgraph.JGraph
-
Stores whether the last double buffer allocation worked or not
- lastCell - Variable in class org.jgraph.graph.DefaultGraphCellEditor
-
last path that was selected.
- lastFocus - Variable in class org.jgraph.plaf.basic.BasicGraphUI
-
The focused cell under the mousepointer and the last focused cell.
- lastParent - Variable in class org.jgraph.graph.PortView
-
Cache of the last valid parent.
- layer - Variable in class org.jgraph.graph.DefaultGraphModel.GraphModelLayerEdit
- LEGACY_DISCONNECTABLE - Static variable in class org.jgraph.graph.EdgeView
-
Whether or not pre 5.12.3.3 disconnectable behaviour is to be used.
- LINE_GRID_MODE - Static variable in class org.jgraph.JGraph
- LINEBEGIN - Static variable in class org.jgraph.graph.GraphConstants
-
Key for the
lineBegin
attribute. - LINECOLOR - Static variable in class org.jgraph.graph.GraphConstants
-
Key for the
linecolor
attribute. - lineDash - Variable in class org.jgraph.graph.EdgeRenderer
-
Contains the current dash pattern.
- LINEEND - Static variable in class org.jgraph.graph.GraphConstants
-
Key for the
lineEnd
attribute. - lineShape - Variable in class org.jgraph.graph.EdgeView
-
Drawing attributes that are created on the fly
- lineStyle - Variable in class org.jgraph.graph.EdgeRenderer
-
Painting attributes of the current edgeview
- LINESTYLE - Static variable in class org.jgraph.graph.GraphConstants
-
Key for the
lineStyle
attribute. - lineWidth - Variable in class org.jgraph.graph.EdgeRenderer
-
Width of the current edge view
- LINEWIDTH - Static variable in class org.jgraph.graph.GraphConstants
-
Key for the
linewidth
attribute. - LINK - Static variable in class org.jgraph.graph.GraphConstants
-
Key for the
link
attribute. - listenerList - Variable in class org.jgraph.graph.DefaultGraphModel
-
The list of listeners that listen to the model.
- listenerList - Variable in class org.jgraph.graph.DefaultGraphSelectionModel
-
Event listener list.
- listenerList - Variable in class org.jgraph.graph.GraphLayoutCache
-
The list of listeners that listen to the GraphLayoutCache.
- loc - Variable in class org.jgraph.graph.EdgeView.EdgeHandle
- localAttributes - Variable in class org.jgraph.graph.GraphLayoutCache
-
A set containing all attribute keys that are stored in the cell views, in other words, the view-local attributes.
- LOCKED_HANDLE_COLOR_PROPERTY - Static variable in class org.jgraph.JGraph
-
Bound property name for
gridColor
. - lockedHandleColor - Variable in class org.jgraph.graph.EdgeRenderer
-
The color of the second available handle
- lockedHandleColor - Variable in class org.jgraph.graph.VertexRenderer
-
Caches values of the colors to be used for painting the cell.
- lockedHandleColor - Variable in class org.jgraph.JGraph
-
Color of the handles and locked handles.
- LoopRouting() - Constructor for class org.jgraph.graph.DefaultEdge.LoopRouting
- lostOwnership(Clipboard, Transferable) - Method in class org.jgraph.graph.GraphTransferable
M
- main(String[]) - Static method in class org.jgraph.JGraph
- mapping - Variable in class org.jgraph.graph.GraphLayoutCache
-
Maps cells to views.
- marquee - Variable in class org.jgraph.JGraph
-
Handler for marquee selection.
- marquee - Variable in class org.jgraph.plaf.basic.BasicGraphUI
-
Marquee that we are going to use.
- MARQUEE_HANDLER_PROPERTY - Static variable in class org.jgraph.JGraph
-
Bound property name for
graphModel
. - marqueeBounds - Variable in class org.jgraph.graph.BasicMarqueeHandler
- marqueeColor - Variable in class org.jgraph.JGraph
-
Color of the marquee.
- MAXCELLS - Static variable in class org.jgraph.plaf.basic.BasicGraphUI
-
The maximum number of cells to paint when dragging.
- MAXCLIPCELLS - Static variable in class org.jgraph.plaf.basic.BasicGraphUI
-
Maximum number of cells to compute clipping bounds for.
- MAXHANDLES - Static variable in class org.jgraph.plaf.basic.BasicGraphUI
-
The maximum number of handles to paint individually.
- merge(Map, Map) - Static method in class org.jgraph.graph.GraphConstants
-
Merges the specified nested maps by adding all attributes in the change to the attributes for the cell in target, if the cell does not exist in target, then a new entry is added with all attributes from change.
- mergeAttributes() - Method in class org.jgraph.graph.AbstractCellView
-
Implements the merging of the cell's attributes, initially stored in allAttributes, and the location attributes.
- metrics - Variable in class org.jgraph.graph.EdgeRenderer
-
Reference to the font metrics of the above
- minimumMove - Variable in class org.jgraph.JGraph
-
Minimum amount of pixels to start a move transaction.
- mouseClicked(MouseEvent) - Method in class org.jgraph.plaf.basic.BasicGraphUI.MouseInputHandler
- mouseDragged(MouseEvent) - Method in class org.jgraph.graph.BasicMarqueeHandler
-
Includes the specified startPoint in the marquee selection.
- mouseDragged(MouseEvent) - Method in interface org.jgraph.graph.CellHandle
-
Messaged when the user drags the selection.
- mouseDragged(MouseEvent) - Method in class org.jgraph.graph.EdgeView.EdgeHandle
- mouseDragged(MouseEvent) - Method in class org.jgraph.graph.VertexView.SizeHandle
-
Process mouse dragged event.
- mouseDragged(MouseEvent) - Method in class org.jgraph.plaf.basic.BasicGraphUI.MouseHandler
- mouseDragged(MouseEvent) - Method in class org.jgraph.plaf.basic.BasicGraphUI.MouseInputHandler
- mouseDragged(MouseEvent) - Method in class org.jgraph.plaf.basic.BasicGraphUI.RootHandle
-
Process mouse dragged event.
- mouseEntered(MouseEvent) - Method in class org.jgraph.plaf.basic.BasicGraphUI.MouseInputHandler
- mouseExited(MouseEvent) - Method in class org.jgraph.plaf.basic.BasicGraphUI.MouseInputHandler
- MouseHandler() - Constructor for class org.jgraph.plaf.basic.BasicGraphUI.MouseHandler
- MouseInputHandler(Component, Component, MouseEvent) - Constructor for class org.jgraph.plaf.basic.BasicGraphUI.MouseInputHandler
- mouseListener - Variable in class org.jgraph.plaf.basic.BasicGraphUI
-
Listens for Mouse events.
- mouseMoved(MouseEvent) - Method in class org.jgraph.graph.BasicMarqueeHandler
-
Empty.
- mouseMoved(MouseEvent) - Method in interface org.jgraph.graph.CellHandle
-
Messaged when the mouse is moved.
- mouseMoved(MouseEvent) - Method in class org.jgraph.graph.EdgeView.EdgeHandle
-
Invoked when the mouse pointer has been moved on a component (with no buttons down).
- mouseMoved(MouseEvent) - Method in class org.jgraph.graph.VertexView.SizeHandle
-
Invoked when the mouse pointer has been moved on a component (with no buttons down).
- mouseMoved(MouseEvent) - Method in class org.jgraph.plaf.basic.BasicGraphUI.MouseHandler
-
Invoked when the mouse pointer has been moved on a component (with no buttons down).
- mouseMoved(MouseEvent) - Method in class org.jgraph.plaf.basic.BasicGraphUI.MouseInputHandler
- mouseMoved(MouseEvent) - Method in class org.jgraph.plaf.basic.BasicGraphUI.RootHandle
-
Invoked when the mouse pointer has been moved on a component (with no buttons down).
- mousePressed(MouseEvent) - Method in class org.jgraph.graph.BasicMarqueeHandler
-
Start the marquee at the specified startPoint.
- mousePressed(MouseEvent) - Method in interface org.jgraph.graph.CellHandle
-
Messaged when a mouse button is pressed.
- mousePressed(MouseEvent) - Method in class org.jgraph.graph.EdgeView.EdgeHandle
- mousePressed(MouseEvent) - Method in class org.jgraph.graph.VertexView.SizeHandle
-
Process mouse pressed event.
- mousePressed(MouseEvent) - Method in class org.jgraph.plaf.basic.BasicGraphUI.MouseHandler
-
Invoked when a mouse button has been pressed on a component.
- mousePressed(MouseEvent) - Method in class org.jgraph.plaf.basic.BasicGraphUI.MouseInputHandler
- mousePressed(MouseEvent) - Method in class org.jgraph.plaf.basic.BasicGraphUI.RootHandle
- mouseReleased(MouseEvent) - Method in class org.jgraph.graph.BasicMarqueeHandler
-
Stops the current marquee selection.
- mouseReleased(MouseEvent) - Method in interface org.jgraph.graph.CellHandle
-
Messaged when the drag operation has terminated with a drop.
- mouseReleased(MouseEvent) - Method in class org.jgraph.graph.EdgeView.EdgeHandle
- mouseReleased(MouseEvent) - Method in class org.jgraph.graph.VertexView.SizeHandle
- mouseReleased(MouseEvent) - Method in class org.jgraph.plaf.basic.BasicGraphUI.MouseHandler
- mouseReleased(MouseEvent) - Method in class org.jgraph.plaf.basic.BasicGraphUI.MouseInputHandler
- mouseReleased(MouseEvent) - Method in class org.jgraph.plaf.basic.BasicGraphUI.RootHandle
- moveable - Variable in class org.jgraph.JGraph
-
True if the graph allows move operations.
- MOVEABLE - Static variable in class org.jgraph.graph.GraphConstants
-
Key for the
moveable
attribute. - MOVEABLEAXIS - Static variable in class org.jgraph.graph.GraphConstants
-
Key for the
moveableAxis
attribute. - moveBelowZero - Variable in class org.jgraph.JGraph
-
True if the graph allows to move cells below zero.
- moveBeyondGraphBounds - Variable in class org.jgraph.JGraph
-
True if the graph allows to move cells beyond the graph bounds
- MOVEHIDDENCHILDREN - Static variable in class org.jgraph.graph.GraphConstants
-
Key for the
childrenSelectable
attribute. - movesChildrenOnExpand - Variable in class org.jgraph.graph.GraphLayoutCache
-
Boolean indicating whether children should be moved to the parent group's origin on expand.
- movesParentsOnCollapse - Variable in class org.jgraph.graph.GraphLayoutCache
-
Boolean indicating whether parents should be moved to the child area origin on collapse.
- MULTIPLE_GRAPH_SELECTION - Static variable in interface org.jgraph.graph.GraphSelectionModel
-
Selection can contain any number of items.
N
- next - Variable in class org.jgraph.graph.DefaultGraphModel.GraphModelLayerEdit
- next() - Method in class org.jgraph.graph.DefaultGraphModel.EmptyIterator
- nextEditToBeRedone(UndoableEdit) - Method in class org.jgraph.graph.GraphUndoManager
-
Returns the the next significant edit wrt to current to be redone if redo is called.
- nextEditToBeUndone(UndoableEdit) - Method in class org.jgraph.graph.GraphUndoManager
-
Returns the the next significant edit wrt to current to be undone if undo is called.
- NO_PREFERENCE - Static variable in interface org.jgraph.graph.Edge.Routing
- notifyCellChange(Vector) - Method in class org.jgraph.graph.DefaultGraphSelectionModel
-
Notifies listeners of a change in path.
O
- offgraphics - Variable in class org.jgraph.graph.VertexView.SizeHandle
-
Reference to graph off screen graphics
- offgraphics - Variable in class org.jgraph.JGraph
-
Graphics object of off screen image
- offgraphics - Variable in class org.jgraph.plaf.basic.BasicGraphUI.RootHandle
-
Reference to graph off screen graphics
- offscreen - Variable in class org.jgraph.JGraph
-
Off screen image for double buffering
- offscreenBounds - Variable in class org.jgraph.JGraph
-
The bounds of the offscreen buffer
- offscreenBuffer - Variable in class org.jgraph.JGraph
-
The buffer around the offscreen graphics object that provides the specified distance of scrolling before the buffer has to be recreated.
- offscreenDirty - Variable in class org.jgraph.JGraph
-
Whether or not the current background image is correct
- offscreenOffset - Variable in class org.jgraph.JGraph
-
The offset of the offscreen buffer
- OFFSET - Static variable in class org.jgraph.graph.GraphConstants
-
Key for the
offset
attribute. - offsetX - Variable in class org.jgraph.graph.DefaultGraphCellEditor
-
Used in editing.
- offsetY - Variable in class org.jgraph.graph.DefaultGraphCellEditor
- opaque - Variable in class org.jgraph.graph.EdgeRenderer
-
Boolean attributes of the current edgeview.
- OPAQUE - Static variable in class org.jgraph.graph.GraphConstants
-
Key for the
opaque
attribute. - order(Object[]) - Method in class org.jgraph.JGraph
-
Returns all
cells
including all descendants ordered using the current layering data stored by the model. - order(GraphModel, Object[]) - Static method in class org.jgraph.graph.DefaultGraphModel
-
Orders cells so that they reflect the model order.
- org.jgraph - package org.jgraph
-
JGraph's topmost package which contains the JGraph class.
- org.jgraph.event - package org.jgraph.event
-
Contains event classes and listener interfaces that are used to react to events fired by JGraph.
- org.jgraph.graph - package org.jgraph.graph
-
Graphs are made up of a number of classes and interfaces defined in their own package - the
jgraph.graph
package. - org.jgraph.plaf - package org.jgraph.plaf
-
Contains the GraphUI class which extends the Swing ComponentUI class.
- org.jgraph.plaf.basic - package org.jgraph.plaf.basic
-
Contains the BasicGraphUI, which is GraphUI's default implementation.
- org.jgraph.util - package org.jgraph.util
- orig - Variable in class org.jgraph.graph.EdgeView.EdgeHandle
- out - Variable in class org.jgraph.graph.GraphTransferHandler
- overlay(Graphics) - Method in interface org.jgraph.graph.CellHandle
-
Paint the handle on the given graphics object during mouse operations.
- overlay(Graphics) - Method in class org.jgraph.graph.EdgeView.EdgeHandle
- overlay(Graphics) - Method in class org.jgraph.graph.VertexView.SizeHandle
- overlay(Graphics) - Method in class org.jgraph.plaf.basic.BasicGraphUI.RootHandle
- overlay(JGraph, Graphics, boolean) - Method in class org.jgraph.graph.BasicMarqueeHandler
-
Draw the current state of the handler.
P
- paint(Graphics) - Method in interface org.jgraph.graph.CellHandle
-
Paint the handle on the given graphics object once.
- paint(Graphics) - Method in class org.jgraph.graph.DefaultGraphCellEditor.EditorContainer
-
Overrides
Container.paint
to paint the node's icon and use the selection color for the background. - paint(Graphics) - Method in class org.jgraph.graph.EdgeRenderer
-
Paint the renderer.
- paint(Graphics) - Method in class org.jgraph.graph.EdgeView.EdgeHandle
- paint(Graphics) - Method in class org.jgraph.graph.PortRenderer
-
Paint the renderer.
- paint(Graphics) - Method in class org.jgraph.graph.VertexRenderer
-
Paint the renderer.
- paint(Graphics) - Method in class org.jgraph.graph.VertexView.SizeHandle
- paint(Graphics) - Method in class org.jgraph.plaf.basic.BasicGraphUI.RootHandle
- paint(Graphics, JComponent) - Method in class org.jgraph.plaf.basic.BasicGraphUI
-
Main painting routine.
- paint(JGraph, Graphics) - Method in class org.jgraph.graph.BasicMarqueeHandler
-
Called after the component was repainted (after autoscroll).
- paintBackground(Graphics) - Method in class org.jgraph.plaf.basic.BasicGraphUI
-
Paint the background of this graph.
- paintBackgroundComponent(Graphics, Component) - Method in class org.jgraph.plaf.basic.BasicGraphUI
-
Requests that the component responsible for painting the background paint itself
- paintBackgroundComponent(Graphics, Component, Rectangle) - Method in class org.jgraph.plaf.basic.BasicGraphUI
-
Requests that the component responsible for painting the background paint itself
- paintBackgroundImage(Graphics, Rectangle) - Method in class org.jgraph.plaf.basic.BasicGraphUI
-
Hook for subclassers to paint the background image.
- paintCell(Graphics, CellView, Rectangle2D, boolean) - Method in class org.jgraph.plaf.basic.BasicGraphUI
-
Paints the renderer of
view
tog
atbounds
. - paintCell(Graphics, CellView, Rectangle2D, boolean) - Method in class org.jgraph.plaf.GraphUI
-
Paints the renderer of
view
tog
atbounds
. - paintCells(Graphics, Rectangle2D) - Method in class org.jgraph.plaf.basic.BasicGraphUI
-
Hook method to allow subclassers to alter just the cell painting functionality
- paintEdge(Graphics) - Method in class org.jgraph.graph.EdgeRenderer
-
Paints the edge itself
- paintForeground(Graphics) - Method in class org.jgraph.plaf.basic.BasicGraphUI
-
Paint the foreground of this graph.
- paintGrid(double, Graphics, Rectangle2D) - Method in class org.jgraph.plaf.basic.BasicGraphUI
-
Paint the grid.
- paintLabel(Graphics, String, Point2D, boolean) - Method in class org.jgraph.graph.EdgeRenderer
-
Paint the specified label for the current edgeview.
- paintLabels(Graphics) - Method in class org.jgraph.graph.EdgeRenderer
-
Draws the edge labels
- paintOverlay(Graphics) - Method in class org.jgraph.plaf.basic.BasicGraphUI
-
Hook method to paints the overlay
- paintPort(Graphics, CellView) - Method in class org.jgraph.graph.EdgeView.EdgeHandle
- paintPorts(Graphics, CellView[]) - Method in class org.jgraph.plaf.basic.BasicGraphUI
-
Paint
ports
. - paintPorts(Graphics, CellView[]) - Method in class org.jgraph.plaf.GraphUI
-
Paints the renderers of
portViews
tog
. - paintSelection(Graphics) - Method in class org.jgraph.graph.EdgeRenderer
-
Paints any selection effect applied to the edge
- paintSelectionBorder(Graphics) - Method in class org.jgraph.graph.EdgeRenderer
-
Provided for subclassers to paint a selection border.
- paintSelectionBorder(Graphics) - Method in class org.jgraph.graph.VertexRenderer
-
Provided for subclassers to paint a selection border.
- ParallelEdgeRouter - Class in org.jgraph.util
-
A routing algorithm that
- ParallelEdgeRouter() - Constructor for class org.jgraph.util.ParallelEdgeRouter
- paramString() - Method in class org.jgraph.JGraph
-
Returns a string representation of this
JGraph
. - parent - Variable in class org.jgraph.graph.AbstractCellView
-
Cached parent view
- parent - Variable in class org.jgraph.graph.ParentMap.Entry
-
Child and parent of the relation this entry describes.
- parentMap - Variable in class org.jgraph.graph.DefaultGraphModel.GraphModelEdit
- ParentMap - Class in org.jgraph.graph
-
An object that describes relations between childs and parents.
- ParentMap() - Constructor for class org.jgraph.graph.ParentMap
-
Constructs a
ParentMap
object. - ParentMap(Object[], Object) - Constructor for class org.jgraph.graph.ParentMap
-
Constructs a
ParentMap
object. - ParentMap.Entry - Class in org.jgraph.graph
-
Object that represents the relation between a child an a parent.
- partial - Variable in class org.jgraph.graph.GraphLayoutCache
-
Only portions of the model are visible.
- PERMILLE - Static variable in class org.jgraph.graph.GraphConstants
-
100 percent unit for relative positioning.
- pm - Variable in class org.jgraph.graph.GraphTransferable
-
Object that describes the group structure between cells.
- points - Variable in class org.jgraph.graph.EdgeView
-
List of points of the edge.
- POINTS - Static variable in class org.jgraph.graph.GraphConstants
-
Key for the
points
attribute. - port - Variable in class org.jgraph.graph.ConnectionSet.Connection
-
The port that will be connected to the edge.
- Port - Interface in org.jgraph.graph
-
Defines the requirements for an object that represents a port in a graph model.
- PortRenderer - Class in org.jgraph.graph
-
This renderer displays entries that implement the CellView interface and supports the following attributes: GraphConstants.OFFSET GraphConstants.ABSOLUTE </li
- PortRenderer() - Constructor for class org.jgraph.graph.PortRenderer
-
Constructs a renderer that may be used to render ports.
- ports - Variable in class org.jgraph.graph.GraphLayoutCache
-
Cached array of all ports for the view.
- PORTS_SCALED_PROPERTY - Static variable in class org.jgraph.JGraph
-
Bound property name for
portsScaled
. - PORTS_VISIBLE_PROPERTY - Static variable in class org.jgraph.JGraph
-
Bound property name for
gridVisible
. - portsOnTop - Variable in class org.jgraph.JGraph
-
True if port are painted above all other cells.
- portsScaled - Variable in class org.jgraph.JGraph
-
True if the ports are scaled.
- portsVisible - Variable in class org.jgraph.JGraph
-
True if the ports are visible.
- PortView - Class in org.jgraph.graph
-
The default implementation of a port view.
- PortView() - Constructor for class org.jgraph.graph.PortView
-
Constructs an empty portview.
- PortView(Object) - Constructor for class org.jgraph.graph.PortView
-
Constructs a view that holds a reference to the specified cell, anchor and parent vertex.
- portViews - Variable in class org.jgraph.graph.VertexView.SizeHandle
- portViews - Variable in class org.jgraph.plaf.basic.BasicGraphUI.RootHandle
- postProcessSelection(MouseEvent, Object, boolean) - Method in class org.jgraph.plaf.basic.BasicGraphUI.MouseHandler
-
Invoked after a cell has been selected in the mouseReleased method.
- preferredMinSize - Variable in class org.jgraph.plaf.basic.BasicGraphUI
-
Minimum preferred size.
- preferredSize - Variable in class org.jgraph.plaf.basic.BasicGraphUI
-
Size needed to completely display all the cells.
- prepareForEditing() - Method in class org.jgraph.graph.DefaultGraphCellEditor
-
Invoked just before editing is to start.
- prepareForUIInstall() - Method in class org.jgraph.plaf.basic.BasicGraphUI
-
Invoked after the
graph
instance variable has been set, but before any defaults/listeners have been installed. - prev - Variable in class org.jgraph.graph.DefaultGraphModel.GraphModelLayerEdit
- preview - Variable in class org.jgraph.graph.EdgeRenderer
-
Boolean attributes of the current edgeview.
- preview - Variable in class org.jgraph.graph.PortRenderer
-
Cached hasFocus and selected value.
- preview - Variable in class org.jgraph.graph.VertexRenderer
-
Cached hasFocus and selected value.
- PREVIEW_EDGE_GROUPS - Static variable in class org.jgraph.graph.GraphContext
-
Switch to enable the preview of edge groups, that is, edges that 1 or more children, as part of the context cells.
- previewInvalidNullPorts - Variable in class org.jgraph.JGraph
-
True if the graph allows invalid null ports during previews (aka flip back edges).
- previousAttributes - Variable in class org.jgraph.graph.DefaultGraphModel.GraphModelEdit
- previousAttributes - Variable in class org.jgraph.graph.GraphLayoutCache.GraphLayoutCacheEdit
- previousCells - Variable in class org.jgraph.graph.GraphLayoutCache.GraphLayoutCacheEdit
- previousConnectionSet - Variable in class org.jgraph.graph.DefaultGraphModel.GraphModelEdit
- previousCursor - Variable in class org.jgraph.graph.BasicMarqueeHandler
- previousCursor - Variable in class org.jgraph.plaf.basic.BasicGraphUI.MouseHandler
- previousParentMap - Variable in class org.jgraph.graph.DefaultGraphModel.GraphModelEdit
- processMouseDraggedEvent(MouseEvent) - Method in class org.jgraph.graph.BasicMarqueeHandler
-
Called from mouse dragged to update the marquee state during a repaint.
- processNestedMap(Map, boolean) - Method in class org.jgraph.graph.EdgeView.EdgeHandle
- PROPERTY_BACKGROUNDIMAGE - Static variable in class org.jgraph.JGraph
-
Bound property name for
backgroundImage
. - propertyChange(PropertyChangeEvent) - Method in class org.jgraph.plaf.basic.BasicGraphUI.PropertyChangeHandler
- PropertyChangeHandler() - Constructor for class org.jgraph.plaf.basic.BasicGraphUI.PropertyChangeHandler
- propertyChangeListener - Variable in class org.jgraph.plaf.basic.BasicGraphUI
-
Listens for JGraph property changes and updates display.
- putMapping(Object, CellView) - Method in interface org.jgraph.graph.CellMapper
-
Inserts the association between
cell
andview
. - putMapping(Object, CellView) - Method in class org.jgraph.graph.GraphContext
-
Associates
cell
withview
in the graph context. - putMapping(Object, CellView) - Method in class org.jgraph.graph.GraphLayoutCache
-
Associates the specified model cell with the specified view.
- putViews(GraphLayoutCache, CellView[]) - Method in interface org.jgraph.event.GraphModelEvent.GraphModelChange
-
Allows a
GraphLayoutCache
to store cell views for cells that have been removed. - putViews(GraphLayoutCache, CellView[]) - Method in class org.jgraph.graph.DefaultGraphModel.GraphModelEdit
- putViews(GraphLayoutCache, CellView[]) - Method in class org.jgraph.graph.DefaultGraphModel.GraphModelLayerEdit
-
Returns the views that have not changed explicitly, but implicitly because one of their dependent cells has changed.
R
- r - Variable in class org.jgraph.graph.EdgeView.EdgeHandle
- r - Variable in class org.jgraph.graph.VertexView.SizeHandle
- realEditor - Variable in class org.jgraph.graph.DefaultGraphCellEditor
-
Editor handling the editing.
- reconnectsEdgesToVisibleParent - Variable in class org.jgraph.graph.GraphLayoutCache
-
Deprecated.edges are moved to parent view and back automatically
- RectUtils - Class in org.jgraph.util
- RectUtils() - Constructor for class org.jgraph.util.RectUtils
- redo() - Method in class org.jgraph.graph.DefaultGraphModel.GraphModelEdit
-
Redoes a change.
- redo() - Method in class org.jgraph.graph.DefaultGraphModel.GraphModelLayerEdit
-
Redoes a change.
- redo() - Method in class org.jgraph.graph.ExecutableChange
- redo() - Method in class org.jgraph.graph.GraphLayoutCache.GraphLayoutCacheEdit
-
Redoes a change.
- redo(Object) - Method in class org.jgraph.graph.GraphUndoManager
-
If this
UndoManager
isinProgress
, redoes the last significantUndoableEdit
with respect to source or after, and all insignificant edits up to it. - refresh() - Method in class org.jgraph.JGraph
-
Repaints the entire graph, regardless of what is marked dirty
- refresh(CellView[], boolean) - Method in class org.jgraph.graph.GraphLayoutCache
- refresh(CellView, boolean) - Method in class org.jgraph.graph.GraphLayoutCache
- refresh(GraphLayoutCache, CellMapper, boolean) - Method in class org.jgraph.graph.AbstractCellView
-
Create child views and reload properties for this view.
- refresh(GraphLayoutCache, CellMapper, boolean) - Method in interface org.jgraph.graph.CellView
-
Refresh this view based on the model cell.
- refresh(GraphLayoutCache, CellMapper, boolean) - Method in class org.jgraph.graph.EdgeView
-
Overrides the parent method to udpate the cached points, source and target port.
- releaseOffscreenResources() - Method in class org.jgraph.JGraph
-
Schedules the offscreen resources taken by the offscreen buffer to be reclaimed.
- relevantEdge - Variable in class org.jgraph.graph.EdgeView.EdgeHandle
- reload() - Method in class org.jgraph.graph.GraphLayoutCache
-
Remaps all existing views using the CellViewFactory and replaces the respective root views.
- reloadPoints(EdgeView) - Method in class org.jgraph.graph.EdgeView.EdgeHandle
- reloadRoots() - Method in class org.jgraph.graph.GraphLayoutCache
-
Completely reloads all roots from the model in the order returned by DefaultGraphModel.getAll.
- remembersCellViews - Variable in class org.jgraph.graph.GraphLayoutCache
-
Boolean indicating whether cellviews should be remembered once visible in this GraphLayoutCache.
- remove - Variable in class org.jgraph.graph.DefaultGraphModel.GraphModelEdit
- remove() - Method in class org.jgraph.graph.DefaultGraphModel.EmptyIterator
- remove(Object[]) - Method in class org.jgraph.graph.DefaultGraphModel
-
Removes
cells
from the model. - remove(Object[]) - Method in class org.jgraph.graph.GraphLayoutCache
-
Removes
cells
from the model. - remove(Object[]) - Method in interface org.jgraph.graph.GraphModel
-
Removes
cells
from the model. - remove(Object[], boolean, boolean) - Method in class org.jgraph.graph.GraphLayoutCache
-
Removes cells from the model, including all children and connected edges if
children
oredges
is true, respectively. - REMOVEALL - Static variable in class org.jgraph.graph.GraphConstants
-
Key for the
removeAll
attribute. - REMOVEATTRIBUTES - Static variable in class org.jgraph.graph.GraphConstants
-
Key for the
removeAttributes
attribute. - removeCellEditorListener(CellEditorListener) - Method in class org.jgraph.graph.DefaultGraphCellEditor
-
Removes the previously added CellEditorListener l.
- removeCells(Object[]) - Method in class org.jgraph.graph.GraphLayoutCache
-
Removes the specified model root cells from the view by removing the mapping between the cell and its view and makes the cells invisible.
- removed - Variable in class org.jgraph.graph.DefaultGraphModel.GraphModelEdit
- removeEdge(Object) - Method in class org.jgraph.graph.DefaultPort
-
Removes
edge
from the list of edges. - removeEdge(Object) - Method in interface org.jgraph.graph.Port
-
Removes
edge
from the list of ports. - removeEmptyGroups - Variable in class org.jgraph.graph.DefaultGraphModel
-
Whether or not to remove group cells from the model when all of their children are removed
- removeExtraLabel(int) - Method in class org.jgraph.graph.EdgeView
-
Removes the point at position
index
. - removeFromParent() - Method in class org.jgraph.graph.AbstractCellView
-
Removes this view from the list of children of the parent.
- removeFromParent() - Method in interface org.jgraph.graph.CellView
-
Removes this view from the list of childs of the parent.
- removeFromSource() - Method in class org.jgraph.plaf.basic.BasicGraphUI.MouseInputHandler
- removeGraphLayoutCacheListener(GraphLayoutCacheListener) - Method in class org.jgraph.graph.GraphLayoutCache
-
Removes a listener previously added with addGraphLayoutCacheListener() .
- removeGraphModelListener(GraphModelListener) - Method in class org.jgraph.graph.DefaultGraphModel
-
Removes a listener previously added with addGraphModelListener() .
- removeGraphModelListener(GraphModelListener) - Method in interface org.jgraph.graph.GraphModel
-
Removes a listener previously added with addGraphModelListener() .
- removeGraphSelectionListener(GraphSelectionListener) - Method in class org.jgraph.graph.DefaultGraphSelectionModel
-
Removes x from the list of listeners that are notified each time the set of selected TreePaths changes.
- removeGraphSelectionListener(GraphSelectionListener) - Method in interface org.jgraph.graph.GraphSelectionModel
-
Removes x from the list of listeners that are notified each time the set of selected Objects changes.
- removeGraphSelectionListener(GraphSelectionListener) - Method in class org.jgraph.JGraph
-
Removes a
GraphSelection
listener. - removeMapping(Object) - Method in class org.jgraph.graph.GraphLayoutCache
-
Removes the association for the specified model cell and returns the view that was previously associated with the cell.
- removePoint(int) - Method in class org.jgraph.graph.EdgeView
-
Removes the point at position
index
. - removePropertyChangeListener(PropertyChangeListener) - Method in class org.jgraph.graph.DefaultGraphSelectionModel
-
Removes a PropertyChangeListener from the listener list.
- removePropertyChangeListener(PropertyChangeListener) - Method in interface org.jgraph.graph.GraphSelectionModel
-
Removes a PropertyChangeListener from the listener list.
- removeSelectionCell(Object) - Method in class org.jgraph.graph.DefaultGraphSelectionModel
-
Removes the specified cell from the selection.
- removeSelectionCell(Object) - Method in interface org.jgraph.graph.GraphSelectionModel
-
Removes cell from the selection.
- removeSelectionCell(Object) - Method in class org.jgraph.JGraph
-
Removes the cell identified by the specified Object from the current selection.
- removeSelectionCells(Object[]) - Method in class org.jgraph.graph.DefaultGraphSelectionModel
-
Removes the specified cells from the selection.
- removeSelectionCells(Object[]) - Method in interface org.jgraph.graph.GraphSelectionModel
-
Removes cells from the selection.
- removeSelectionCells(Object[]) - Method in class org.jgraph.JGraph.EmptySelectionModel
-
A
null
implementation that removes nothing. - removeUndoableEditListener(UndoableEditListener) - Method in interface org.jgraph.graph.GraphModel
-
Removes an undo listener.
- removeViewLocalAttribute(Object, boolean, boolean) - Method in class org.jgraph.graph.GraphLayoutCache
-
Handles the removal of view local attributes.
- renderer - Static variable in class org.jgraph.graph.EdgeView
-
Renderer for the class.
- renderer - Static variable in class org.jgraph.graph.PortView
-
Renderer for the class.
- renderer - Static variable in class org.jgraph.graph.VertexView
-
Renderer for the class.
- rendererPane - Variable in class org.jgraph.plaf.basic.BasicGraphUI
-
Used to paint the CellRenderer.
- repaint(long, int, int, int, int) - Method in class org.jgraph.graph.EdgeRenderer
-
Overridden for performance reasons.
- repaint(long, int, int, int, int) - Method in class org.jgraph.graph.PortRenderer
-
Overridden for performance reasons.
- repaint(long, int, int, int, int) - Method in class org.jgraph.graph.VertexRenderer
-
Overridden for performance reasons.
- repaint(Rectangle) - Method in class org.jgraph.graph.EdgeRenderer
-
Overridden for performance reasons.
- repaint(Rectangle) - Method in class org.jgraph.graph.PortRenderer
-
Overridden for performance reasons.
- repaint(Rectangle) - Method in class org.jgraph.graph.VertexRenderer
-
Overridden for performance reasons.
- repeatKeyAction - Variable in class org.jgraph.plaf.basic.BasicGraphUI.KeyHandler
-
Key code that is being generated for.
- REPLACEATTRIBUTES - Static variable in class org.jgraph.graph.GraphConstants
-
Key for the
replaceAttributes
attribute. - replaceKeys(Map, Map) - Static method in class org.jgraph.graph.GraphConstants
-
Replace the keys in
map
usingkeyMap</code, which maps from old to new keys.
- resetAttributes() - Method in class org.jgraph.graph.VertexRenderer
-
Hook for subclassers that is invoked when the installAttributes is not called to reset all attributes to the defaults.
- RESIZE - Static variable in class org.jgraph.graph.GraphConstants
-
Key for the
resize
attribute. - resizesParentsOnCollapse - Variable in class org.jgraph.graph.GraphLayoutCache
-
Boolean indicating whether parents should always be resized to the child area on collapse.
- restoreComponentState(JComponent) - Method in class org.jgraph.plaf.basic.BasicGraphDropTargetListener
-
called to restore the state of a component in case a drop is not performed.
- restoreComponentState(JComponent) - Method in class org.jgraph.plaf.basic.BasicGraphUI.GraphDropTargetListener
-
called to restore the state of a component because a drop was not performed.
- restoreComponentStateForDrop(JComponent) - Method in class org.jgraph.plaf.basic.BasicGraphDropTargetListener
-
called to restore the state of a component in case a drop is performed.
- revalidate() - Method in class org.jgraph.graph.EdgeRenderer
-
Overridden for performance reasons.
- revalidate() - Method in class org.jgraph.graph.PortRenderer
-
Overridden for performance reasons.
- revalidate() - Method in class org.jgraph.graph.VertexRenderer
-
Overridden for performance reasons.
- RootHandle(GraphContext) - Constructor for class org.jgraph.plaf.basic.BasicGraphUI.RootHandle
-
Creates a root handle which contains handles for the given cells.
- roots - Variable in class org.jgraph.graph.DefaultGraphModel
-
Set that contains all root cells of this model.
- roots - Variable in class org.jgraph.graph.GraphLayoutCache
-
Ordered list of roots for the view.
- route(GraphLayoutCache, EdgeView) - Method in class org.jgraph.graph.DefaultEdge.LoopRouting
- route(GraphLayoutCache, EdgeView) - Method in interface org.jgraph.graph.Edge.Routing
-
Returns the points to be used for the edge.
- routeEdge(GraphLayoutCache, EdgeView) - Method in class org.jgraph.graph.DefaultEdge.DefaultRouting
- routeEdge(GraphLayoutCache, EdgeView) - Method in class org.jgraph.graph.DefaultEdge.LoopRouting
- routeEdge(GraphLayoutCache, EdgeView) - Method in class org.jgraph.util.ParallelEdgeRouter
-
Calc of intermediates points
- routeLoop(GraphLayoutCache, EdgeView) - Method in class org.jgraph.graph.DefaultEdge.LoopRouting
- ROUTING - Static variable in class org.jgraph.graph.GraphConstants
-
Key for the
routing
attribute. - ROUTING_DEFAULT - Static variable in class org.jgraph.graph.GraphConstants
-
The default routing that deals with loops.
- ROUTING_SIMPLE - Static variable in class org.jgraph.graph.GraphConstants
-
A simple routing.
S
- saveComponentState(JComponent) - Method in class org.jgraph.plaf.basic.BasicGraphDropTargetListener
-
called to save the state of a component in case it needs to be restored because a drop is not performed.
- saveComponentState(JComponent) - Method in class org.jgraph.plaf.basic.BasicGraphUI.GraphDropTargetListener
-
called to save the state of a component in case it needs to be restored because a drop is not performed.
- scale - Variable in class org.jgraph.JGraph
-
Scale of the graph.
- scale(double, double, Point2D) - Method in class org.jgraph.graph.AbstractCellView
-
Scale
view
(group) bysx, sy
. - scale(double, double, Point2D) - Method in class org.jgraph.graph.AttributeMap
-
Scales
map
by the given amount. - SCALE_PROPERTY - Static variable in class org.jgraph.JGraph
-
Bound property name for
scale
. - scrollBar - Variable in class org.jgraph.plaf.basic.BasicGraphUI.ComponentHandler
-
ScrollBar that is being adjusted.
- SCROLLBORDER - Static variable in class org.jgraph.plaf.basic.BasicGraphUI
-
Border in pixels to scroll if marquee or dragging are active.
- scrollCellToVisible(Object) - Method in class org.jgraph.JGraph
-
Scrolls to the specified cell.
- scrollPointToVisible(Point2D) - Method in class org.jgraph.JGraph
-
Makes sure the specified point is visible.
- SCROLLSTEP - Static variable in class org.jgraph.plaf.basic.BasicGraphUI
-
Multiplicator for width and height when autoscrolling (=stepsize).
- select(Set, Object) - Method in class org.jgraph.graph.DefaultGraphSelectionModel
-
Selects a single cell and updates all datastructures.
- SELECTABLE - Static variable in class org.jgraph.graph.GraphConstants
-
Key for the
selectable
attribute. - selectCellForEvent(Object, MouseEvent) - Method in class org.jgraph.plaf.basic.BasicGraphUI
-
Messaged to update the selection based on a MouseEvent over a particular cell.
- selectCellsForEvent(Object[], MouseEvent) - Method in class org.jgraph.plaf.basic.BasicGraphUI
-
Messaged to update the selection based on a MouseEvent for a group of cells.
- selectCellsForEvent(JGraph, Object[], MouseEvent) - Method in class org.jgraph.plaf.basic.BasicGraphUI
-
From GraphUI interface.
- selectCellsForEvent(JGraph, Object[], MouseEvent) - Method in class org.jgraph.plaf.GraphUI
-
Messaged to update the selection based on a MouseEvent for a group of cells.
- selected - Variable in class org.jgraph.graph.EdgeRenderer
-
Boolean attributes of the current edgeview.
- selected - Variable in class org.jgraph.graph.PortRenderer
-
Cached hasFocus and selected value.
- selected - Variable in class org.jgraph.graph.VertexRenderer
-
Cached hasFocus and selected value.
- SELECTED - Static variable in class org.jgraph.graph.DefaultGraphSelectionModel
-
Value that represents selected state in cellStates.
- selection - Variable in class org.jgraph.graph.DefaultGraphSelectionModel
-
List that contains the selected items.
- SELECTION_MODE_PROPERTY - Static variable in class org.jgraph.graph.DefaultGraphSelectionModel
-
Property name for selectionMode.
- SELECTION_MODEL_PROPERTY - Static variable in class org.jgraph.JGraph
-
Bound property name for
selectionModel
. - SELECTION_STROKE - Static variable in class org.jgraph.graph.GraphConstants
- selectionEnabled - Variable in class org.jgraph.JGraph
-
True if the graph allows selection of cells.
- SELECTIONENABLED_PROPERTY - Static variable in class org.jgraph.JGraph
-
Bound property name for
selectionEnabled
. - selectionMode - Variable in class org.jgraph.graph.DefaultGraphSelectionModel
-
Mode for the selection, will be either SINGLE_TREE_SELECTION, CONTIGUOUS_TREE_SELECTION or DISCONTIGUOUS_TREE_SELECTION.
- selectionModel - Variable in class org.jgraph.JGraph
-
Models the set of selected objects in this graph.
- selectionRedirector - Variable in class org.jgraph.JGraph
-
Creates a new event and passes it off the
selectionListeners
. - selectsAllInsertedCells - Variable in class org.jgraph.graph.GraphLayoutCache
-
Boolean indicating whether inserted cells should automatically be selected.
- selectsLocalInsertedCells - Variable in class org.jgraph.graph.GraphLayoutCache
-
Boolean indicating whether cells that are inserted using the local insert method should automatically be selected.
- SerializablePoint2D() - Constructor for class org.jgraph.graph.AttributeMap.SerializablePoint2D
- SerializablePoint2D(double, double) - Constructor for class org.jgraph.graph.AttributeMap.SerializablePoint2D
- SerializableRectangle2D() - Constructor for class org.jgraph.graph.AttributeMap.SerializableRectangle2D
- SerializableRectangle2D(double, double, double, double) - Constructor for class org.jgraph.graph.AttributeMap.SerializableRectangle2D
- setAbsolute(Map, boolean) - Static method in class org.jgraph.graph.GraphConstants
-
Sets the absolute attributes in the specified map to the specified value.
- setAbsoluteX(Map, boolean) - Static method in class org.jgraph.graph.GraphConstants
-
Sets the absolutex attribute in the specified map to the specified value.
- setAbsoluteY(Map, boolean) - Static method in class org.jgraph.graph.GraphConstants
-
Sets the absolutey attribute in the specified map to the specified value.
- setAllAttributesLocal(boolean) - Method in class org.jgraph.graph.GraphLayoutCache
- setAlwaysReceiveAsCopyAction(boolean) - Method in class org.jgraph.graph.GraphTransferHandler
- setAnchor(Port) - Method in class org.jgraph.graph.DefaultPort
-
Sets the anchor of this port.
- setAnchor(Port) - Method in interface org.jgraph.graph.Port
-
Sets the anchor of the port.
- setAntiAliased(boolean) - Method in class org.jgraph.JGraph
-
Sets antialiasing on or off based on the boolean value.
- setAttributes(AttributeMap) - Method in class org.jgraph.graph.AbstractCellView
-
Sets the attributes of this view to the specified value
- setAttributes(AttributeMap) - Method in class org.jgraph.graph.DefaultGraphCell
-
Sets the attributes.
- setAttributes(AttributeMap) - Method in interface org.jgraph.graph.GraphCell
-
Sets the attributes
- setAutoResizeGraph(boolean) - Method in class org.jgraph.JGraph
-
Sets whether or not the graph should be automatically resize when cells are being moved below the bottom right corner
- setAutoSize(Map, boolean) - Static method in class org.jgraph.graph.GraphConstants
-
Sets the autosize attribute in the specified map to the specified value.
- setAutoSizeOnValueChange(boolean) - Method in class org.jgraph.graph.GraphLayoutCache
-
Determines whether cells should be auto-sized when their values change.
- setBackground(Color) - Method in class org.jgraph.JGraph
-
Override parent to clear offscreen double buffer
- setBackground(Map, Color) - Static method in class org.jgraph.graph.GraphConstants
-
Sets the background attribute in the specified map to the specified value.
- setBackgroundComponent(Component) - Method in class org.jgraph.JGraph
- setBackgroundImage(ImageIcon) - Method in class org.jgraph.JGraph
-
Sets the background image.
- setBackgroundScaled(boolean) - Method in class org.jgraph.JGraph
- setBeginFill(Map, boolean) - Static method in class org.jgraph.graph.GraphConstants
-
Sets the beginfill attribute in the specified map to the specified value.
- setBeginSize(Map, int) - Static method in class org.jgraph.graph.GraphConstants
-
Sets the beginsize attribute in the specified map to the specified value.
- setBendable(boolean) - Method in class org.jgraph.JGraph
-
Sets if the graph allows adding/removing/modifying points.
- setBendable(Map, boolean) - Static method in class org.jgraph.graph.GraphConstants
-
Sets the bendable attribute in the specified map to the specified value.
- setBorder(Map, Border) - Static method in class org.jgraph.graph.GraphConstants
-
Sets the border attribute in the specified map to the specified value.
- setBorderColor(Map, Color) - Static method in class org.jgraph.graph.GraphConstants
-
Sets the bordercolor attribute in the specified map to the specified value.
- setBorderSelectionColor(Color) - Method in class org.jgraph.graph.DefaultGraphCellEditor
-
Sets the color to use for the border.
- setBounds(Rectangle2D) - Method in class org.jgraph.graph.AbstractCellView
-
Sets the bounds of this
view
. - setBounds(Map, Rectangle2D) - Static method in class org.jgraph.graph.GraphConstants
-
Sets the bounds attribute in the specified map to the specified value.
- setCachedBounds(Rectangle2D) - Method in class org.jgraph.graph.VertexView
- setCell(Object) - Method in class org.jgraph.graph.AbstractCellView
-
Sets the model object that this view represents to the specified cell
- setCell(Object) - Method in class org.jgraph.graph.DefaultGraphSelectionModel.CellPlaceHolder
-
Sets the cell.
- setChildrenSelectable(boolean) - Method in class org.jgraph.graph.DefaultGraphSelectionModel
-
Sets if the selection model allows the selection of children.
- setChildrenSelectable(boolean) - Method in interface org.jgraph.graph.GraphSelectionModel
-
Sets if the selection model allows the selection of children.
- setChildrenSelectable(Map, boolean) - Static method in class org.jgraph.graph.GraphConstants
-
Sets the childrenselectable attribute in the specified map to the specified value.
- setCloneable(boolean) - Method in class org.jgraph.JGraph
-
Sets if cells are cloned on CTRL-Drag operations.
- setCollapsedState(Object[], Object[]) - Method in class org.jgraph.graph.GraphLayoutCache
-
Collapses and/or expands the specified cell(s) NOTE: Your GraphLayoutCache must be
partial
(setpartial
totrue
in the constructor) in order to use the visibility functionality of expand/collapse, setVisible, etc. - setCollapseXScale(double) - Method in class org.jgraph.graph.GraphLayoutCache
- setCollapseYScale(double) - Method in class org.jgraph.graph.GraphLayoutCache
- setConnectable(boolean) - Method in class org.jgraph.JGraph
-
Setse if the graph allows new connections to be established.
- setConnectable(Map, boolean) - Static method in class org.jgraph.graph.GraphConstants
-
Sets the connectable attribute in the specified map to the specified value.
- setConnections(Set) - Method in class org.jgraph.graph.ConnectionSet
- setConstrained(Map, boolean) - Static method in class org.jgraph.graph.GraphConstants
-
Sets the constrained attribute in the specified map to the specified value.
- setCurrentPoint(Point2D) - Method in class org.jgraph.graph.BasicMarqueeHandler
-
Sets the currentPoint.
- setDashOffset(Map, float) - Static method in class org.jgraph.graph.GraphConstants
-
Sets the dashoffset attribute in the specified map to the specified value.
- setDashPattern(Map, float[]) - Static method in class org.jgraph.graph.GraphConstants
-
Sets the dashpattern attribute in the specified map to the specified value.
- setDirtyRegion(Rectangle2D) - Method in interface org.jgraph.event.GraphLayoutCacheEvent.GraphLayoutCacheChange
-
In some cases the class firing this event will not have access to the dirty region prior to the change.
- setDirtyRegion(Rectangle2D) - Method in class org.jgraph.graph.DefaultGraphModel.GraphModelEdit
- setDirtyRegion(Rectangle2D) - Method in class org.jgraph.graph.DefaultGraphModel.GraphModelLayerEdit
- setDirtyRegion(Rectangle2D) - Method in class org.jgraph.graph.GraphLayoutCache.GraphLayoutCacheEdit
- setDisconnectable(boolean) - Method in class org.jgraph.JGraph
-
Sets if the graph allows existing connections to be removed.
- setDisconnectable(Map, boolean) - Static method in class org.jgraph.graph.GraphConstants
-
Sets the disconnectable attribute in the specified map to the specified value.
- setDisconnectOnMove(boolean) - Method in class org.jgraph.JGraph
-
Sets if selected edges should be disconnected from unselected vertices when they are moved.
- setDragEnabled(boolean) - Method in class org.jgraph.JGraph
-
Sets if the graph uses Drag-and-Drop to move cells.
- setDropEnabled(boolean) - Method in class org.jgraph.JGraph
-
Sets if the graph accepts drops/pastes from external sources.
- setEdge(Object) - Method in class org.jgraph.graph.ConnectionSet.Connection
- setEdgeDeparture(double) - Static method in class org.jgraph.util.ParallelEdgeRouter
-
Setter to define distance between intermediate and source/target points
- setEdgeLabelsMovable(boolean) - Method in class org.jgraph.JGraph
-
Set if edge labels may be moved with the mouse or not.
- setEdges(Set) - Method in class org.jgraph.graph.ConnectionSet
- setEdges(Set) - Method in class org.jgraph.graph.DefaultPort
-
Sets the collection of edges connected to this port.
- setEdgeSeparation(double) - Static method in class org.jgraph.util.ParallelEdgeRouter
-
Setter to define distance between each parallel edge
- setEditable(boolean) - Method in class org.jgraph.JGraph
-
Determines whether the graph is editable.
- setEditable(Map, boolean) - Static method in class org.jgraph.graph.GraphConstants
-
Sets the editable attribute in the specified map to the specified value.
- setEditClickCount(int) - Method in class org.jgraph.JGraph
-
Sets the number of clicks for editing to start.
- setEndFill(Map, boolean) - Static method in class org.jgraph.graph.GraphConstants
-
Sets the endfill attribute in the specified map to the specified value.
- setEndSize(Map, int) - Static method in class org.jgraph.graph.GraphConstants
-
Sets the endsize attribute in the specified map to the specified value.
- setExactSegmentLabel(Map, boolean) - Static method in class org.jgraph.graph.GraphConstants
-
Sets the exact segment attribute in the specified map to the specified value.
- setExtraLabelPosition(int, Point2D) - Method in class org.jgraph.graph.EdgeView
-
Sets the description of the label position.
- setExtraLabelPositions(Map, Point2D[]) - Static method in class org.jgraph.graph.GraphConstants
-
Sets the labelpositions attribute in the specified map to the specified value.
- setExtraLabels(Map, Object[]) - Static method in class org.jgraph.graph.GraphConstants
-
Sets the array of additional labels.
- setFactory(CellViewFactory) - Method in class org.jgraph.graph.GraphLayoutCache
-
Sets the factory that creates the cell views.
- setFont(Font) - Method in class org.jgraph.graph.DefaultGraphCellEditor
-
Sets the font to edit with.
- setFont(Map, Font) - Static method in class org.jgraph.graph.GraphConstants
-
Sets the value attribute in the specified map to the specified font value.
- setForeground(Map, Color) - Static method in class org.jgraph.graph.GraphConstants
-
Sets the foregrund attribute in the specified map to the specified value.
- setGradientColor(Color) - Method in class org.jgraph.graph.EdgeRenderer
- setGradientColor(Color) - Method in class org.jgraph.graph.VertexRenderer
- setGradientColor(Map, Color) - Static method in class org.jgraph.graph.GraphConstants
-
Sets the gradientcolor attribute in the specified map to the specified value.
- setGraph(JGraph) - Method in class org.jgraph.graph.DefaultGraphCellEditor
-
Sets the tree currently editing for.
- setGraph(JGraph) - Static method in class org.jgraph.util.ParallelEdgeRouter
-
Deprecated.graph instance retained internally
- setGraphLayoutCache(GraphLayoutCache) - Method in class org.jgraph.JGraph
-
Sets the
GraphLayoutCache
that will provide the view-data. - setGraphLayoutCache(GraphLayoutCache) - Method in class org.jgraph.plaf.basic.BasicGraphUI
-
Sets the GraphLayoutCache (geometric pattern).
- setGridColor(Color) - Method in class org.jgraph.JGraph
-
Sets the current grid color.
- setGridEnabled(boolean) - Method in class org.jgraph.JGraph
-
If set to true, the grid will be active.
- setGridMode(int) - Method in class org.jgraph.JGraph
-
Sets the current grid view mode.
- setGridSize(double) - Method in class org.jgraph.JGraph
-
Sets the size of the grid.
- setGridVisible(boolean) - Method in class org.jgraph.JGraph
-
If set to true, the grid will be visible.
- setGroupOpaque(Map, boolean) - Static method in class org.jgraph.graph.GraphConstants
-
Sets the opaque attribute in the specified map to the specified value.
- setGroupsEditable(boolean) - Method in class org.jgraph.JGraph
- setHandleColor(Color) - Method in class org.jgraph.JGraph
-
Sets the current handle color.
- setHandleSize(int) - Method in class org.jgraph.JGraph
-
Sets the size of the handles.
- setHeight(double) - Method in class org.jgraph.graph.AttributeMap.SerializableRectangle2D
- setHiddenSet(Map) - Method in class org.jgraph.graph.GraphLayoutCache
-
Sets the hiddenSet.
- setHidesDanglingConnections(boolean) - Method in class org.jgraph.graph.GraphLayoutCache
-
Sets the hidesDanglingConnections
- setHidesExistingConnections(boolean) - Method in class org.jgraph.graph.GraphLayoutCache
-
Sets the hidesExistingConnections
- setHighlightColor(Color) - Method in class org.jgraph.JGraph
-
Sets the current selection highlight color.
- setHorizontalAlignment(Map, int) - Static method in class org.jgraph.graph.GraphConstants
-
This method set the position of the label in vertex cells, and takes aruguments of type SwingConstants (for JLabel) i.e.
- setHorizontalTextPosition(Map, int) - Static method in class org.jgraph.graph.GraphConstants
-
This method set the text of a label on vertext cell relative to image.
- setIcon(Map, Icon) - Static method in class org.jgraph.graph.GraphConstants
-
Sets the icon attribute in the specified map to the specified value.
- setInsertionLocation(Point) - Method in class org.jgraph.plaf.basic.BasicGraphUI
-
Sets the current location for Drag-and-Drop activity.
- setInsertionLocation(Point) - Method in class org.jgraph.plaf.GraphUI
-
Sets the current location for Drag-and-Drop activity.
- setInset(Map, int) - Static method in class org.jgraph.graph.GraphConstants
-
Sets the inset attribute in the specified map to the specified value.
- setInvokesStopCellEditing(boolean) - Method in class org.jgraph.JGraph
-
Determines what happens when editing is interrupted by selecting another cell in the graph, a change in the graph's data, or by some other means.
- setJumpToDefaultPort(boolean) - Method in class org.jgraph.JGraph
-
Sets if getPortViewAt should return the default port if no other port is found.
- setLabelAlongEdge(Map, boolean) - Static method in class org.jgraph.graph.GraphConstants
-
Sets if the label should be painted along the edge.
- setLabelEnabled(Map, boolean) - Static method in class org.jgraph.graph.GraphConstants
-
Sets the label enabled attribute in the specified map to the specified value.
- setLabelPosition(Point2D) - Method in class org.jgraph.graph.EdgeView
-
Sets the description of the label position.
- setLabelPosition(Map, Point2D) - Static method in class org.jgraph.graph.GraphConstants
-
Sets the label position attribute in the specified map to the specified value.
- setLineBegin(Map, int) - Static method in class org.jgraph.graph.GraphConstants
-
Sets the LINEBEGIN attribute in the specified map to the specified value.
- setLineColor(Map, Color) - Static method in class org.jgraph.graph.GraphConstants
-
Sets the linecolor attribute in the specified map to the specified value.
- setLineEnd(Map, int) - Static method in class org.jgraph.graph.GraphConstants
-
Sets the LINEEND attribute in the specified map to the specified value.
- setLineStyle(Map, int) - Static method in class org.jgraph.graph.GraphConstants
-
Sets the linestyle attribute in the specified map to the specified value.
- setLineWidth(Map, float) - Static method in class org.jgraph.graph.GraphConstants
-
Sets the linewidth attribute in the specified map to the specified value.
- setLink(Map, String) - Static method in class org.jgraph.graph.GraphConstants
-
Sets the link attribute in the specified map to the specified value.
- setLocalAttributes(Set) - Method in class org.jgraph.graph.GraphLayoutCache
- setLockedHandleColor(Color) - Method in class org.jgraph.JGraph
-
Sets the current second handle color.
- setMarquee(BasicMarqueeHandler) - Method in class org.jgraph.plaf.basic.BasicGraphUI
-
Sets the marquee handler.
- setMarqueeBounds(Rectangle2D) - Method in class org.jgraph.graph.BasicMarqueeHandler
-
Sets the marqueeBounds.
- setMarqueeColor(Color) - Method in class org.jgraph.JGraph
-
Sets the current marquee color.
- setMarqueeHandler(BasicMarqueeHandler) - Method in class org.jgraph.JGraph
-
Sets the
MarqueeHandler
that will handle marquee selection. - setMinimumMove(int) - Method in class org.jgraph.JGraph
-
Sets the miminum amount of pixels for a move operation.
- setModel(GraphModel) - Method in class org.jgraph.graph.GraphLayoutCache
-
Sets the current model.
- setModel(GraphModel) - Method in class org.jgraph.JGraph
-
Sets the
GraphModel
that will provide the data. - setModel(GraphModel) - Method in class org.jgraph.plaf.basic.BasicGraphUI
-
Sets the GraphModel.
- setMoveable(boolean) - Method in class org.jgraph.JGraph
-
Sets if the graph allows movement of cells.
- setMoveable(Map, boolean) - Static method in class org.jgraph.graph.GraphConstants
-
Sets the moveable attribute in the specified map to the specified value.
- setMoveableAxis(Map, int) - Static method in class org.jgraph.graph.GraphConstants
-
Sets the moveableaxis attribute in the specified map to the specified value.
- setMoveBelowZero(boolean) - Method in class org.jgraph.JGraph
-
Sets if the graph should auto resize when cells are being moved below the bottom right corner.
- setMoveBeyondGraphBounds(boolean) - Method in class org.jgraph.JGraph
- setMoveIntoGroups(boolean) - Method in class org.jgraph.JGraph
-
Specifies if cells should be added to groups when moved over the group's area.
- setMoveOutOfGroups(boolean) - Method in class org.jgraph.JGraph
-
Specifies if cells should be removed from groups when removed from the group's area.
- setMovesChildrenOnExpand(boolean) - Method in class org.jgraph.graph.GraphLayoutCache
- setMovesParentsOnCollapse(boolean) - Method in class org.jgraph.graph.GraphLayoutCache
- setNew(boolean) - Method in class org.jgraph.graph.DefaultGraphSelectionModel.CellPlaceHolder
-
Sets the isNew.
- setOffscreenOffset(Point2D) - Method in class org.jgraph.JGraph
- setOffset(Map, Point2D) - Static method in class org.jgraph.graph.GraphConstants
-
Sets the offset attribute in the specified map to the specified value.
- setOpaque(boolean) - Method in class org.jgraph.JGraph
- setOpaque(Map, boolean) - Static method in class org.jgraph.graph.GraphConstants
-
Sets the opaque attribute in the specified map to the specified value.
- setParent(Object, Object) - Method in class org.jgraph.graph.DefaultGraphModel
-
Sets the parent of the specified cell.
- setPoint(int, Point2D) - Method in class org.jgraph.graph.EdgeView
-
Sets the point at
index
top
. - setPoints(Map, List) - Static method in class org.jgraph.graph.GraphConstants
-
Sets the points attribute in the specified map to the specified value.
- setPort(Object) - Method in class org.jgraph.graph.ConnectionSet.Connection
- setPortSize(int) - Method in class org.jgraph.graph.PortView
- setPortsOnTop(boolean) - Method in class org.jgraph.JGraph
- setPortsScaled(boolean) - Method in class org.jgraph.JGraph
-
If set to true, the ports will be scaled.
- setPortsVisible(boolean) - Method in class org.jgraph.JGraph
-
If set to true, the ports will be visible.
- setPreferredMinSize(Dimension) - Method in class org.jgraph.plaf.basic.BasicGraphUI
-
Sets the preferred minimum size.
- setPreviewInvalidNullPorts(boolean) - Method in class org.jgraph.JGraph
-
Determines whether the graph allows invalid null ports during previews
- setPreviousCursor(Cursor) - Method in class org.jgraph.graph.BasicMarqueeHandler
-
Sets the previousCursor.
- setReconnectsEdgesToVisibleParent(boolean) - Method in class org.jgraph.graph.GraphLayoutCache
-
Deprecated.edges are moved to parent view and back automatically
- setRemembersCellViews(boolean) - Method in class org.jgraph.graph.GraphLayoutCache
-
Sets the rememberCellViews.
- setRemoveAll(Map, boolean) - Static method in class org.jgraph.graph.GraphConstants
-
Sets the removeall attribute in the specified map to the specified value.
- setRemoveAttributes(Map, Object[]) - Static method in class org.jgraph.graph.GraphConstants
-
Sets specific attributes are being marked for removal @ param map The transport map indicating the attribute removal @ param value The attributes to be removed
- setRemoveEmptyGroups(boolean) - Method in class org.jgraph.graph.DefaultGraphModel
- setResize(Map, boolean) - Static method in class org.jgraph.graph.GraphConstants
-
Sets the resize attribute in the specified map to the specified value.
- setResizesParentsOnCollapse(boolean) - Method in class org.jgraph.graph.GraphLayoutCache
- setRouting(Map, Edge.Routing) - Static method in class org.jgraph.graph.GraphConstants
-
Sets the routing attribute in the specified map to the specified value.
- setScale(double) - Method in class org.jgraph.JGraph
-
Sets the current scale.
- setScale(double, Point2D) - Method in class org.jgraph.JGraph
-
Sets the current scale and centers the graph to the specified point
- setSelectable(Map, boolean) - Static method in class org.jgraph.graph.GraphConstants
-
Sets the selectable attribute in the specified map to the specified value.
- setSelectedChildCount(Object, int) - Method in class org.jgraph.graph.DefaultGraphSelectionModel
-
Sets the number of selected childs for
cell
tocount
. - setSelectionCell(Object) - Method in class org.jgraph.graph.DefaultGraphSelectionModel
-
Selects the specified cell.
- setSelectionCell(Object) - Method in interface org.jgraph.graph.GraphSelectionModel
-
Sets the selection to cell.
- setSelectionCell(Object) - Method in class org.jgraph.JGraph
-
Selects the specified cell.
- setSelectionCells(Object[]) - Method in class org.jgraph.graph.DefaultGraphSelectionModel
-
Sets the selection to
cells
. - setSelectionCells(Object[]) - Method in interface org.jgraph.graph.GraphSelectionModel
-
Sets the selection to cells.
- setSelectionCells(Object[]) - Method in class org.jgraph.JGraph.EmptySelectionModel
-
A
null
implementation that selects nothing. - setSelectionCells(Object[]) - Method in class org.jgraph.JGraph
-
Selects the specified cells.
- setSelectionEnabled(boolean) - Method in class org.jgraph.JGraph
-
Determines whether cell selection is enabled.
- setSelectionMode(int) - Method in class org.jgraph.graph.DefaultGraphSelectionModel
-
Sets the selection mode, which must be one of SINGLE_TREE_SELECTION,
- setSelectionMode(int) - Method in interface org.jgraph.graph.GraphSelectionModel
-
Sets the selection model, which must be either SINGLE_GRAPH_SELECTION or MULTIPLE_GRAPH_SELECTION.
- setSelectionModel(GraphSelectionModel) - Method in class org.jgraph.JGraph
-
Sets the graph's selection model.
- setSelectionModel(GraphSelectionModel) - Method in class org.jgraph.plaf.basic.BasicGraphUI
-
Resets the selection model.
- setSelectsAllInsertedCells(boolean) - Method in class org.jgraph.graph.GraphLayoutCache
- setSelectsLocalInsertedCells(boolean) - Method in class org.jgraph.graph.GraphLayoutCache
- setShowsChangedConnections(boolean) - Method in class org.jgraph.graph.GraphLayoutCache
- setShowsExistingConnections(boolean) - Method in class org.jgraph.graph.GraphLayoutCache
-
Sets the showsExistingConnections
- setShowsInsertedConnections(boolean) - Method in class org.jgraph.graph.GraphLayoutCache
-
Sets the showsInsertedConnections
- setShowsInvisibleEditedCells(boolean) - Method in class org.jgraph.graph.GraphLayoutCache
- setSize(Map, Dimension) - Static method in class org.jgraph.graph.GraphConstants
-
Sets the size attribute in the specified map to the specified value.
- setSizeable(boolean) - Method in class org.jgraph.JGraph
-
Sets if the graph allows cells to be resized.
- setSizeable(Map, boolean) - Static method in class org.jgraph.graph.GraphConstants
-
Sets the sizeable attribute in the specified map to the specified value.
- setSizeableAxis(Map, int) - Static method in class org.jgraph.graph.GraphConstants
-
Sets the sizeableAxis attribute in the specified map to the specified value.
- setSnapSelectedView(boolean) - Method in class org.jgraph.plaf.basic.BasicGraphUI
-
Sets the mode of the snapSelectedView drag operation.
- setSource(boolean) - Method in class org.jgraph.graph.ConnectionSet.Connection
- setSource(Object) - Method in class org.jgraph.graph.DefaultEdge
-
Sets the source of the edge.
- setSource(Object) - Method in interface org.jgraph.graph.Edge
-
Sets the source of the edge.
- setSource(CellView) - Method in class org.jgraph.graph.EdgeView
-
Sets the
sourceView
of the edge. - setSourcePort(GraphModel, Object, Object) - Static method in class org.jgraph.graph.DefaultGraphModel
-
Helper methods that connects the source of
edge
toport
inmodel.
- setStartPoint(Point2D) - Method in class org.jgraph.graph.BasicMarqueeHandler
-
Sets the startPoint.
- setTarget(Object) - Method in class org.jgraph.graph.DefaultEdge
-
Returns the target of
edge
. - setTarget(Object) - Method in interface org.jgraph.graph.Edge
-
Returns the target of
edge
. - setTarget(CellView) - Method in class org.jgraph.graph.EdgeView
-
Sets the
targetView
of the edge. - setTargetPort(GraphModel, Object, Object) - Static method in class org.jgraph.graph.DefaultGraphModel
-
Helper methods that connects the source of
edge
toport
inmodel.
- setTolerance(int) - Method in class org.jgraph.JGraph
-
Sets the maximum distance between the mousepointer and a cell to be selected.
- setUI(GraphUI) - Method in class org.jgraph.JGraph
-
Sets the L&F object that renders this component.
- setupOffScreen(int, int, int, int, Rectangle2D) - Method in class org.jgraph.JGraph
-
Utility method that initialises the offscreen graphics area
- setValue(Map, Object) - Static method in class org.jgraph.graph.GraphConstants
-
Sets the value attribute in the specified map to the specified value.
- setValues(double[], double[]) - Method in class org.jgraph.util.Spline
-
Set values for this Spline.
- setVerticalAlignment(Map, int) - Static method in class org.jgraph.graph.GraphConstants
-
This method set the position of the label in vertex cells, and takes aruguments of type SwingConstants (for JLabel) i.e.
- setVerticalTextPosition(Map, int) - Static method in class org.jgraph.graph.GraphConstants
-
This method set the text of a label on vertext cell relative to image.
- setVisible(Object[], boolean) - Method in class org.jgraph.graph.GraphLayoutCache
-
Makes the specified cells visible or invisible depending on the flag passed in.
- setVisible(Object[], Object[]) - Method in class org.jgraph.graph.GraphLayoutCache
-
Changes the visibility state of the cells passed in.
- setVisible(Object[], Object[], Map, ConnectionSet) - Method in class org.jgraph.graph.GraphLayoutCache
-
Changes the visibility state of the cells passed in.
- setVisible(Object[], Object[], ConnectionSet) - Method in class org.jgraph.graph.GraphLayoutCache
-
Changes the visibility state of the cells passed in.
- setVisible(Object, boolean) - Method in class org.jgraph.graph.GraphLayoutCache
-
Makes the specified cell visible or invisible depending on the flag passed in.
- setVisibleImpl(Object[], boolean) - Method in class org.jgraph.graph.GraphLayoutCache
-
The actual implementation of changing cells' visibility state.
- setVisibleSet(Set) - Method in class org.jgraph.graph.GraphLayoutCache
-
Applies the specified set of cells as being those visible
- setVolatileOffscreen(boolean) - Method in class org.jgraph.JGraph
- setWidth(double) - Method in class org.jgraph.graph.AttributeMap.SerializableRectangle2D
- setX(double) - Method in class org.jgraph.graph.AttributeMap.SerializablePoint2D
- setX(double) - Method in class org.jgraph.graph.AttributeMap.SerializableRectangle2D
- setXorEnabled(boolean) - Method in class org.jgraph.JGraph
-
Sets if the graph accepts drops/pastes from external sources.
- setY(double) - Method in class org.jgraph.graph.AttributeMap.SerializablePoint2D
- setY(double) - Method in class org.jgraph.graph.AttributeMap.SerializableRectangle2D
- sharedInstance - Static variable in class org.jgraph.JGraph.EmptySelectionModel
-
Unique shared instance.
- sharedInstance - Static variable in class org.jgraph.util.ParallelEdgeRouter
-
Singleton to reach parallel edge router
- sharedInstance() - Static method in class org.jgraph.JGraph.EmptySelectionModel
-
Returns a shared instance of an empty selection model.
- sharedPath - Variable in class org.jgraph.graph.EdgeView
-
Shared-path tune-up.
- shouldInvokePortMagic(EdgeView) - Method in class org.jgraph.graph.PortView
-
Subclassers can override this to decide whether or not "port magic" should appear on a given edge.
- shouldSelectCell(EventObject) - Method in class org.jgraph.graph.DefaultGraphCellEditor
-
Messages the realEditor for the return value.
- shouldStartEditingTimer(EventObject) - Method in class org.jgraph.graph.DefaultGraphCellEditor
-
Returns true if
event
is a MouseEvent and the click count is 1. - showCells(Object[], boolean) - Method in class org.jgraph.graph.GraphLayoutCache
-
Shows the specified cells with all children if
descandants
is true. - showCellsForChange(GraphModelEvent.GraphModelChange) - Method in class org.jgraph.graph.GraphLayoutCache
- showsChangedConnections - Variable in class org.jgraph.graph.GraphLayoutCache
-
Boolean indicating whether connections should be made visible when reconnected and their source and target port is visible.
- showsExistingConnections - Variable in class org.jgraph.graph.GraphLayoutCache
-
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.
- showsInsertedCells - Variable in class org.jgraph.graph.GraphLayoutCache
-
Boolean indicating whether inserted should be made visible if they are inserted via
GraphLayoutCache.insert(Object[], Map, ConnectionSet, ParentMap, UndoableEdit[])
. - showsInsertedConnections - Variable in class org.jgraph.graph.GraphLayoutCache
-
Boolean indicating whether inserted edges should me made visible if their sources or targets are already visible.
- showsInvisibleEditedCells - Variable in class org.jgraph.graph.GraphLayoutCache
-
Boolean indicating whether edited cells should be made visible if they are changed via
GraphLayoutCache.edit(Map, ConnectionSet, ParentMap, UndoableEdit[])
. - simpleExtraLabels - Variable in class org.jgraph.graph.EdgeRenderer
-
A switch for painting the extra labels
- SINGLE_GRAPH_SELECTION - Static variable in interface org.jgraph.graph.GraphSelectionModel
-
Selection can only contain one cell at a time.
- size() - Method in class org.jgraph.graph.ConnectionSet
-
Returns the number of (edge, port)-pairs.
- size() - Method in class org.jgraph.graph.ParentMap
-
Returns the number of entries.
- SIZE - Static variable in class org.jgraph.graph.GraphConstants
-
Key for the
size
attribute. - SIZE - Static variable in class org.jgraph.graph.PortView
-
Default size for all ports is 6.
- sizeable - Variable in class org.jgraph.JGraph
-
True if the graph allows cells to be resized.
- SIZEABLE - Static variable in class org.jgraph.graph.GraphConstants
-
Key for the
sizeable
attribute. - SIZEABLEAXIS - Static variable in class org.jgraph.graph.GraphConstants
-
Key for the
sizeableAxis
attribute. - SizeHandle(VertexView, GraphContext) - Constructor for class org.jgraph.graph.VertexView.SizeHandle
- snap(boolean, Point2D) - Method in class org.jgraph.graph.EdgeView.EdgeHandle
- snap(Dimension2D) - Method in class org.jgraph.JGraph
-
Returns the given dimension applied to the grid.
- snap(Point2D) - Method in class org.jgraph.JGraph
-
Returns the given point applied to the grid.
- snap(Rectangle2D) - Method in class org.jgraph.JGraph
-
Returns the given rectangle applied to the grid.
- snapLast - Variable in class org.jgraph.plaf.basic.BasicGraphUI.RootHandle
- snapSelectedView - Variable in class org.jgraph.plaf.basic.BasicGraphUI
-
If ture, a the view under mousepointer will be snapped to the grid lines during a drag operation.
- snapStart - Variable in class org.jgraph.plaf.basic.BasicGraphUI.RootHandle
- solve(double[][], double[]) - Method in class org.jgraph.util.Spline
-
Solves Ax=b and stores the solution in b.
- source - Variable in class org.jgraph.graph.DefaultEdge
-
Source and target of the edge.
- source - Variable in class org.jgraph.graph.EdgeView.EdgeHandle
- source - Variable in class org.jgraph.graph.EdgeView
-
Cached source and target portview of the edge.
- source - Variable in class org.jgraph.plaf.basic.BasicGraphUI.MouseInputHandler
-
Source that events are coming from.
- sourceParentView - Variable in class org.jgraph.graph.EdgeView
- spline - Variable in class org.jgraph.graph.EdgeRenderer
-
Cached spline curve
- Spline - Class in org.jgraph.util
-
Interpolates given values by B-Splines.
- Spline(double[], double[]) - Constructor for class org.jgraph.util.Spline
-
Creates a new Spline.
- Spline2D - Class in org.jgraph.util
-
Interpolates points given in the 2D plane.
- Spline2D(double[], double[]) - Constructor for class org.jgraph.util.Spline2D
-
Creates a new Spline2D.
- Spline2D(Point2D[]) - Constructor for class org.jgraph.util.Spline2D
-
Creates a new Spline2D.
- start - Variable in class org.jgraph.plaf.basic.BasicGraphUI.RootHandle
- startDragging(MouseEvent) - Method in class org.jgraph.plaf.basic.BasicGraphUI.RootHandle
- startEditing(Object, MouseEvent) - Method in class org.jgraph.plaf.basic.BasicGraphUI
-
Will start editing for cell if there is a cellEditor and shouldSelectCell returns true.
- startEditingAtCell(Object) - Method in class org.jgraph.JGraph
-
Selects the specified cell and initiates editing.
- startEditingAtCell(JGraph, Object) - Method in class org.jgraph.plaf.basic.BasicGraphUI
-
Selects the cell and tries to edit it.
- startEditingAtCell(JGraph, Object) - Method in class org.jgraph.plaf.GraphUI
-
Selects the cell and tries to edit it.
- startPoint - Variable in class org.jgraph.graph.BasicMarqueeHandler
- startTimer() - Method in class org.jgraph.plaf.basic.BasicGraphUI.ComponentHandler
-
Creates, if necessary, and starts a Timer to check if need to resize the bounds.
- stopCellEditing() - Method in class org.jgraph.graph.DefaultGraphCellEditor
-
If the realEditor will allow editing to stop, the realEditor is removed and true is returned, otherwise false is returned.
- stopEditing() - Method in class org.jgraph.JGraph
-
Ends the current editing session.
- stopEditing(JGraph) - Method in class org.jgraph.plaf.basic.BasicGraphUI
-
Stops the current editing session.
- stopEditing(JGraph) - Method in class org.jgraph.plaf.GraphUI
-
Stops the current editing session.
- stopEditingInCompleteEditing - Variable in class org.jgraph.plaf.basic.BasicGraphUI
-
Set to false when editing and shouldSelectCell() returns true meaning the node should be selected before editing, used in completeEditing.
- STYLE_BEZIER - Static variable in class org.jgraph.graph.GraphConstants
-
Represents a bezier line style
- STYLE_ORTHOGONAL - Static variable in class org.jgraph.graph.GraphConstants
-
Represents an orthogonal line style
- STYLE_SPLINE - Static variable in class org.jgraph.graph.GraphConstants
-
Represents an spline line style
T
- target - Variable in class org.jgraph.graph.DefaultEdge
-
Source and target of the edge.
- target - Variable in class org.jgraph.graph.EdgeView.EdgeHandle
- target - Variable in class org.jgraph.graph.EdgeView
-
Cached source and target portview of the edge.
- targetGroup - Variable in class org.jgraph.plaf.basic.BasicGraphUI.RootHandle
- targetParentView - Variable in class org.jgraph.graph.EdgeView
- timer - Variable in class org.jgraph.plaf.basic.BasicGraphUI.ComponentHandler
-
Timer used when inside a scrollpane and the scrollbar is adjusting.
- toBack(Object[]) - Method in class org.jgraph.graph.DefaultGraphModel
-
Sends
cells
to back. - toBack(Object[]) - Method in class org.jgraph.graph.GraphLayoutCache
-
Sends
cells
to back. - toBack(Object[]) - Method in interface org.jgraph.graph.GraphModel
-
Sends
cells
to back. - toFront(Object[]) - Method in class org.jgraph.graph.DefaultGraphModel
-
Brings
cells
to front. - toFront(Object[]) - Method in class org.jgraph.graph.GraphLayoutCache
-
Brings
cells
to front. - toFront(Object[]) - Method in interface org.jgraph.graph.GraphModel
-
Brings
cells
to front. - toggleCollapsedState(Object[], boolean, boolean) - Method in class org.jgraph.graph.GraphLayoutCache
-
Toggles the collapsed state of the specified cells.
- toggleSelectionCellForEvent(Object, MouseEvent) - Method in class org.jgraph.plaf.basic.BasicGraphUI
-
Messaged to update the selection based on a toggle selection event, which means the cell's selection state is inverted.
- tolerance - Variable in class org.jgraph.JGraph
-
Maximum distance between a cell and the mousepointer.
- toScreen(Point2D) - Method in class org.jgraph.JGraph
-
Upscale the given point in place, using the given instance.
- toScreen(Rectangle2D) - Method in class org.jgraph.JGraph
-
Upscale the given rectangle in place, using the given instance.
- toString() - Method in class org.jgraph.graph.DefaultGraphModel.GraphModelEdit
- toString() - Method in class org.jgraph.graph.ParentMap
- transAddedCells - Variable in class org.jgraph.graph.DefaultGraphModel
-
Stores nested transaction added cells
- transEditAttrs - Variable in class org.jgraph.graph.DefaultGraphModel
-
Stores nested transaction transport attribute maps
- transEditCS - Variable in class org.jgraph.graph.DefaultGraphModel
-
Stores nested transaction connection sets
- transEditPM - Variable in class org.jgraph.graph.DefaultGraphModel
-
Stores nested transaction parent maps
- translate(double, double) - Method in class org.jgraph.graph.AbstractCellView
-
Translates
view
(group) bydx, dy
. - translate(double, double) - Method in class org.jgraph.graph.AttributeMap
-
Translates
map
by the given amount. - translate(Collection, double, double) - Static method in class org.jgraph.graph.AttributeMap
-
Translates the maps in
c
usingtranslate(Map, int, int)
. - translateGraphics(Graphics) - Method in class org.jgraph.graph.EdgeRenderer
- translateViews(CellView[], double, double) - Static method in class org.jgraph.graph.GraphLayoutCache
-
Translates the specified views by the given amount.
- transRemovedCells - Variable in class org.jgraph.graph.DefaultGraphModel
-
Stores nested transaction removed cells
U
- undo() - Method in class org.jgraph.graph.DefaultGraphModel.GraphModelEdit
-
Undoes a change.
- undo() - Method in class org.jgraph.graph.DefaultGraphModel.GraphModelLayerEdit
-
Undoes a change.
- undo() - Method in class org.jgraph.graph.ExecutableChange
- undo() - Method in class org.jgraph.graph.GraphLayoutCache.GraphLayoutCacheEdit
-
Undoes a change.
- undo(Object) - Method in class org.jgraph.graph.GraphUndoManager
-
If this UndoManager is inProgress, undo the last significant UndoableEdit wrt to source, and all insignificant edits back to it.
- ungroup(Object[]) - Method in class org.jgraph.graph.GraphLayoutCache
-
Ungroups all groups in cells and returns the children that are not ports.
- uninstallComponents() - Method in class org.jgraph.plaf.basic.BasicGraphUI
-
Uninstalls the renderer pane.
- uninstallKeyboardActions() - Method in class org.jgraph.plaf.basic.BasicGraphUI
- uninstallListeners() - Method in class org.jgraph.plaf.basic.BasicGraphUI
- uninstallUI(JComponent) - Method in class org.jgraph.plaf.basic.BasicGraphUI
- union(Rectangle2D, Rectangle2D) - Static method in class org.jgraph.util.RectUtils
-
Unions the pair of source
Rectangle2D
objects and puts the result into the returnedRectangle2D
object. - UNSELECTED - Static variable in class org.jgraph.graph.DefaultGraphSelectionModel
-
Object value that represents the unselected state in cellStates.
- update() - Method in class org.jgraph.graph.GraphLayoutCache
-
Sets the current model.
- update(CellView) - Method in class org.jgraph.graph.GraphLayoutCache
- update(CellView[]) - Method in class org.jgraph.graph.GraphLayoutCache
- update(GraphLayoutCache) - Method in class org.jgraph.graph.AbstractCellView
-
Update attributes for this view and indicate to the parent this child has been updated
- update(GraphLayoutCache) - Method in interface org.jgraph.graph.CellView
-
Update this view's attributes.
- update(GraphLayoutCache) - Method in class org.jgraph.graph.EdgeView
-
Update attributes and recurse children.
- update(GraphLayoutCache) - Method in class org.jgraph.graph.VertexView
-
Overrides the parent method to udpate the cached points.
- updateAutoSize(CellView) - Method in class org.jgraph.JGraph
-
Computes and updates the size for
view
. - updateCachedPreferredSize() - Method in class org.jgraph.plaf.basic.BasicGraphUI
-
Updates the
preferredSize
instance variable, which is returned fromgetPreferredSize()
. - updateGroupBounds() - Method in class org.jgraph.graph.AbstractCellView
-
Updates the bounds of this view and its children
- updateHandle() - Method in class org.jgraph.plaf.basic.BasicGraphUI
-
Update the handle using createHandle.
- updateHandle() - Method in class org.jgraph.plaf.GraphUI
-
Updates the handle.
- updateInsertionLocation(JComponent, Point) - Method in class org.jgraph.plaf.basic.BasicGraphDropTargetListener
-
called to set the insertion location to match the current mouse pointer coordinates.
- updateInsertionLocation(JComponent, Point) - Method in class org.jgraph.plaf.basic.BasicGraphUI.GraphDropTargetListener
-
called to set the insertion location to match the current mouse pointer coordinates.
- updateLevel - Variable in class org.jgraph.graph.DefaultGraphModel
-
Counter for the depth of nested transactions.
- updateListeners() - Method in class org.jgraph.graph.DefaultGraphModel.GraphModelLayerEdit
- updateNext() - Method in class org.jgraph.graph.DefaultGraphModel.GraphModelLayerEdit
- updatePorts() - Method in class org.jgraph.graph.GraphLayoutCache
-
Updates the cached array of ports.
- updateSize() - Method in class org.jgraph.plaf.basic.BasicGraphUI
-
Messages the Graph with
graphDidChange
. - updateTransaction(Object[], Object[], Map, ConnectionSet, ParentMap) - Method in class org.jgraph.graph.DefaultGraphModel
-
Updates the current state of the various transaction data
- updateUI() - Method in class org.jgraph.JGraph
-
Notification from the
UIManager
that the L&F has changed.
V
- validate() - Method in class org.jgraph.graph.EdgeRenderer
-
Overridden for performance reasons.
- validate() - Method in class org.jgraph.graph.PortRenderer
-
Overridden for performance reasons.
- validate() - Method in class org.jgraph.graph.VertexRenderer
-
Overridden for performance reasons.
- validCachedPreferredSize - Variable in class org.jgraph.plaf.basic.BasicGraphUI
-
Is the preferredSize valid?
- VALUE - Static variable in class org.jgraph.graph.GraphConstants
-
Key for the
value
attribute. - valueChanged(GraphSelectionEvent) - Method in interface org.jgraph.event.GraphSelectionListener
-
Called whenever the value of the selection changes.
- valueChanged(GraphSelectionEvent) - Method in class org.jgraph.graph.DefaultGraphCellEditor
-
Resets lastPath.
- valueChanged(GraphSelectionEvent) - Method in class org.jgraph.JGraph.GraphSelectionRedirector
-
Invoked by the
GraphSelectionModel
when the selection changes. - valueChanged(GraphSelectionEvent) - Method in class org.jgraph.plaf.basic.BasicGraphUI.GraphSelectionHandler
-
Messaged when the selection changes in the graph we're displaying for.
- valueForCellChanged(Object, Object) - Method in class org.jgraph.graph.DefaultGraphModel
-
Applies the new value to the specified cell.
- valueForCellChanged(Object, Object) - Method in class org.jgraph.graph.GraphLayoutCache
-
Messaged when the user has altered the value for the item identified by cell to newValue.
- valueForCellChanged(Object, Object) - Method in interface org.jgraph.graph.GraphModel
-
Messaged when the value of the cell has changed, eg from within the edit method.
- VERSION - Static variable in class org.jgraph.JGraph
- vertex - Variable in class org.jgraph.graph.VertexView.SizeHandle
- VertexRenderer - Class in org.jgraph.graph
-
This renderer displays entries that implement the CellView interface and supports the following attributes.
- VertexRenderer() - Constructor for class org.jgraph.graph.VertexRenderer
-
Constructs a renderer that may be used to render vertices.
- VertexView - Class in org.jgraph.graph
-
The default implementation of a vertex view.
- VertexView() - Constructor for class org.jgraph.graph.VertexView
-
Constructs an empty vertex view.
- VertexView(Object) - Constructor for class org.jgraph.graph.VertexView
-
Constructs a vertex view for the specified model object and the specified child views.
- VertexView.SizeHandle - Class in org.jgraph.graph
- VERTICAL_ALIGNMENT - Static variable in class org.jgraph.graph.GraphConstants
-
Key for the
verticalAlignment
attribute. - VERTICAL_TEXT_POSITION - Static variable in class org.jgraph.graph.GraphConstants
-
Key for the
verticalTextPosition
attribute. - view - Variable in class org.jgraph.graph.EdgeRenderer
-
Cache the current edgeview for drawing
- view - Variable in class org.jgraph.graph.PortRenderer
-
Cache the current edgeview for drawing.
- view - Variable in class org.jgraph.graph.VertexRenderer
-
Cache the current shape for drawing.
- views - Variable in class org.jgraph.graph.GraphContext
-
Map of (cell, view) pairs including ports.
- views - Variable in class org.jgraph.plaf.basic.BasicGraphUI.RootHandle
- visible - Variable in class org.jgraph.graph.GraphLayoutCache.GraphLayoutCacheEdit
- visibleSet - Variable in class org.jgraph.graph.GraphLayoutCache
-
The set of visible cells.
- volatileOffscreen - Variable in class org.jgraph.JGraph
-
Whether or not to try to use a volatile offscreen buffer for double buffering.
W
- wholeOffscreenDirty - Variable in class org.jgraph.JGraph
- wholeOffscreenDirtyProportion - Variable in class org.jgraph.JGraph
X
- X_AXIS - Static variable in class org.jgraph.graph.GraphConstants
-
Represents an bezier line style
- xCursors - Static variable in class org.jgraph.graph.VertexView
-
Array that holds the cursors for the different control points.
- xorEnabled - Variable in class org.jgraph.graph.PortRenderer
-
Cached hasFocus and selected value.
- xorEnabled - Variable in class org.jgraph.JGraph
-
True if the graph accepts transfers from other components (graphs).
Y
- Y_AXIS - Static variable in class org.jgraph.graph.GraphConstants
-
Represents an bezier line style
- yCursors - Static variable in class org.jgraph.graph.VertexView
-
Array that holds the cursors for the different control points.
_
- _mouseToViewDelta_x - Variable in class org.jgraph.plaf.basic.BasicGraphUI.RootHandle
- _mouseToViewDelta_y - Variable in class org.jgraph.plaf.basic.BasicGraphUI.RootHandle
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form