Class mindmaps.ToolBarButton
Defined in: ToolBar.js.
Constructor Attributes | Constructor Name and Description |
---|---|
mindmaps.ToolBarButton(command)
Toolbar button model.
|
Method Attributes | Method Name and Description |
---|---|
asJquery()
Constructs a jQuery element that represents the button.
|
|
click()
Executes the button's command.
|
|
getId()
Gets the unique id of the button.
|
|
getTitle()
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}