utilities
Class GraphLayer
java.lang.Object
|
+--utilities.GraphLayer
- All Implemented Interfaces:
- ConfiguredObject
- public class GraphLayer
- extends java.lang.Object
- implements ConfiguredObject
Methods inherited from class java.lang.Object |
equals, getClass, notify, notifyAll, toString, wait, wait, wait |
GraphLayer
public GraphLayer(java.lang.String n,
javax.swing.JPanel p)
GraphLayer
public GraphLayer(java.lang.String n)
GraphLayer
public GraphLayer()
getName
public java.lang.String getName()
setName
public void setName(java.lang.String n)
getPanel
public javax.swing.JPanel getPanel()
isVisible
public boolean isVisible()
willSave
public boolean willSave()
setWillSave
public void setWillSave(boolean b)
getNode
public GraphNode getNode(java.awt.Component c)
storeNodePlacement
public void storeNodePlacement(java.awt.Component c)
restoreNodePlacement
public java.awt.Point restoreNodePlacement(java.awt.Component c)
hasStoredPlace
public boolean hasStoredPlace(java.awt.Component c)
addToLayer
public void addToLayer(GraphNode n,
java.awt.Component c)
removeFromLayer
public void removeFromLayer(GraphNode n)
contains
public boolean contains(java.lang.Object n)
isPlaced
public boolean isPlaced(GraphNode n)
elements
public java.util.Enumeration elements()
panels
public java.util.Enumeration panels()
getPanel
public javax.swing.JPanel getPanel(GraphNode n)
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
updateCfg
public void updateCfg()
- Description copied from interface:
ConfiguredObject
- updates the information in this object with information currently in the
CfgManager.
- Specified by:
updateCfg
in interface ConfiguredObject
saveCfg
public void saveCfg()
- Description copied from interface:
ConfiguredObject
- saves the information in this object to the proper location in the
CfgManager.
- Specified by:
saveCfg
in interface ConfiguredObject