Overview | Methods | This Package | All Packages
Creates a CustomizerVerb object.
Syntax
public CustomizerVerb( Object data, VerbExecuteEventHandler handler )
public CustomizerVerb( Object data, VerbExecuteEventHandler handler, Bitmap bitmap, boolean enabled, boolean checked )
Parameters
data
The user-defined data to be associated with the verb.
handler
The VerbExecuteEventHandler delegate to be notified when the verbExecute event occurs.
bitmap
A Bitmap object that represents the picture to be associated with the verb.
enabled
Set to true if the verb should appear enabled on the shortcut menu; otherwise, set to false.
checked
Set to true if the verb should appear checked on the shortcut menu; otherwise, set to false.
Remarks
Verbs are typically implemented in the designer through a shortcut menu that appears when the user right-clicks the component. The text of the menu item for the verb is determined by calling the toString method of data. When the user selects a verb on the shortcut menu, the verbExecute event is triggered and the event handler associated with handler is invoked.