Package org.gnome.gtk
Enum Class AccessibleRelation
- All Implemented Interfaces:
Enumeration
,Serializable
,Comparable<AccessibleRelation>
,Constable
@Generated("io.github.jwharm.JavaGI")
public enum AccessibleRelation
extends Enum<AccessibleRelation>
implements Enumeration
The possible accessible relations of a
Accessible
.
Accessible relations can be references to other widgets, integers or strings.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionIdentifies the currently active element when focus is on a composite widget, combobox, textbox, group, or application.Defines the total number of columns in a table, grid, or treegrid.Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid.Defines a human readable text alternative ofCOL_INDEX
.Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.Identifies the element (or elements) whose contents or presence are controlled by the current element.Identifies the element (or elements) that describes the object.Identifies the element (or elements) that provide additional information related to the object.Identifies the element (or elements) that provide an error message for an object.Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.Identifies the element (or elements) that labels the current element.Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between elements where the widget hierarchy cannot be used to represent the relationship.Defines an element's number or position in the current set of listitems or treeitems.Defines the total number of rows in a table, grid, or treegrid.Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid.Defines a human readable text alternative of aria-rowindex.Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.Defines the number of items in the current set of listitems or treeitems. -
Method Summary
Modifier and TypeMethodDescriptionstatic Type
getType()
Get the GType of the AccessibleRelation classint
getValue()
Get the numeric value of this enumvoid
Initializesvalue
with the appropriate type for the this AccessibleRelation.static AccessibleRelation
of
(int value) Create a new AccessibleRelation for the provided valuestatic AccessibleRelation
Returns the enum constant of this class with the specified name.static AccessibleRelation[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ACTIVE_DESCENDANT
Identifies the currently active element when focus is on a composite widget, combobox, textbox, group, or application. Value type: reference -
COL_COUNT
Defines the total number of columns in a table, grid, or treegrid. Value type: integer -
COL_INDEX
Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid. Value type: integer -
COL_INDEX_TEXT
Defines a human readable text alternative ofCOL_INDEX
. Value type: string -
COL_SPAN
Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid. Value type: integer -
CONTROLS
Identifies the element (or elements) whose contents or presence are controlled by the current element. Value type: reference -
DESCRIBED_BY
Identifies the element (or elements) that describes the object. Value type: reference -
DETAILS
Identifies the element (or elements) that provide additional information related to the object. Value type: reference -
ERROR_MESSAGE
Identifies the element (or elements) that provide an error message for an object. Value type: reference -
FLOW_TO
Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order. Value type: reference -
LABELLED_BY
Identifies the element (or elements) that labels the current element. Value type: reference -
OWNS
Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between elements where the widget hierarchy cannot be used to represent the relationship. Value type: reference -
POS_IN_SET
Defines an element's number or position in the current set of listitems or treeitems. Value type: integer -
ROW_COUNT
Defines the total number of rows in a table, grid, or treegrid. Value type: integer -
ROW_INDEX
Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid. Value type: integer -
ROW_INDEX_TEXT
Defines a human readable text alternative of aria-rowindex. Value type: string -
ROW_SPAN
Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid. Value type: integer -
SET_SIZE
Defines the number of items in the current set of listitems or treeitems. Value type: integer
-
-
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 AccessibleRelation 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
-
initValue
Initializesvalue
with the appropriate type for the this AccessibleRelation.This function is mostly meant for language bindings, in conjunction with gtk_accessible_update_relation_value().
- Parameters:
value
- an uninitializedGValue
-