Package org.gnome.gtk
Enum Class AccessibleTextGranularity
- All Implemented Interfaces:
Enumeration
,Serializable
,Comparable<AccessibleTextGranularity>
,Constable
@Generated("io.github.jwharm.JavaGI")
public enum AccessibleTextGranularity
extends Enum<AccessibleTextGranularity>
implements Enumeration
The granularity for queries about the text contents of a
AccessibleText
implementation.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionUse 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 lineUse the boundary between paragraphs, starting from the beginning of the current paragraph and ending at the beginning of the next paragraphUse the boundary between sentences, starting from the beginning of the current sentence and ending at the beginning of the next sentenceUse 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 TypeMethodDescriptionstatic Type
getType()
Get the GType of the AccessibleTextGranularity classint
getValue()
Get the numeric value of this enumstatic AccessibleTextGranularity
of
(int value) Create a new AccessibleTextGranularity for the provided valuestatic AccessibleTextGranularity
Returns the enum constant of this class with the specified name.static AccessibleTextGranularity[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CHARACTER
Use the boundary between characters (including non-printing characters) -
WORD
Use the boundary between words, starting from the beginning of the current word and ending at the beginning of the next word -
SENTENCE
Use the boundary between sentences, starting from the beginning of the current sentence and ending at the beginning of the next sentence -
LINE
Use the boundary between lines, starting from the beginning of the current line and ending at the beginning of the next line -
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
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
-
of
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 interfaceEnumeration
- Returns:
- the enum value
-
getType
Get the GType of the AccessibleTextGranularity class- Returns:
- the GType
-