jsx3.gui.ToolbarButtonAPI


ChangeFires after the state of this button has changed through user interaction.
DestroyFires after this toolbar button is removed from the DOM.
ExecuteFires after the user clicks this button or when this button has focus and the user presses the spacebar or Enter key.

Executejsxexecute

Fires after the user clicks this button or when this button has focus and the user presses the spacebar or Enter key. Also fired after the user presses the bound hot key (Key Binding property), if any. This event is also fired by the doExecute() method of the ToolbarButton class. Canceling this event prevents the Change event from firing.
Cancelable: Evaluate to false to cancel event.

Context Variables

this {jsx3.gui.ToolbarButton} - the object that publishes this event.
objEVENT {jsx3.gui.Event} - the browser event that triggers this event.

Changejsxchange

Fires after the state of this button has changed through user interaction.

Context Variables

this {jsx3.gui.ToolbarButton} - the object that publishes this event.
objEVENT {jsx3.gui.Event} - the browser event that triggers this event.

Destroyjsxdestroy

Fires after this toolbar button is removed from the DOM.

Context Variables

this {jsx3.gui.ToolbarButton} - the object that publishes this event.
objPARENT {jsx3.app.Model} - the parent of this toolbar button before it is removed from the DOM.