|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectantsnest.undo.UndoManager
public class UndoManager
Responsible for managing undo/redo actions
| Constructor Summary | |
|---|---|
UndoManager(ApplicationTasks appTasks,
JComponent[] undoComponents,
JComponent[] redoComponents)
Constructs the manager |
|
| Method Summary | |
|---|---|
AntProject |
getLastState()
Gets the last state of a project |
AntProject |
getNextState()
Gets the next state of a project |
void |
projectChanged()
Called when a project has been edited |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UndoManager(ApplicationTasks appTasks,
JComponent[] undoComponents,
JComponent[] redoComponents)
appTasks - an object that can perform application tasksundoComponents - components that execute undoredoComponents - components that execute redo| Method Detail |
|---|
public void projectChanged()
public AntProject getLastState()
public AntProject getNextState()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||