Enum LimitedTextArea.LengthDisplayMode
- All Implemented Interfaces:
Serializable, Comparable<LimitedTextArea.LengthDisplayMode>
- Enclosing class:
LimitedTextArea
public static enum LimitedTextArea.LengthDisplayMode
extends Enum<LimitedTextArea.LengthDisplayMode>
The supported modes for displaying the text length indicator.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAlways hide the length indicator.Always show the length indicator.When in a warning or error state, the text length indicator label will be displayed. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.static LimitedTextArea.LengthDisplayMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
AUTO
When in a warning or error state, the text length indicator label will be displayed. -
ALWAYS_SHOW
Always show the length indicator. -
ALWAYS_HIDE
Always hide the length indicator.
-
-
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
-