| |
|
| java.lang.Object javax.swing.tree.DefaultMutableTreeNode com.jgraph.pad.JGraphpadDiagram
JGraphpadDiagram | public class JGraphpadDiagram extends DefaultMutableTreeNode implements JGraphEditorDiagram(Code) | | 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.
|
graphLayoutCache | protected GraphLayoutCache graphLayoutCache(Code) | | Holds the graph layout cache that defines the diagram.
|
properties | protected Map properties(Code) | | Holds the diagram properties.
|
JGraphpadDiagram | public JGraphpadDiagram(String name)(Code) | | Constructs a new diagram with the specified name and a
JGraphpadGraphLayoutCache to hold the diagram.
Parameters: name - The name of the new diagram. |
JGraphpadDiagram | public JGraphpadDiagram(String name, GraphLayoutCache graphLayoutCache)(Code) | | Constructs a new diagram with the specified name using
graphLayoutCache to hold the diagram.
Parameters: name - The name of the diagram. Parameters: graphLayoutCache - The graph layout cache that makes up the diagram. |
JGraphpadDiagram | public JGraphpadDiagram(String name, GraphLayoutCache graphLayoutCache, Map properties)(Code) | | Constructs a new diagram with the specified name using
graphLayoutCache to hold the diagram.
Parameters: name - The name of the diagram. Parameters: graphLayoutCache - The graph layout cache that makes up the diagram. Parameters: properties - The properties to use for the diagram. |
getProperties | public Map getProperties()(Code) | | Returns the diagram properties.
Returns the properties. |
setProperties | public void setProperties(Map properties)(Code) | | Sets the diagram properties.
Parameters: properties - The properties to set. |
|
|
|