jsx3.gui.Button
API
Destroy
Fires after this button is removed from the DOM.
Execute
Fires after the user clicks this button or after an equivalent event.
Menu
Fires after the user right-clicks this button and before the bound context menu displays.
Execute
jsxexecute
Fires after the user clicks this button or after an equivalent event.
Context Variables
this
{
jsx3.gui.Button
} - the object that publishes this event.
objEVENT
{
jsx3.gui.Event
} - the browser event that triggers this event. May be
null
if this event is triggered by calling
doExecute()
.
Menu
jsxmenu
Fires after the user right-clicks this button and before the bound context menu displays. Canceling this event prevents the menu from displaying.
Cancelable: Evaluate to
false
to cancel event.
Context Variables
this
{
jsx3.gui.Button
} - the object that publishes this event.
objEVENT
{
jsx3.gui.Event
} - the browser event that triggers this event.
objMENU
{
jsx3.gui.Menu
} - the menu to display.
Return Fields
objMENU
{
jsx3.gui.Menu
} - use this field to override the default menu with an instance of
jsx3.gui.Menu
.
Destroy
jsxdestroy
Fires after this button is removed from the DOM.
Context Variables
this
{
jsx3.gui.Button
} - the object that publishes this event.
objPARENT
{
jsx3.app.Model
} - the parent of this button before it is removed from the DOM.
Copyright © 2001-2007, TIBCO Software Inc.