![]() | ![]() |


Definition at line 11 of file CommandHistory.as.
Public Member Functions | |
| function | CommandHistory () |
| function | hasUndoableActions () |
| function | hasRedoableActions () |
| function | undo () |
| function | redo () |
| function | add (cmd:ICommand) |
| function | clear () |
| function | navigate (aCommandIndex:Number) |
Private Member Functions | |
| function | getNextUndoCommand () |
| function | getNextRedoCommand () |
Private Attributes | |
| var | mHistoryBuffer:Array |
| var | mCurrent:Number |
| function gugga.commands.CommandHistory.CommandHistory | ( | ) |
Definition at line 15 of file CommandHistory.as.
| function gugga.commands.CommandHistory.hasUndoableActions | ( | ) |
Definition at line 20 of file CommandHistory.as.
| function gugga.commands.CommandHistory.hasRedoableActions | ( | ) |
Definition at line 24 of file CommandHistory.as.
| function gugga.commands.CommandHistory.undo | ( | ) |
Definition at line 29 of file CommandHistory.as.
References gugga.common.UIComponentEx.dispatchEvent().
Here is the call graph for this function:

| function gugga.commands.CommandHistory.redo | ( | ) |
Definition at line 40 of file CommandHistory.as.
References gugga.common.UIComponentEx.dispatchEvent().
Here is the call graph for this function:

| function gugga.commands.CommandHistory.add | ( | cmd:ICommand | ) |
Definition at line 52 of file CommandHistory.as.
References gugga.common.UIComponentEx.dispatchEvent().
Here is the call graph for this function:

| function gugga.commands.CommandHistory.clear | ( | ) |
Definition at line 64 of file CommandHistory.as.
References gugga.common.UIComponentEx.dispatchEvent().
Here is the call graph for this function:

| function gugga.commands.CommandHistory.getNextUndoCommand | ( | ) | [private] |
Definition at line 72 of file CommandHistory.as.
| function gugga.commands.CommandHistory.getNextRedoCommand | ( | ) | [private] |
Definition at line 76 of file CommandHistory.as.
| function gugga.commands.CommandHistory.navigate | ( | aCommandIndex:Number | ) |
This method navigates through the history by executing particular command in the history buffer.
| Number | command index indicating which command to execute. |
Definition at line 88 of file CommandHistory.as.
var gugga.commands.CommandHistory.mHistoryBuffer [private] |
Definition at line 12 of file CommandHistory.as.
var gugga.commands.CommandHistory.mCurrent [private] |
Definition at line 13 of file CommandHistory.as.
1.5.2