|
JGraphpad Pro
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.swing.tree.DefaultMutableTreeNode
com.jgraph.pad.JGraphpadDiagram
Represents a diagram to be contained in a JGraphpadFile. The diagram
has a name, default settings for the graph that displays the diagram and a
graph layout cache that contains the actual graph data.
| Field Summary | |
protected org.jgraph.graph.GraphLayoutCache |
graphLayoutCache
Holds the graph layout cache that defines the diagram. |
protected Map |
properties
Holds the diagram properties. |
| Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject |
| Constructor Summary | |
JGraphpadDiagram(String name)
Constructs a new diagram with the specified name and a JGraphpadGraphLayoutCache to hold the diagram. |
|
JGraphpadDiagram(String name,
org.jgraph.graph.GraphLayoutCache graphLayoutCache)
Constructs a new diagram with the specified name using graphLayoutCache to hold the diagram. |
|
JGraphpadDiagram(String name,
org.jgraph.graph.GraphLayoutCache graphLayoutCache,
Map properties)
Constructs a new diagram with the specified name using graphLayoutCache to hold the diagram. |
|
| Method Summary | |
org.jgraph.graph.GraphLayoutCache |
getGraphLayoutCache()
|
String |
getName()
Returns the name. |
Map |
getProperties()
Returns the diagram properties. |
void |
setGraphLayoutCache(org.jgraph.graph.GraphLayoutCache graphLayoutCache)
|
void |
setName(String name)
Sets the name. |
void |
setProperties(Map properties)
Sets the diagram properties. |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface javax.swing.tree.MutableTreeNode |
insert, remove, remove, removeFromParent, setParent, setUserObject |
| Methods inherited from interface javax.swing.tree.TreeNode |
children, getAllowsChildren, getChildAt, getChildCount, getIndex, getParent, isLeaf |
| Field Detail |
protected org.jgraph.graph.GraphLayoutCache graphLayoutCache
protected Map properties
| Constructor Detail |
public JGraphpadDiagram(String name)
JGraphpadGraphLayoutCache to hold the diagram.
name - The name of the new diagram.
public JGraphpadDiagram(String name,
org.jgraph.graph.GraphLayoutCache graphLayoutCache)
graphLayoutCache to hold the diagram.
name - The name of the diagram.graphLayoutCache - The graph layout cache that makes up the diagram.
public JGraphpadDiagram(String name,
org.jgraph.graph.GraphLayoutCache graphLayoutCache,
Map properties)
graphLayoutCache to hold the diagram.
name - The name of the diagram.graphLayoutCache - The graph layout cache that makes up the diagram.properties - The properties to use for the diagram.| Method Detail |
public void setGraphLayoutCache(org.jgraph.graph.GraphLayoutCache graphLayoutCache)
setGraphLayoutCache in interface JGraphEditorDiagramgraphLayoutCache - The cache to set.public org.jgraph.graph.GraphLayoutCache getGraphLayoutCache()
getGraphLayoutCache in interface JGraphEditorDiagrampublic void setName(String name)
JGraphEditorDiagram
setName in interface JGraphEditorDiagramname - The name to set.public String getName()
JGraphEditorDiagram
getName in interface JGraphEditorDiagrampublic Map getProperties()
getProperties in interface JGraphEditorDiagrampublic void setProperties(Map properties)
properties - The properties to set.
|
JGraphpad Pro
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||