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

public static enum TextSelection.SelectionState extends Enum<TextSelection.SelectionState>
  • Enum Constant Details

    • NO_SELECTION

      public static final TextSelection.SelectionState NO_SELECTION
      No selection is currently made.
    • AT_END_OF_SELECTION

      public static final TextSelection.SelectionState AT_END_OF_SELECTION
      We have a selection and our caret is currently at the end of that selection.
    • AT_START_OF_SELECTION

      public static final TextSelection.SelectionState AT_START_OF_SELECTION
      We have a selection and our caret is currently at the start of that selection.
  • Method Details

    • values

      public static TextSelection.SelectionState[] 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

      public static TextSelection.SelectionState valueOf(String name)
      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 name
      NullPointerException - if the argument is null