JGraph | |
Frames | No Frames |
Constructors with parameter type org.jgraph.graph.GraphModel | |
Returns an instance of JGraph which displays the the
specified data model. | |
Returns an instance of JGraph which displays the specified
data model and assigns the specified marquee handler
| |
Returns an instance of JGraph which displays the specified
data model using the specified view. | |
Returns an instance of JGraph which displays the specified
data model using the specified view and assigns the specified marquee
handler
|
Fields of type org.jgraph.graph.GraphModel | |
GraphModel | The model that defines the graph displayed by this object. |
Methods with parameter type org.jgraph.graph.GraphModel | |
void | Creates and returns a sample GraphModel . |
void | Sets the GraphModel that will provide the data. |
Methods with return type org.jgraph.graph.GraphModel | |
GraphModel | Returns the GraphModel that is providing the data. |
Fields of type org.jgraph.graph.GraphModel | |
GraphModel | Used to determine what to display. |
Methods with parameter type org.jgraph.graph.GraphModel | |
void | Sets the GraphModel. |
Classes implementing org.jgraph.graph.GraphModel | |
class | The default implementation of a graph model. |
Constructors with parameter type org.jgraph.graph.GraphModel | |
Constructs a view for the specified model that uses factory
to create its views. | |
Constructs a view for the specified model that uses factory
to create its views. | |
GraphLayoutCache.GraphLayoutCache(GraphModel model, CellViewFactory factory, CellView[] cellViews, CellView[] hiddenCellViews, boolean partial) Constructs a view for the specified model that uses factory
to create its views. |
Fields of type org.jgraph.graph.GraphModel | |
GraphModel | Reference to the graphModel
|
Methods with parameter type org.jgraph.graph.GraphModel | |
Object | Returns a deep clone of the specified cell, including all children. |
Object[] | Returns a deep clone of the specified cells, including all children. |
boolean | Returns true if the given vertices are conntected by a single edge in
this document. |
ConnectionSet | Returns a connection set that represents the connection or disconnection
of cells in model based on
disconnect . |
ParentMap | Returns a parent map that represents the insertion or removal of
cells in model based on remove . |
Map | |
CellView | Constructs a view for the specified cell and associates it
with the specified object using the specified CellMapper. |
CellView | Constructs a view for the specified cell and associates it with the
specified object using the specified CellMapper. |
Object[] | Returns all cells of the model in an array. |
AttributeMap | Hook for subclassers to avoid cloning the cell's attributes. |
List | Flattens the given array of root cells by adding the roots and their
descandants. |
Object[] | Returns the incoming or outgoing edges for cell. |
Set | Returns the set of all connected edges to cells or their
descendants. |
Object[] | Returns the edges between two specified ports or two specified vertices. |
Object[] | Returns the incoming edges for cell. |
Object | |
Object[] | Returns the outgoing edges for cell. |
Object[] | Returns the roots of the specified model as an array. |
Object[] | Returns the roots in cells by checking if their parent is
null . |
Collection | Returns the roots of the specified model as a collection. |
Object | Returns the source vertex of the edge by calling getParent on getSource
on the specified model. |
Object | Returns the target vertex of the edge by calling getParent on getTarget
on the specified model. |
Object[] | |
CellView | |
boolean | Returns true if the specified child has an ancestor in parents. |
boolean | Checks whether the cell has at least one child which is not a port. |
boolean | Returns true if vertex is a valid vertex. |
Object[] | Orders cells so that they reflect the model order. |
void | Sets the current model. |
void | Helper methods that connects the source of edge to
port in model. |
void | Helper methods that connects the source of edge to
port in model. |
Methods with return type org.jgraph.graph.GraphModel | |
GraphModel | Returns the current model. |