Object | +--ToolBarButtonpublic class ToolBarButton
Represents a button on a toolbar.
Constructors
Name | Description |
---|---|
ToolBarButton() | Topic under construction. |
ToolBarButton(boolean enabled, int imageIndex, boolean indeterminate, Menu menu, boolean pushed, int style, Object tag, String text, String toolTipText) | Topic under construction. |
Methods
Name | Description |
---|---|
addOnClick(EventHandler value) | Adds an listener for the Click event on this toolbar button. |
dispose() | Topic under construction. |
execute() | Topic under construction. |
finalize() | Topic under construction. |
getConstructorArgs() | Topic under construction. |
getEnabled() | Retrieves the Enabled property. |
getImageIndex() | Retrieves the ImageIndex property. |
getIndeterminate() | Retrieves the Indeterminate property. |
getMenu() | Retrieves the Menu property. |
getPushed() | Retrieves the Pushed property. |
getStyle() | Retrieves the Style property. |
getTag() | Retrieves the Tag property. |
getText() | Retrieves the Text property. |
getToolTipText() | Retrieves the ToolTipText property. |
onClick(Event e) | The Click event. |
removeOnClick(EventHandler value) | Removes a Click event handler. |
setEnabled(boolean value) | Sets the Enabled property. |
setImageIndex(int index) | Sets the ImageIndex property. |
setIndeterminate(boolean value) | Sets the Indeterminate property. |
setMenu(Menu menu) | Sets the Menu property. |
setPushed(boolean value) | Sets the Pushed property. |
setStyle(int value) | Sets the Style property. |
setTag(Object value) | Sets the Tag property. |
setText(String text) | Sets the Text property. |
setToolTipText(String value) | Sets the ToolTipText property. |
Topic under construction.
Topic under construction.
Adds an listener for the Click event on this toolbar button.
Topic under construction.
Topic under construction.
Topic under construction.
Topic under construction.
Returns the Enabled property state.
Retrieves the Enabled property. This property specifies whether the button is usable.
Returns the index of the image.
Retrieves the ImageIndex property. This property specifies an image to use for the toolbar button.
Returns the Indeterminate property state.
Retrieves the Indeterminate property. This property specifies whether the button is dimmed.
Returns a Menu object.
Retrieves the Menu property. The Menu is used for drop-down toolbar buttons.
Returns the Pushed state.
Retrieves the Pushed property. This property applies to buttons of the style STYLE_CHECK.
Returns the Style property.
Retrieves the Style property.
Returns the Tag object.
Retrieves the Tag property. This is user-defined data.
Returns a string containing the text.
Retrieves the Text property. The text is what sits next to or below the toolbar button image.
Returns the string.
Retrieves the ToolTipText property. This text is displayed when the user holds the mouse over the toolbar button.
The Click event.
Removes a Click event handler.
Sets the Enabled property. This property specifies whether the button is usable.
Sets the ImageIndex property. This property specifies an image to use for the toolbar button.
Sets the Indeterminate property. This property specifies whether the button is dimmed.
Sets the Menu property. The Menu is used for drop-down toolbar buttons.
Sets the Pushed property. This property applies to buttons of the style STYLE_CHECK.
Sets the Style property.
Sets the Tag property. This is for user-defined data.
Sets the Text property.
Sets the ToolTipText property. This text is displayed when the user holds the mouse over the toolbar button.