|
JGraph |
||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||
absoluteX attribute.
absoluteY attribute.
antiAliased.
autosize attribute.
true if port is a valid source for
edge.
true if port is a valid source for
edge.
true if port is a valid target for
edge.
true if port is a valid target for
edge.
views to the connection set.
edge to the list of edges.
edge to the list of ports.
GraphSelection events.
GraphLayoutCache to add and execute and
UndoableEdit in this change.
p at position index.
GraphModel.
Object to the
current selection.
null implementation that adds nothing.
change to this views attributes.
key to value
p.
background attribute.
beginFill attribute.
beginSize attribute.
bendable attribute.
border attribute.
bordercolor attribute.
bounds attribute.
childrenSelectable attribute.
connectable attribute.
constrained attribute.
edge and port based on the value of
source
event is null, or it is a MouseEvent
with a click count > 2 and inHitRegion returns true.
change to the attributes of the view and calls
update.
map, from keys to values.
map.
map.
cells and
their children.
cells.
cells and
their children.
edge from source and
target in cs based on
disconnect.
edge to source and
target in the connection set.
edge to port passed in.
remove.
Iterator for the connections in this set.
true if node or one of its
ancestors is in the model.
true if node or one of its
ancestors is contained in this object and visible in the original graph.
true if node or one of its
ancestors is in the model.
cells in model based on
disconnect.
cells in model based on remove.
DefaultCellViewFactory.createEdgeView(Object)since
JGraph no longer exposes dependecies on GraphCell subclasses
(Port, Edge)
context.
DefaultCellViewFactory.createPortView(Object)since
JGraph no longer exposes dependecies on GraphCell subclasses
(Port, Edge)
size
grow1 and grow2
cells.
cells.
cellSet.
dashOffset attribute.
dashPattern attribute.
disconnectable attribute.
newState where either key is not used or value is
different for key in oldState.
edge from source and
target in the connection set.
edge from port.
cells from the sources and
targets that are not in this context and returns a ConnectionSet that
defines the disconnection.
editable attribute.
editable.
endFill attribute.
endSize attribute.
extraLabelPositions attribute.
extraLabels attribute.
port.
port.
attributes and the connection changes to the
model.
propertyMap and the connection changes to the
model.
attributes to all cells by
creating a map that contains the attributes for each cell and passing it
to edit on this layout cache.
propertyMap and the connection changes to the
model.
attributes to a single cell by
creating a map that contains the attributes for this cell and passing it
to edit on this layout cache.
Iterator for the entries in the map.
font attribute.
foreground attribute.
pt.
gradient attribute.
graphModel.
graphModel.
gridColor.
gridSize.
gridVisible.
groupOpaque attribute.
cells with respect to the
connections defined in the model, and the views in the view of
graph.
factory
to create its views.
factory
to create its views.
factory
to create its views.
cells,
csand attrMap.
views, especially the PortViews.
Map that represents the attributes for the
specified cell.
attributes of the cell.
AttributeMap that represents the properties for
the specified cell.
JComponent.getBorder to
returns the current border.
getCell for each view.
cells that represent the selection.
AbstractCellView.getCenterPoint(CellView vertex)
Set for the edges in this connection set.
Set for the nodes, childs and parents, in this
parent map.
cells (and possibly
other, unselected cells).
views without the PortViews.
cells including all descendants in the passed
in order of cells.
cells or their
descendants.
GraphLayoutCache that is providing the
view-data.
null.
CellHandle that is currently active,
or null if no handle is active.
BufferedImage for the graph using inset as an empty
border around the cells of the graph.
root in the model.
root in the model.
edge and point, which is the nearest point
to this port view on the edge.
cell.
CellView that is mapped to cell
in the graph context.
MarqueeHandler that will handle marquee
selection.
GraphModel that is providing the data.
current cell.
view.
VertexView.getPerimeterPoint(EdgeView edge, Point2D source, Point2D p)
edge at index.
JGraph.
view.
cells by checking if their parent is
null.
visibleRect, based on orientation.
cell.
cells.
SINGLE_TREE_SELECTION,
DISCONTIGUOUS_TREE_SELECTION or
CONTIGUOUS_TREE_SELECTION.
SINGLE_GRAPH_SELECTION or
MULTIPLE_GRAPH_SELECTION.
edge.
edge.
edge.
edge.
JComponent'sgetToolTipText
method in order to allow the graph to create a tooltip for the topmost
cell under the mousepointer.
GraphModel.getValue(Object) instead.
GraphLayoutCache to retrieve an array of
CellViews that was previously stored with
putViews(GraphLayoutCache, CellView[]).
cells.
gridColor.
gridColor.
horizontalAlignment attribute.
horizontalTextPosition attribute.
attributes to the cells specified as keys.
connectionSet to the model.
cells into the model.
cells to the model.
cells from the model.
descandants
is true.
icon attribute.
inset attribute.
messagesStopCellEditing.
roots and connections into the model.
cells and connections into the model, and
absorbs the local attributes.
cells and connections into the model, and
passes attributes to the views.
stopCellEditing is
invoked, and changes are saved.
index was added to
the selection.
true if the graph and the cell are editable.
cell, is in the current
selection.
cell, is in the current
selection.
cell, has selected children.
cell,
has selected children.
key is a control attribute
true if edge is a valid edge.
true if edge is a valid edge.
true if the connection set is empty.
true if this object contains no cells.
true if the view is a leaf.
key
true if port is a valid port,
possibly supporting edge connection.
true if port is a valid port,
possibly supporting edge connection.
port is the source of edge.
true if port is the source of
edge.
true if vertex is a valid vertex.
JGraph with a sample model.
JGraph which displays the the
specified data model.
JGraph which displays the data
model using the specified view.
JGraph which displays the specified
data model using the specified view.
JGraph which displays the specified
data model and assigns the specified marquee handler
JGraph which displays the specified
data model using the specified view and assigns the specified marquee
handler
EmptySelectionModel is a GraphSelectionModel
that does not allow anything to be selected.null implementation that constructs an
EmptySelectionModel.
GraphSelectionEvent with the
JGraph as the source and passing it off to all the
listeners.labelAlongEdge attribute.
labelposition attribute.
lineBegin attribute.
linecolor attribute.
lineEnd attribute.
lineStyle attribute.
linewidth attribute.
link attribute.
gridColor.
graphModel.
moveable attribute.
moveableAxis attribute.
childrenSelectable attribute.
offset attribute.
opaque attribute.
cells including all descendants ordered using
the current layering data stored by the model.
jgraph.graph package.points attribute.
portsScaled.
gridVisible.
backgroundImage.
ParentMap object.
ParentMap object.
child and
parent.
Container.paint to paint the node's
icon and use the selection color for the background.
view to g
at bounds.
view to g at
bounds.
portViews to g.
ports.
JGraph.
graph instance variable has been set,
but before any defaults/listeners have been installed.
cell and view.
cell with view in the graph
context.
GraphLayoutCache to store cell views for
cells that have been removed.
removeAll attribute.
removeAttributes attribute.
replaceAttributes attribute.
resize attribute.
routing attribute.
UndoManager is inProgress,
redoes the last significant UndoableEdit with
respect to source or after, and all insignificant
edits up to it.
cells from the model.
cells from the model.
children or edges is true, respectively.
cells from the model.
edge from the list of edges.
edge from the list of ports.
index.
GraphSelection listener.
index.
null implementation that removes nothing.
map using keyMapresetAttributes() -
Method in class org.jgraph.graph.VertexRenderer
scale.
selectable attribute.
selectionEnabled.
selectionModel.
size attribute.
sizeable attribute.
sizeableAxis attribute.
view (group) by sx, sy.
map by the given amount.
selectionListeners.
view.
GraphLayoutCache that will provide the view-data.
MarqueeHandler that will handle marquee
selection.
GraphModel that will provide the data.
index to p.
cell to
count.
null implementation that selects nothing.
cells.
sourceView of the edge.
edge to
port in model.
- 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 to
port in model.
- 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.
- 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 cell visible or invisible depending on the flag
passed in.
- 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[], ConnectionSet) -
Method in class org.jgraph.graph.GraphLayoutCache
- Changes the visibility state of the cells 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
-
- 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
-
- setupOffScreen(int, int, int, int, Rectangle2D) -
Method in class org.jgraph.JGraph
- Utility method that initialises the offscreen graphics area
- sharedInstance -
Static variable in class org.jgraph.JGraph.EmptySelectionModel
- Unique shared instance.
- sharedInstance() -
Static method in class org.jgraph.JGraph.EmptySelectionModel
- Returns a shared instance of an empty selection model.
- sharedInstance -
Static variable in class org.jgraph.util.ParallelEdgeRouter
- Singleton to reach parallel edge router
- 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
- 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.
- sizeable -
Variable in class org.jgraph.JGraph
- True if the graph allows cells to be resized.
- 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.
- snap(Dimension2D) -
Method in class org.jgraph.JGraph
- Returns the given dimension applied to the grid.
- snap(boolean, Point2D) -
Method in class org.jgraph.graph.EdgeView.EdgeHandle
-
- 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
- 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.GraphUI
- Selects the cell and tries to edit it.
- startEditingAtCell(JGraph, Object) -
Method in class org.jgraph.plaf.basic.BasicGraphUI
- 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.GraphUI
- Stops the current editing session.
- stopEditing(JGraph) -
Method in class org.jgraph.plaf.basic.BasicGraphUI
- 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.
cells to back.
cells to back.
cells to back.
cells to front.
cells to front.
cells to front.
view (group) by dx, dy.
c using
translate(Map, int, int).
map by the given amount.
Rectangle2D objects and puts the
result into the returned Rectangle2D object.
view.
preferredSize instance variable, which is
returned from getPreferredSize().
graphDidChange.
UIManager that the L&F has changed.
value attribute.
verticalAlignment attribute.
verticalTextPosition attribute.
GraphSelectionModel when the selection
changes.
|
JGraph |
||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||