Class Index | File Index

Classes


Class mindmaps.Command


Defined in: Command.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Creates a new command.
Field Summary
Field Attributes Field Name and Description
<private>  
Method Summary
Method Attributes Method Name and Description
 
Executes the command.
<private>  
The handler function.
 
Removes the current handler.
 
setEnabled(enabled)
Sets the enabled state of the command.
 
setHandler(handler)
Registers a new handler.
Class Detail
mindmaps.Command()
Creates a new command. Base class for all commands
Field Detail
<private> enabled
Method Detail
execute()
Executes the command. Tries to call the handler function.

<private> handler()
The handler function.

removeHandler()
Removes the current handler.

setEnabled(enabled)
Sets the enabled state of the command.
Parameters:
{Boolean} enabled

setHandler(handler)
Registers a new handler.
Parameters:
{Function} handler

Documentation generated by JsDoc Toolkit 2.4.0 on Mon Jul 18 2011 18:03:15 GMT+0000 (WEST)