ToolbarItem Methods |
The ToolbarItem type exposes the following members.
Name | Description | |
---|---|---|
![]() | add |
Adds an item that displays the specified text to the collection. Works for ComboBox and DropDownButton.
|
![]() | addSeparator |
Inserts separator into ComboBox
|
![]() | disable |
Disable the component.
|
![]() | enable |
Enable the component.
|
![]() | getBounds |
Gets the size and location of the item.
|
![]() | getEnabled |
get enabled.
|
![]() | getId |
Gets the identifier of the Toolbar object.
|
![]() | getItem |
Gets an string representing of the item with specified index from
the collection of the items contained in this ComboBox.
|
![]() | getItemCount |
Gets the number of items in the collection. Works for ComboBox and DropDownButton.
|
![]() | getSelectedIndex |
Gets the index specifying the currently selected item. Works for ComboBox.
|
![]() | getSelectedItem |
Gets currently selected item in the ComboBox.
|
![]() | getState |
Gets the state of push button.
|
![]() | getText |
Gets the text displayed in textBox.
|
![]() | remove |
Remove specified item from ComboBox.
|
![]() | removeAll |
Removes all items from the component. Works for ComboBox or DropDownButton.
|
![]() | setEnabled |
Enables or disables this component, depending on the value of the
parameter. An enabled component can respond to user input and generate events.
Components are enabled initially by default. Works for Buttons.
|
![]() | setItemVisible | |
![]() | setLabel |
Sets the label of the element (that's displayed after/before the element).
|
![]() | setSelected |
Gets currently selected item in the ComboBox.
|
![]() | setState |
Sets the state of push button.
|
![]() | setText |
Sets the text to be displayed in the textBox.
|