Package com.ardor3d.extension.ui.text
Enum Class TextSelection.SelectionState
java.lang.Object
java.lang.Enum<TextSelection.SelectionState>
com.ardor3d.extension.ui.text.TextSelection.SelectionState
- All Implemented Interfaces:
Serializable
,Comparable<TextSelection.SelectionState>
,Constable
- Enclosing class:
TextSelection
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionWe have a selection and our caret is currently at the end of that selection.We have a selection and our caret is currently at the start of that selection.No selection is currently made. -
Method Summary
Modifier and TypeMethodDescriptionstatic TextSelection.SelectionState
Returns the enum constant of this class with the specified name.static TextSelection.SelectionState[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NO_SELECTION
No selection is currently made. -
AT_END_OF_SELECTION
We have a selection and our caret is currently at the end of that selection. -
AT_START_OF_SELECTION
We have a selection and our caret is currently at the start of that selection.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-