Class draw2d.CommandStackEvent
Object
|
+--draw2d.CommandStackEvent
- class
draw2d.CommandStackEvent
Defined in CommandStackEvent.js
Version: 0.9.14
Author: Andreas Herz
|
Constructor Summary |
draw2d.CommandStackEvent
( command, details)
Instances of this class are sent whenever stack events occur.
|
|
Method Summary |
draw2d.Command
|
getCommand()
Returns null or a Command if a command is relevant to the current event.
|
Object
|
getDetails()
Returns an integer identifying the type of event which has occurred
( defined by draw2d.CommandStack).
|
boolean
|
isPostChangeEvent()
Returns true if this event is fired after the stack having changed.
|
boolean
|
isPreChangeEvent()
Returns true if this event is fired prior to the stack changing.
|
command
Object command
details
Object details
type
Object type
draw2d.CommandStackEvent
draw2d.CommandStackEvent( command, details)
Instances of this class are sent whenever stack events occur. The type of event
can be determined by calling getDetail(), and comparing the return value to constants
defined by draw2d.CommandStack.
Warning: this class is not intended to be subclassed.
Version: 0.9.14
Author: Andreas Herz
getCommand
draw2d.Command getCommand()
Returns null or a Command if a command is relevant to the current event.
getDetails
Object getDetails()
Returns an integer identifying the type of event which has occurred
( defined by draw2d.CommandStack).
isPostChangeEvent
boolean isPostChangeEvent()
Returns true if this event is fired after the stack having changed.
Returns:
true if post-change event
isPreChangeEvent
boolean isPreChangeEvent()
Returns true if this event is fired prior to the stack changing.
Documentation generated by
JSDoc on Thu Feb 7 23:45:47 2008