org.tigris.gef.base
Class LayerPerspectiveMutable

java.lang.Object
  extended by org.tigris.gef.base.Layer
      extended by org.tigris.gef.base.LayerDiagram
          extended by org.tigris.gef.base.LayerPerspective
              extended by org.tigris.gef.base.LayerPerspectiveMutable
All Implemented Interfaces:
java.io.Serializable, java.util.EventListener, GraphListener

public class LayerPerspectiveMutable
extends LayerPerspective

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.tigris.gef.base.LayerPerspective
_allowedNetClasses, _nodeTypeRegions, GAP
 
Fields inherited from class org.tigris.gef.base.LayerDiagram
_nextLayerNumbered
 
Fields inherited from class org.tigris.gef.base.Layer
_editors, _onMenu
 
Constructor Summary
LayerPerspectiveMutable(java.lang.String name, MutableGraphModel mgm)
           
 
Method Summary
 void add(Fig fig)
          Add a Fig to the contents of this layer.
 GraphModel getGraphModel()
          Reply the GraphModel of the underlying connected graph.
 MutableGraphModel getMutableGraphModel()
           
 void remove(Fig f)
          Remove the given Fig from this layer.
 void setGraphModel(GraphModel gm)
           
 void setMutableGraphModel(MutableGraphModel mgm)
           
 
Methods inherited from class org.tigris.gef.base.LayerPerspective
addNodeTypeRegion, allowNetClass, bumpOffOtherNodesIn, edgeAdded, edgeRemoved, getGraphController, getGraphEdgeRenderer, getGraphNodeRenderer, graphChanged, nodeAdded, nodeRemoved, putInPosition, setGraphController, setGraphEdgeRenderer, setGraphNodeRenderer, shouldShow
 
Methods inherited from class org.tigris.gef.base.LayerDiagram
bringForward, bringInFrontOf, bringToFront, elements, getContents, getContents, getPortFig, hit, indexOf, insertAt, numberWordFor, paintContents, paintContents, postLoad, postSave, preSave, presentationCountFor, presentationFor, removeAll, reorder, sendBackward, sendToBack
 
Methods inherited from class org.tigris.gef.base.Layer
addEditor, adjust, calcDrawingArea, clone, damageAll, deleted, elementsIn, getContentsEdgesOnly, getContentsNoEdges, getEditors, getGrayed, getHidden, getLocked, getName, getOnMenu, getPerspectiveType, getScale, isAlwaysOnTop, nodesIn, paint, paint, paintGrayContents, print, refreshEditors, removeEditor, setAlwaysOnTop, setGrayed, setHidden, setLocked, setName, setOnMenu, setPerspectiveType, setScale, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LayerPerspectiveMutable

public LayerPerspectiveMutable(java.lang.String name,
                               MutableGraphModel mgm)
Method Detail

getGraphModel

public GraphModel getGraphModel()
Description copied from class: LayerPerspective
Reply the GraphModel of the underlying connected graph.

Overrides:
getGraphModel in class LayerPerspective

setGraphModel

public void setGraphModel(GraphModel gm)
Overrides:
setGraphModel in class LayerPerspective

getMutableGraphModel

public MutableGraphModel getMutableGraphModel()

setMutableGraphModel

public void setMutableGraphModel(MutableGraphModel mgm)

add

public void add(Fig fig)
Description copied from class: LayerDiagram
Add a Fig to the contents of this layer. Items are added on top of all other items.

Overrides:
add in class LayerDiagram
Parameters:
fig - the fig to add
See Also:
LayerDiagram

remove

public void remove(Fig f)
Description copied from class: LayerDiagram
Remove the given Fig from this layer.

Overrides:
remove in class LayerDiagram