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)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GraphLayers
public GraphLayers(javax.swing.JTabbedPane p)
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