- All Implemented Interfaces:
Serializable
,Comparable<TextFieldButton.Mode>
- Enclosing class:
- TextFieldButton
The mode of the component.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionText is stored in the component and neitherTextAreaButton.inputValue()
norTextAreaButton.outputValue(String)
is called to store the state of the text area.When the text area's dialog box appears, its state is created by callingTextAreaButton.inputValue()
.Text is stored in the component. -
Method Summary
Modifier and TypeMethodDescriptionstatic TextFieldButton.Mode
Returns the enum constant of this type with the specified name.static TextFieldButton.Mode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
USE_OUTPUT_NO_STATE
When the text area's dialog box appears, its state is created by callingTextAreaButton.inputValue()
. When the dialog box is closed, its state is written by callingTextAreaButton.outputValue(String)
. -
USE_OUTPUT_WITH_STATE
Text is stored in the component. When the dialog box is closed, its state is written by callingTextAreaButton.outputValue(String)
. -
NO_OUTPUT_WITH_STATE
Text is stored in the component and neitherTextAreaButton.inputValue()
norTextAreaButton.outputValue(String)
is called to store the state of the text area.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-