Enum Class AccessibleTextGranularity

java.lang.Object
java.lang.Enum<AccessibleTextGranularity>
org.gnome.gtk.AccessibleTextGranularity
All Implemented Interfaces:
Serializable, Comparable<AccessibleTextGranularity>, Constable, Enumeration

@Generated("org.javagi.JavaGI") public enum AccessibleTextGranularity extends Enum<AccessibleTextGranularity> implements Enumeration
The granularity for queries about the text contents of a AccessibleText implementation.
Since:
4.14
  • Nested Class Summary

    Nested classes/interfaces inherited from class Enum

    Enum.EnumDesc<E>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Use the boundary between characters (including non-printing characters)
    Use the boundary between lines, starting from the beginning of the current line and ending at the beginning of the next line
    Use the boundary between paragraphs, starting from the beginning of the current paragraph and ending at the beginning of the next paragraph
    Use the boundary between sentences, starting from the beginning of the current sentence and ending at the beginning of the next sentence
    Use the boundary between words, starting from the beginning of the current word and ending at the beginning of the next word
  • Method Summary

    Modifier and Type
    Method
    Description
    static @Nullable Type
    Get the GType of the AccessibleTextGranularity class.
    int
    Get the numeric value of this enum
    of(int value)
    Create a new AccessibleTextGranularity for the provided value
    of(MemorySegment address)
    Create a new AccessibleTextGranularity for the value in the provided memory address.
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • CHARACTER

      public static final AccessibleTextGranularity CHARACTER
      Use the boundary between characters (including non-printing characters)
    • WORD

      public static final AccessibleTextGranularity WORD
      Use the boundary between words, starting from the beginning of the current word and ending at the beginning of the next word
    • SENTENCE

      public static final AccessibleTextGranularity SENTENCE
      Use the boundary between sentences, starting from the beginning of the current sentence and ending at the beginning of the next sentence
    • LINE

      public static final AccessibleTextGranularity LINE
      Use the boundary between lines, starting from the beginning of the current line and ending at the beginning of the next line
    • PARAGRAPH

      public static final AccessibleTextGranularity PARAGRAPH
      Use the boundary between paragraphs, starting from the beginning of the current paragraph and ending at the beginning of the next paragraph
  • Method Details

    • values

      public static AccessibleTextGranularity[] 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 AccessibleTextGranularity 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
    • of

      public static AccessibleTextGranularity of(int value)
      Create a new AccessibleTextGranularity for the provided value
      Parameters:
      value - the enum value
      Returns:
      the enum for the provided value
    • getValue

      public int getValue()
      Get the numeric value of this enum
      Specified by:
      getValue in interface Enumeration
      Returns:
      the enum value
    • of

      public static AccessibleTextGranularity of(MemorySegment address)
      Create a new AccessibleTextGranularity for the value in the provided memory address.
      Parameters:
      address - the memory address holding a enum value
      Returns:
      the enum for the value in the provided memory address
    • getType

      public static @Nullable Type getType()
      Get the GType of the AccessibleTextGranularity class.
      Returns:
      the GType