dundas.controls.ToolbarItem Class

 

Inheritance Hierarchy

 
Class
   dundas.EventDisposable
      dundas.controls.FocusableControl
         dundas.controls.ToolbarItem
 

Constructors

 
  Name Description
init Generate a toolbar item represented by the command.
 
 

Properties

 
  Name Description
command Gets the command property of the toolbar item.
controlContainer Gets the container of this control. Inherited from dundas.controls.FocusableControl.
isDisabled Gets or sets whether or not this control is disabled. Inherited from dundas.controls.FocusableControl.
isDisposed Gets a value indicating whether this instance has been disposed. Inherited from dundas.EventDisposable.
isEnabled Gets or sets a value indicating whether the toolbar item is enabled.
isExpandable Gets a value indicating whether the toolbar item is expandable.
isExpanded Gets a value indicating whether the toolbar item is expanded.
isFocused Gets or sets the focused state of this control. Inherited from dundas.controls.FocusableControl.
isTogglable Gets a value indicating whether the toolbar item can be toggled.
isToggled Gets a value indicating whether the toolbar item is toggled.
jQControlContainer Gets the container of this control in JQuery object. Inherited from dundas.controls.FocusableControl.
parentFocusable Gets the focusable parent of this control. Inherited from dundas.controls.FocusableControl.
toggleGroup Gets or sets the toggle group that this item belongs to.
toolbar Gets or sets the toolbar that this item belongs to.
uiCache Gets the UI cache table Inherited from dundas.EventDisposable.
 
 

Methods

 
  Name Description
bind Bind an event to this class object. Inherited from dundas.EventDisposable.
collapse Public method to collapse this item.
dispose Performs tasks associated with releasing resources from this object once it is unneeded. Inherited from dundas.EventDisposable.
expand Public method to expand this item.
focus Put this control into focus. Inherited from dundas.controls.FocusableControl.
fromJObject Applies the property values from a plain object created from JSON to the properties of this instance. Inherited from Class.
getCategoryDom Gets the category DOM element of this item.
getContextState Set the UI context state to be saved in dundas.UIContextFocus Inherited from dundas.controls.FocusableControl.
getItemElement Gets the root element of this item.
onShown Called when this instance has been added to the DOM and is visible.
raiseBindEvent Fire the event specified with eventName, or subscribe a handler. Inherited from dundas.EventDisposable.
setContextState Restore this control to the state as defined. Inherited from dundas.controls.FocusableControl.
subscribe Subscribe or unsubscribe an event handler for an event. Inherited from dundas.EventDisposable.
subscribeBlurred Inherited from dundas.controls.FocusableControl.
subscribeDisposed Subscribe to the disposed event. Inherited from dundas.EventDisposable.
subscribeFocused Inherited from dundas.controls.FocusableControl.
subscribeOnce Subscribe a one time event handler for an event. Inherited from dundas.EventDisposable.
toggle Public method to toggle this item on/off. Do not confuse with expand/collapse.
toJSON Implementation for toJSON to return an object that will include this class's prototype property values when stringified. Inherited from Class.
trigger Raise an event. Inherited from dundas.EventDisposable.
unbind Unsubscribe an event. if handler is specified, unsubscribe that handler. if no parameters are specified, unbind everything. Inherited from dundas.EventDisposable.
unbindAll unsubscribe all events. Inherited from dundas.EventDisposable.
updateTooltipText Update the tooltip text on this toolbar item with the given text.