utilities
Class GraphLayers

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

public class GraphLayers
extends java.lang.Object
implements ConfiguredObject


Constructor Summary
GraphLayers(javax.swing.JTabbedPane p)
           
 
Method Summary
 void addLayer(java.lang.String name)
           
 void addToLayer(java.lang.String name, GraphNode mem, javax.swing.JPanel panel)
           
 void eliminate(GraphNode mem)
           
static GraphLayers getGlobal()
           
 GraphLayer getLayer(java.lang.String name)
           
 java.util.Enumeration getLayers()
           
 java.util.Enumeration getLayers(GraphNode mem)
           
 javax.swing.JPanel getPanel(java.lang.String layer, GraphNode n)
           
 javax.swing.JPanel getTopPanel(GraphNode n)
           
 java.lang.String getVisible()
           
 boolean isInLayer(java.lang.String layer, GraphNode mem)
           
 boolean isObjectVisible(GraphNode mem)
           
 boolean isVisible(java.lang.String name)
           
 void removeFromLayer(java.lang.String name, GraphNode mem)
           
 void removeLayer(java.lang.String name)
           
 void saveCfg()
          saves the information in this object to the proper location in the CfgManager.
 void setVisible(java.lang.String name, boolean b)
           
 void updateCfg()
          updates the information in this object with information currently in the CfgManager.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphLayers

public GraphLayers(javax.swing.JTabbedPane p)
Method Detail

getGlobal

public static GraphLayers getGlobal()

addLayer

public void addLayer(java.lang.String name)

removeLayer

public void removeLayer(java.lang.String name)

addToLayer

public void addToLayer(java.lang.String name,
                       GraphNode mem,
                       javax.swing.JPanel panel)

removeFromLayer

public void removeFromLayer(java.lang.String name,
                            GraphNode mem)

getLayers

public java.util.Enumeration getLayers()

getLayers

public java.util.Enumeration getLayers(GraphNode mem)

eliminate

public void eliminate(GraphNode mem)

getVisible

public java.lang.String getVisible()

isVisible

public boolean isVisible(java.lang.String name)

setVisible

public void setVisible(java.lang.String name,
                       boolean b)

isObjectVisible

public boolean isObjectVisible(GraphNode mem)

getPanel

public javax.swing.JPanel getPanel(java.lang.String layer,
                                   GraphNode n)

getTopPanel

public javax.swing.JPanel getTopPanel(GraphNode n)

isInLayer

public boolean isInLayer(java.lang.String layer,
                         GraphNode mem)

getLayer

public GraphLayer getLayer(java.lang.String name)

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