Class mxGraphModel.mxVisibleChange

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

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

    • cell

      protected Object cell
    • visible

      protected boolean visible
    • previous

      protected boolean previous
  • Constructor Details

    • mxVisibleChange

      public mxVisibleChange()
    • mxVisibleChange

      public mxVisibleChange(mxGraphModel model, Object cell, boolean visible)
  • Method Details

    • setCell

      public void setCell(Object value)
    • getCell

      public Object getCell()
      Returns:
      the cell
    • setVisible

      public void setVisible(boolean value)
    • isVisible

      public boolean isVisible()
      Returns:
      the visible
    • setPrevious

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