public class CustomizerVerb
The CustomizerVerb class represents a verb that can be run by a component's customizer.
Constructors
Name | Description |
---|---|
CustomizerVerb(int id, String text) | Creates a customizer verb with the given ID and description. |
Methods
Name | Description |
---|---|
getID() | Retrieves the user-defined ID of the verb. |
getText() | Retrieves the text description of the verb. |
Creates a customizer verb with the given ID and description. Customizer verbs are created by the getVerbs() method of the ICustomizer interface. The meaning of the id parameter is entirely determined by the particular customizer; it is typically used in a switch statement in the implementation of the performVerb() method.
Retrieves the user-defined ID of the verb.
Retrieves the text description of the verb.