Click or drag to resize

ToolbarItem Class

Is returned, e.g., by method "getItem" of "Toolbar"

Namespace:  Aras.Client.Controls.Public
Syntax
JavaScript
Aras.Client.Controls.Public.ToolbarItem = function();

Type.createClass(
	'Aras.Client.Controls.Public.ToolbarItem');

The ToolbarItem type exposes the following members.

Constructors
  NameDescription
Public methodToolbarItem
Top
Methods
  NameDescription
Public methodadd
Adds an item that displays the specified text to the collection. Works for ComboBox and DropDownButton.
Public methodaddSeparator
Inserts separator into ComboBox
Public methoddisable
Disable the component.
Public methodenable
Enable the component.
Public methodgetBounds
Gets the size and location of the item.
Public methodgetEnabled
get enabled.
Public methodgetId
Gets the identifier of the Toolbar object.
Public methodgetItem
Gets an string representing of the item with specified index from the collection of the items contained in this ComboBox.
Public methodgetItemCount
Gets the number of items in the collection. Works for ComboBox and DropDownButton.
Public methodgetSelectedIndex
Gets the index specifying the currently selected item. Works for ComboBox.
Public methodgetSelectedItem
Gets currently selected item in the ComboBox.
Public methodgetState
Gets the state of push button.
Public methodgetText
Gets the text displayed in textBox.
Public methodremove
Remove specified item from ComboBox.
Public methodremoveAll
Removes all items from the component. Works for ComboBox or DropDownButton.
Public methodsetEnabled
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.
Public methodsetItemVisible
Public methodsetLabel
Sets the label of the element (that's displayed after/before the element).
Public methodsetSelected
Gets currently selected item in the ComboBox.
Public methodsetState
Sets the state of push button.
Public methodsetText
Sets the text to be displayed in the textBox.
Top
See Also