JGraph X 1.2.0.8


com.mxgraph.model
Class mxGraphModel.mxTerminalChange

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

public static class mxGraphModel.mxTerminalChange
extends mxIGraphModel.mxAtomicGraphModelChange


Field Summary
protected  Object cell
           
protected  boolean isSource
           
protected  Object previous
           
protected  Object terminal
           
 
Fields inherited from class com.mxgraph.model.mxIGraphModel.mxAtomicGraphModelChange
model
 
Constructor Summary
mxGraphModel.mxTerminalChange(mxGraphModel model, Object cell, Object terminal, boolean isSource)
           
 
Method Summary
 void execute()
          Changes the root of the model.
 Object getCell()
           
 Object getPrevious()
           
 Object getTerminal()
           
 boolean isSource()
           
 
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

terminal

protected Object terminal

previous

protected Object previous

isSource

protected boolean isSource
Constructor Detail

mxGraphModel.mxTerminalChange

public mxGraphModel.mxTerminalChange(mxGraphModel model,
                                     Object cell,
                                     Object terminal,
                                     boolean isSource)
Method Detail

getCell

public Object getCell()
Returns:
the cell

getTerminal

public Object getTerminal()
Returns:
the terminal

getPrevious

public Object getPrevious()
Returns:
the previous

isSource

public boolean isSource()
Returns:
the isSource

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.