Inheritance diagram for org.jgraph.graph.DefaultGraphCell:
Public Member Functions | |
DefaultGraphCell () | |
DefaultGraphCell (Object userObject) | |
DefaultGraphCell (Object userObject, AttributeMap storageMap) | |
DefaultGraphCell (Object userObject, AttributeMap storageMap, MutableTreeNode[] children) | |
List | getChildren () |
AttributeMap | getAttributes () |
Map | changeAttributes (Map change) |
void | setAttributes (AttributeMap attributes) |
void | addPort () |
void | addPort (Point2D offset) |
void | addPort (Point2D offset, Object userObject) |
Object | clone () |
Protected Attributes | |
AttributeMap | attributes = null |
|
Creates an empty cell. |
|
Creates a graph cell and initializes it with the specified user object.
|
|
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.
|
|
Creates a graph cell and initializes it with the specified user object. The GraphCell allows children only if specified.
|
|
Utility method to create a port for this cell. The method adds a port at a fixed relative offset within the cell. If the offset is null then a floating port is added.
|
|
Utility method to create a port for this cell. The method adds a port at a fixed relative offset within the cell. If the offset is null then a floating port is added.
|
|
Utility method to create a port for this cell. This method adds a floating port. |
|
Changes the
Implements org.jgraph.graph.GraphCell. |
|
Create a clone of the cell. This method uses the superclass implementation (which does not clone the children), then uses clone on the attribute map. This method does not clone the user object. You should override the cloneUserObject in the graph model to implement cloning of custom user objects.
Reimplemented in org.jgraph.graph.DefaultEdge, and org.jgraph.graph.DefaultPort. |
|
Returns the properies of the cell. Implements org.jgraph.graph.GraphCell. |
|
Provides access to the children list to change ordering. This method returns a |
|
Sets the attributes.
Implements org.jgraph.graph.GraphCell. |
|
Hashtable for properties. Initially empty |