|
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.JGraphpadFile
com.jgraph.pad.JGraphpadLibrary
Represents a library in the JGraphpad editor. A library is a file and at the same time a diagram which contains a set of groups to be used as template cells.
| Field Summary | |
protected org.jgraph.graph.GraphLayoutCache |
graphLayoutCache
Holds the graph layout cache that contains the cells. |
protected boolean |
isReadOnly
Specifies if the library can be changed. |
| Fields inherited from class com.jgraph.pad.JGraphpadFile |
isNew, modified |
| Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject |
| Constructor Summary | |
JGraphpadLibrary()
Constructs a new library. |
|
JGraphpadLibrary(String filename)
Constructs a new file using the filename as the user object and a JGraphpadGraphLayoutCache to hold the cells. |
|
JGraphpadLibrary(String filename,
org.jgraph.graph.GraphLayoutCache graphLayoutCache)
Constructs a new library with the specified filename as the user object and the specified graph layout cache to hold the cells. |
|
| Method Summary | |
org.jgraph.graph.GraphLayoutCache |
getGraphLayoutCache()
|
org.jgraph.graph.GraphModel |
getModel()
|
String |
getName()
Returns the name. |
Map |
getProperties()
Returns the properties of the diagram. |
boolean |
isReadOnly()
|
void |
setGraphLayoutCache(org.jgraph.graph.GraphLayoutCache graphLayoutCache)
|
void |
setName(String name)
Sets the name. |
void |
setReadOnly(boolean isReadOnly)
|
| Methods inherited from class com.jgraph.pad.JGraphpadFile |
getFilename, isModified, isNew, setFilename, setModified, setNew |
| 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 boolean isReadOnly
protected org.jgraph.graph.GraphLayoutCache graphLayoutCache
| Constructor Detail |
public JGraphpadLibrary()
public JGraphpadLibrary(String filename)
JGraphpadGraphLayoutCache to hold the cells.
filename - The user object of the parent object.
public JGraphpadLibrary(String filename,
org.jgraph.graph.GraphLayoutCache graphLayoutCache)
filename - The user object of the parent object.graphLayoutCache - The graph layout cache that contains the cells.| 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 org.jgraph.graph.GraphModel getModel()
public void setName(String name)
JGraphEditorDiagram
setName in interface JGraphEditorDiagramname - The name to set.public String getName()
JGraphEditorDiagram
getName in interface JGraphEditorDiagrampublic boolean isReadOnly()
public void setReadOnly(boolean isReadOnly)
isReadOnly - The isReadOnly to set.public Map getProperties()
JGraphEditorDiagram
getProperties in interface JGraphEditorDiagram
|
JGraphpad Pro
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||