Interface IUndoRedoCommand

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void dispose()
      Called when the event is about to be destroyed.
      void redo()
      Redoes an event in the chart.
      void undo()
      Undoes an event in the chart.
    • Method Detail

      • undo

        void undo()
        Undoes an event in the chart. This should put the event back to the state it was prior to the event taking place.
      • redo

        void redo()
        Redoes an event in the chart. This should put the event back to the state it was after the event took place.
      • dispose

        void dispose()
        Called when the event is about to be destroyed. If any resources need to be cleaned up you should do so here.