public static enum Caret.CaretVisibility extends java.lang.Enum<Caret.CaretVisibility>
Enum Constant | Description |
---|---|
AUTO |
Caret is displayed when area is focused, enabled, and editable.
|
OFF |
Caret is not displayed.
|
ON |
Caret is displayed.
|
Modifier and Type | Method | Description |
---|---|---|
static Caret.CaretVisibility |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static Caret.CaretVisibility[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Caret.CaretVisibility ON
public static final Caret.CaretVisibility AUTO
public static final Caret.CaretVisibility OFF
public static Caret.CaretVisibility[] values()
for (Caret.CaretVisibility c : Caret.CaretVisibility.values()) System.out.println(c);
public static Caret.CaretVisibility valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null