public enum ActiveEnd extends java.lang.Enum<ActiveEnd> implements INativeEnum
| Enum Constant and Description |
|---|
End
The caret is at the end of the text range.
|
None
The caret is not at either end of the text range.
|
Start
The caret is at the beginning of the text range.
|
| Modifier and Type | Method and Description |
|---|---|
static java.util.Optional<ActiveEnd> |
fromNativeValue(int nativeValue) |
java.lang.String |
getConstantName() |
int |
getNativeValue() |
static ActiveEnd |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ActiveEnd[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ActiveEnd None
public static final ActiveEnd Start
public static final ActiveEnd End
public static ActiveEnd[] values()
for (ActiveEnd c : ActiveEnd.values()) System.out.println(c);
public static ActiveEnd 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 nullpublic int getNativeValue()
getNativeValue in interface INativeEnumpublic java.lang.String getConstantName()
getConstantName in interface INativeEnumpublic static java.util.Optional<ActiveEnd> fromNativeValue(int nativeValue)