public enum CaretStyle extends java.lang.Enum<CaretStyle>
ConfigurableCaret
..
Currently supported renderings include:
DefaultCaret
)Enum Constant and Description |
---|
BLOCK_BORDER_STYLE |
BLOCK_STYLE |
THICK_VERTICAL_LINE_STYLE |
UNDERLINE_STYLE |
VERTICAL_LINE_STYLE |
Modifier and Type | Method and Description |
---|---|
static CaretStyle |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CaretStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CaretStyle VERTICAL_LINE_STYLE
public static final CaretStyle UNDERLINE_STYLE
public static final CaretStyle BLOCK_STYLE
public static final CaretStyle BLOCK_BORDER_STYLE
public static final CaretStyle THICK_VERTICAL_LINE_STYLE
public static CaretStyle[] values()
for (CaretStyle c : CaretStyle.values()) System.out.println(c);
public static CaretStyle 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