Enum Class CaretBidiMode

java.lang.Object
java.lang.Enum<CaretBidiMode>
at.bestsolution.uia.CaretBidiMode
All Implemented Interfaces:
INativeEnum, Serializable, Comparable<CaretBidiMode>, Constable

public enum CaretBidiMode extends Enum<CaretBidiMode> implements INativeEnum
Contains possible values for the CaretBidiMode text attribute, which indicates whether the caret is in text that flows from left to right, or from right to left.
  • Enum Constant Details

    • LTR

      public static final CaretBidiMode LTR
      The caret is in text that flows from left to right.
    • RTL

      public static final CaretBidiMode RTL
      The caret is in text that flows from right to left.
  • Method Details

    • values

      public static CaretBidiMode[] 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 CaretBidiMode 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
    • getNativeValue

      public int getNativeValue()
      Specified by:
      getNativeValue in interface INativeEnum
    • getConstantName

      public String getConstantName()
      Specified by:
      getConstantName in interface INativeEnum
    • fromNativeValue

      public static Optional<CaretBidiMode> fromNativeValue(int nativeValue)