com.algosome.common.undoable
Interface Changeable

All Known Subinterfaces:
IChangeManager
All Known Implementing Classes:
ChangeManager

public interface Changeable

Defines that an object can undo and redo a state. Note that implementations are not required to restore state from any other state, rather they are required to undo/redo a state from a previous or next state change in linear order.

Author:
Greg Cope

Method Summary
 void redo()
          Redoes the state.
 void undo()
          Undoes the state
 

Method Detail

undo

void undo()
Undoes the state


redo

void redo()
Redoes the state.