gugga.commands.CommandHistory Class Reference

Inheritance diagram for gugga.commands.CommandHistory:

Inheritance graph
[legend]
Collaboration diagram for gugga.commands.CommandHistory:

Collaboration graph
[legend]
List of all members.

Detailed Description

Author:
Krasimir

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


Constructor & Destructor Documentation

function gugga.commands.CommandHistory.CommandHistory (  ) 

Definition at line 15 of file CommandHistory.as.


Member Function Documentation

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.

Parameters:
Number command index indicating which command to execute.
See also:
BrowserHistoryManager

Definition at line 88 of file CommandHistory.as.


Member Data Documentation

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.


Generated on Fri May 11 17:13:32 2007 for GuggaFramework by  doxygen 1.5.2