CustomizerVerb Class

CustomizerVerb Class

This Package | All Packages

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.

Constructors

CustomizerVerb.CustomizerVerb

Syntax
public CustomizerVerb( int id, String text );
Description

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.

Methods

CustomizerVerb.getID

Syntax
public int getID();
Description

Retrieves the user-defined ID of the verb.

CustomizerVerb.getText

Syntax
public String getText();
Description

Retrieves the text description of the verb.