- All Implemented Interfaces:
Serializable
,Comparable<URLTextAreaButton.Mode>
- Enclosing class:
- URLTextAreaButton
The mode of the component.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionText is stored in the component and neither inputURLInUse, inputText, inputURL, outputURLInUse, outputText, nor outputURL will be called.When the text area's dialog box appears, its state is created by calling inputURLInUse and either inputText or inputURL.Text is stored in the component. -
Method Summary
Modifier and TypeMethodDescriptionstatic URLTextAreaButton.Mode
Returns the enum constant of this type with the specified name.static URLTextAreaButton.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 calling inputURLInUse and either inputText or inputURL. When the dialog box is closed, its state is stored by calling outputURLInUse and either outputURL or outputText. -
USE_OUTPUT_WITH_STATE
Text is stored in the component. When the dialog box is closed, its state is stored by calling outputURLInUse and either outputURL or outputText. -
NO_OUTPUT_WITH_STATE
Text is stored in the component and neither inputURLInUse, inputText, inputURL, outputURLInUse, outputText, nor outputURL will be called.
-
-
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
-