Package | Description |
---|---|
com.jgraph.components.labels | |
org.jgraph |
JGraph's topmost package which contains the JGraph class.
|
org.jgraph.graph |
Graphs are made up of a number of classes and interfaces defined in their own
package - the
jgraph.graph package. |
Constructor and Description |
---|
RichTextGraphModel(java.util.List roots,
AttributeMap attributes,
ConnectionSet cs)
Constructs a new graph model using the specified root cells and
attributes (for the model) and establishes the connections defined in the
specified connection set between the cells.
|
Modifier and Type | Method and Description |
---|---|
AttributeMap |
JGraph.getAttributes(java.lang.Object cell)
Returns the attributes for the specified cell.
|
Modifier and Type | Method and Description |
---|---|
static java.util.Map |
JGraph.createBounds(AttributeMap map,
int x,
int y,
java.awt.Color c)
Returns an attributeMap for the specified position and color.
|
Modifier and Type | Field and Description |
---|---|
protected AttributeMap |
AbstractCellView.allAttributes
Contains the complete set of attributes, including the cell's attributes.
|
protected AttributeMap |
AbstractCellView.attributes
Hashtable for attributes.
|
protected AttributeMap |
DefaultGraphModel.attributes
The model's own attributes as a map.
|
protected AttributeMap |
DefaultGraphCell.attributes
Hashtable for properties.
|
static AttributeMap |
AttributeMap.emptyAttributeMap
Shared empty attribute map to return instead of null in applyMap.
|
Modifier and Type | Method and Description |
---|---|
AttributeMap |
AttributeMap.applyMap(java.util.Map change)
Apply the
change to this views attributes. |
AttributeMap |
AttributeMap.cloneEntries(AttributeMap newMap)
Clones special object entried in the given map.
|
protected AttributeMap |
AbstractCellView.createAttributeMap()
Hook for subclassers to avoid creating an empty AttributeMap during
construction of the instance.
|
AttributeMap |
AbstractCellView.getAllAttributes()
Returns the attributes of the view combined with the attributes of the
corresponding cell.
|
AttributeMap |
CellView.getAllAttributes() |
AttributeMap |
GraphCell.getAttributes()
Returns the
attributes of the cell. |
AttributeMap |
AbstractCellView.getAttributes()
Return the attributes of the view.
|
AttributeMap |
CellView.getAttributes()
Returns all attributes of the view as a map.
|
AttributeMap |
DefaultGraphCell.getAttributes()
Returns the properies of the cell.
|
AttributeMap |
DefaultGraphModel.getAttributes(java.lang.Object node)
Returns a
Map that represents the attributes for the
specified cell. |
AttributeMap |
GraphModel.getAttributes(java.lang.Object node)
Returns a
AttributeMap that represents the properties for
the specified cell. |
protected AttributeMap |
AbstractCellView.getCellAttributes(GraphModel model)
Hook for subclassers to avoid cloning the cell's attributes.
|
Modifier and Type | Method and Description |
---|---|
AttributeMap |
AttributeMap.cloneEntries(AttributeMap newMap)
Clones special object entried in the given map.
|
void |
GraphCell.setAttributes(AttributeMap map)
Sets the attributes
|
void |
AbstractCellView.setAttributes(AttributeMap attributes)
Sets the attributes of this view to the specified value
|
void |
DefaultGraphCell.setAttributes(AttributeMap attributes)
Sets the attributes.
|
Constructor and Description |
---|
DefaultEdge(java.lang.Object userObject,
AttributeMap storageMap)
Constructs an edge that holds a reference to the specified user object
and sets default values for points and the label position.
|
DefaultGraphCell(java.lang.Object userObject,
AttributeMap storageMap)
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(java.lang.Object userObject,
AttributeMap storageMap,
javax.swing.tree.MutableTreeNode[] children)
Creates a graph cell and initializes it with the specified user object.
|
DefaultGraphModel(java.util.List roots,
AttributeMap attributes)
Constructs a model that is not an attribute store.
|
DefaultGraphModel(java.util.List roots,
AttributeMap attributes,
ConnectionSet cs)
Constructs a model using the specified information to construct the
cells, attributes and connection data.
|
Copyright (C) 2001-2009 JGraph Ltd. All rights reserved.