utilities
Class GraphLayer

java.lang.Object
  |
  +--utilities.GraphLayer
All Implemented Interfaces:
ConfiguredObject

public class GraphLayer
extends java.lang.Object
implements ConfiguredObject


Constructor Summary
GraphLayer()
           
GraphLayer(java.lang.String n)
           
GraphLayer(java.lang.String n, javax.swing.JPanel p)
           
 
Method Summary
 void addToLayer(GraphNode n, java.awt.Component c)
           
 boolean contains(java.lang.Object n)
           
 java.util.Enumeration elements()
           
 java.lang.String getName()
           
 GraphNode getNode(java.awt.Component c)
           
 javax.swing.JPanel getPanel()
           
 javax.swing.JPanel getPanel(GraphNode n)
           
 int hashCode()
           
 boolean hasStoredPlace(java.awt.Component c)
           
 boolean isPlaced(GraphNode n)
           
 boolean isVisible()
           
 java.util.Enumeration panels()
           
 void removeFromLayer(GraphNode n)
           
 java.awt.Point restoreNodePlacement(java.awt.Component c)
           
 void saveCfg()
          saves the information in this object to the proper location in the CfgManager.
 void setName(java.lang.String n)
           
 void setWillSave(boolean b)
           
 void storeNodePlacement(java.awt.Component c)
           
 void updateCfg()
          updates the information in this object with information currently in the CfgManager.
 boolean willSave()
           
 
Methods inherited from class java.lang.Object
equals, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphLayer

public GraphLayer(java.lang.String n,
                  javax.swing.JPanel p)

GraphLayer

public GraphLayer(java.lang.String n)

GraphLayer

public GraphLayer()
Method Detail

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