Class mxGraphModel.mxTerminalChange

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

public static class mxGraphModel.mxTerminalChange extends mxIGraphModel.mxAtomicGraphModelChange
  • Field Details

    • cell

      protected Object cell
    • terminal

      protected Object terminal
    • previous

      protected Object previous
    • source

      protected boolean source
  • Constructor Details

    • mxTerminalChange

      public mxTerminalChange()
    • mxTerminalChange

      public mxTerminalChange(mxGraphModel model, Object cell, Object terminal, boolean source)
  • Method Details

    • setCell

      public void setCell(Object value)
    • getCell

      public Object getCell()
      Returns:
      the cell
    • setTerminal

      public void setTerminal(Object value)
    • getTerminal

      public Object getTerminal()
      Returns:
      the terminal
    • setPrevious

      public void setPrevious(Object value)
    • getPrevious

      public Object getPrevious()
      Returns:
      the previous
    • setSource

      public void setSource(boolean value)
    • 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