JGraph X 1.2.0.8


com.mxgraph.model
Class mxGraphModel.mxVisibleChange

java.lang.Object
  extended by com.mxgraph.model.mxIGraphModel.mxAtomicGraphModelChange
      extended by com.mxgraph.model.mxGraphModel.mxVisibleChange
All Implemented Interfaces:
mxUndoableEdit.mxUndoableChange
Enclosing class:
mxGraphModel

public static class mxGraphModel.mxVisibleChange
extends mxIGraphModel.mxAtomicGraphModelChange


Field Summary
protected  Object cell
           
protected  boolean previous
           
protected  boolean visible
           
 
Fields inherited from class com.mxgraph.model.mxIGraphModel.mxAtomicGraphModelChange
model
 
Constructor Summary
mxGraphModel.mxVisibleChange(mxGraphModel model, Object cell, boolean visible)
           
 
Method Summary
 void execute()
          Changes the root of the model.
 Object getCell()
           
 boolean getPrevious()
           
 boolean isVisible()
           
 
Methods inherited from class com.mxgraph.model.mxIGraphModel.mxAtomicGraphModelChange
getModel, setModel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cell

protected Object cell

visible

protected boolean visible

previous

protected boolean previous
Constructor Detail

mxGraphModel.mxVisibleChange

public mxGraphModel.mxVisibleChange(mxGraphModel model,
                                    Object cell,
                                    boolean visible)
Method Detail

getCell

public Object getCell()
Returns:
the cell

isVisible

public boolean isVisible()
Returns:
the visible

getPrevious

public boolean getPrevious()
Returns:
the previous

execute

public void execute()
Changes the root of the model.

Specified by:
execute in interface mxUndoableEdit.mxUndoableChange
Specified by:
execute in class mxIGraphModel.mxAtomicGraphModelChange

JGraph X 1.2.0.8


Copyright (c) 2008 Gaudenz Alder. All rights reserved.