Package org.gnome.gtk
Enum Class AccessibleRole
- All Implemented Interfaces:
Enumeration
,Serializable
,Comparable<AccessibleRole>
,Constable
@Generated("io.github.jwharm.JavaGI")
public enum AccessibleRole
extends Enum<AccessibleRole>
implements Enumeration
The accessible role for a
Accessible
implementation.
Abstract roles are only used as part of the ontology; application developers must not use abstract roles in their code.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAn element with important, and usually time-sensitive, informationA type of dialog that contains an alert messageA toplevel element of a graphical user interface.A section of a page that consists of a composition that forms an independent part of a document, page, or site.UnusedA section of content that is quoted from another source.An input element that allows for user-triggered actions when clicked or pressedUnusedUnusedA checkable input element that has three possible values:true
,false
, ormixed
A header in a columned list.An input that controls another element, such as a list or a grid, that can dynamically pop up to help the user set the value of the inputAbstract role.A comment contains content expressing reaction to other content.Abstract role.A dialog is a window that is designed to interrupt the current processing of an application in order to prompt the user to enter information or require a response.Content that assistive technology users may want to browse in a reading mode.UnusedUnusedA nameless container that has no semantic meaning of its own.A grid of items.An item in a grid or tree grid.An element that groups multiple related widgets.UnusedAn image.Abstract role.A visible name or caption for a user interface component.Abstract role.UnusedA clickable link.A list of items.Unused.An item in a list.UnusedUnusedUnusedUnusedA menu.A menubar.An item in a menu.A check item in a menu.A radio item in a menu.An element that represents a value within a known range.UnusedAn element that is not represented to accessibility technologies.UnusedUnusedA paragraph of content.An element that is not represented to accessibility technologies.An element that displays the progress status for tasks that take a long time.A checkable input in a group of radio roles, only one of which can be checked at a time.UnusedAbstract role.UnusedA row in a columned list.UnusedUnusedA graphical object that controls the scrolling of content within a viewing area, regardless of whether the content is fully displayed within the viewing area.UnusedA type of textbox intended for specifying search criteria.Abstract role.Abstract role.Abstract role.A divider that separates and distinguishes sections of content or groups of menuitems.A user input where the user selects a value from within a given range.A form of range that expects the user to select from among discrete choices.UnusedAbstract role.A type of checkbox that represents on/off values, as opposed to checked/unchecked values.An item in a list of tab used for switching pages.A list of tabs for switching pages.A page in a notebook or stack.UnusedA virtual terminal.A type of input that allows free-form text as its value.UnusedUnusedA type of push button which stays pressed until depressed by a second activation.UnusedUnusedUnusedA treeview-like, columned list.UnusedAbstract role for interactive components of a graphical user interfaceAbstract role for windows. -
Method Summary
Modifier and TypeMethodDescriptionstatic Type
getType()
Get the GType of the AccessibleRole classint
getValue()
Get the numeric value of this enumstatic AccessibleRole
of
(int value) Create a new AccessibleRole for the provided valuestatic AccessibleRole
Returns the enum constant of this class with the specified name.static AccessibleRole[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ALERT
An element with important, and usually time-sensitive, information -
ALERT_DIALOG
A type of dialog that contains an alert message -
BANNER
Unused -
BUTTON
An input element that allows for user-triggered actions when clicked or pressed -
CAPTION
Unused -
CELL
Unused -
CHECKBOX
A checkable input element that has three possible values:true
,false
, ormixed
-
COLUMN_HEADER
A header in a columned list. -
COMBO_BOX
An input that controls another element, such as a list or a grid, that can dynamically pop up to help the user set the value of the input -
COMMAND
Abstract role. -
COMPOSITE
Abstract role. -
DIALOG
A dialog is a window that is designed to interrupt the current processing of an application in order to prompt the user to enter information or require a response. -
DOCUMENT
Content that assistive technology users may want to browse in a reading mode. -
FEED
Unused -
FORM
Unused -
GENERIC
A nameless container that has no semantic meaning of its own. This is the role that GTK uses by default for widgets. -
GRID
A grid of items. -
GRID_CELL
An item in a grid or tree grid. -
GROUP
-
HEADING
Unused -
IMG
An image. -
INPUT
Abstract role. -
LABEL
A visible name or caption for a user interface component. -
LANDMARK
Abstract role. -
LEGEND
Unused -
LINK
A clickable link. -
LIST
A list of items. -
LIST_BOX
Unused. -
LIST_ITEM
An item in a list. -
LOG
Unused -
MAIN
Unused -
MARQUEE
Unused -
MATH
Unused -
METER
An element that represents a value within a known range. -
MENU
A menu. -
MENU_BAR
A menubar. -
MENU_ITEM
An item in a menu. -
MENU_ITEM_CHECKBOX
A check item in a menu. -
MENU_ITEM_RADIO
A radio item in a menu. -
NAVIGATION
Unused -
NONE
An element that is not represented to accessibility technologies. This role is synonymous toGTKACCESSIBLEROLEPRESENTATION
. -
NOTE
Unused -
OPTION
Unused -
PRESENTATION
An element that is not represented to accessibility technologies. This role is synonymous toGTKACCESSIBLEROLENONE
. -
PROGRESS_BAR
An element that displays the progress status for tasks that take a long time. -
RADIO
A checkable input in a group of radio roles, only one of which can be checked at a time. -
RADIO_GROUP
Unused -
RANGE
Abstract role. -
REGION
Unused -
ROW
A row in a columned list. -
ROW_GROUP
Unused -
ROW_HEADER
Unused -
SCROLLBAR
A graphical object that controls the scrolling of content within a viewing area, regardless of whether the content is fully displayed within the viewing area. -
SEARCH
Unused -
SEARCH_BOX
A type of textbox intended for specifying search criteria. -
SECTION
Abstract role. -
SECTION_HEAD
Abstract role. -
SELECT
Abstract role. -
SEPARATOR
A divider that separates and distinguishes sections of content or groups of menuitems. -
SLIDER
A user input where the user selects a value from within a given range. -
SPIN_BUTTON
A form of range that expects the user to select from among discrete choices. -
STATUS
Unused -
STRUCTURE
Abstract role. -
SWITCH
A type of checkbox that represents on/off values, as opposed to checked/unchecked values. -
TAB
An item in a list of tab used for switching pages. -
TABLE
Unused -
TAB_LIST
A list of tabs for switching pages. -
TAB_PANEL
A page in a notebook or stack. -
TEXT_BOX
A type of input that allows free-form text as its value. -
TIME
Unused -
TIMER
Unused -
TOOLBAR
Unused -
TOOLTIP
Unused -
TREE
Unused -
TREE_GRID
A treeview-like, columned list. -
TREE_ITEM
Unused -
WIDGET
Abstract role for interactive components of a graphical user interface -
WINDOW
Abstract role for windows. -
TOGGLE_BUTTON
A type of push button which stays pressed until depressed by a second activation. -
APPLICATION
A toplevel element of a graphical user interface.This is the role that GTK uses by default for windows.
-
PARAGRAPH
A paragraph of content. -
BLOCK_QUOTE
A section of content that is quoted from another source. -
ARTICLE
A section of a page that consists of a composition that forms an independent part of a document, page, or site. -
COMMENT
A comment contains content expressing reaction to other content. -
TERMINAL
A virtual terminal.
-
-
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 AccessibleRole 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
-