Class Index | File Index

Classes


Class mindmaps.ToolBarButton


Defined in: ToolBar.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Toolbar button model.
Method Summary
Method Attributes Method Name and Description
 
Constructs a jQuery element that represents the button.
 
Executes the button's command.
 
Gets the unique id of the button.
 
Gets the button's title.
 
Gets the tooltip.
 
Returns whether the button should have an enabled style.
Class Detail
mindmaps.ToolBarButton(command)
Toolbar button model.
Parameters:
{mindmaps.Command} command
Method Detail
{jQuery} asJquery()
Constructs a jQuery element that represents the button.
Returns:
{jQuery}

click()
Executes the button's command.

{String} getId()
Gets the unique id of the button.
Returns:
{String}

{String} getTitle()
Gets the button's title.
Returns:
{String}

{String} getToolTip()
Gets the tooltip.
Returns:
{String}

{Boolean} isEnabled()
Returns whether the button should have an enabled style.
Returns:
{Boolean}

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