Uses of Class
javax.accessibility.AccessibleState
Package | Description |
---|---|
javax.accessibility |
Defines a contract between user-interface components and an assistive
technology that provides access to those components.
|
-
Uses of AccessibleState in javax.accessibility
Fields in javax.accessibility declared as AccessibleState Modifier and Type Field Description static AccessibleState
AccessibleState. ACTIVE
Indicates a window is currently the active window.static AccessibleState
AccessibleState. ARMED
Indicates that the object is armed.static AccessibleState
AccessibleState. BUSY
Indicates the current object is busy.static AccessibleState
AccessibleState. CHECKED
Indicates this object is currently checked.static AccessibleState
AccessibleState. COLLAPSED
Indicates this object is collapsed.static AccessibleState
AccessibleState. EDITABLE
Indicates the user can change the contents of this object.static AccessibleState
AccessibleState. ENABLED
Indicates this object is enabled.static AccessibleState
AccessibleState. EXPANDABLE
Indicates this object allows progressive disclosure of its children.static AccessibleState
AccessibleState. EXPANDED
Indicates this object is expanded.static AccessibleState
AccessibleState. FOCUSABLE
Indicates this object can accept keyboard focus, which means all events resulting from typing on the keyboard will normally be passed to it when it has focus.static AccessibleState
AccessibleState. FOCUSED
Indicates this object currently has the keyboard focus.static AccessibleState
AccessibleState. HORIZONTAL
Indicates the orientation of this object is horizontal.static AccessibleState
AccessibleState. ICONIFIED
Indicates this object is minimized and is represented only by an icon.static AccessibleState
AccessibleState. INDETERMINATE
Indicates that the object state is indeterminate.static AccessibleState
AccessibleState. MANAGES_DESCENDANTS
Indicates this object is responsible for managing its subcomponents.static AccessibleState
AccessibleState. MODAL
Indicates something must be done with this object before the user can interact with an object in a different window.static AccessibleState
AccessibleState. MULTI_LINE
Indicates this (text) object can contain multiple lines of text.static AccessibleState
AccessibleState. MULTISELECTABLE
Indicates this object allows more than one of its children to be selected at the same time.static AccessibleState
AccessibleState. OPAQUE
Indicates this object paints every pixel within its rectangular region.static AccessibleState
AccessibleState. PRESSED
Indicates this object is currently pressed.static AccessibleState
AccessibleState. RESIZABLE
Indicates the size of this object is not fixed.static AccessibleState
AccessibleState. SELECTABLE
Indicates this object is the child of an object that allows its children to be selected, and that this child is one of those children that can be selected.static AccessibleState
AccessibleState. SELECTED
Indicates this object is the child of an object that allows its children to be selected, and that this child is one of those children that has been selected.static AccessibleState
AccessibleState. SHOWING
Indicates this object, the object's parent, the object's parent's parent, and so on, are all visible.static AccessibleState
AccessibleState. SINGLE_LINE
Indicates this (text) object can contain only a single line of text.static AccessibleState
AccessibleState. TRANSIENT
Indicates this object is transient.static AccessibleState
AccessibleState. TRUNCATED
A state indicating that text is truncated by a bounding rectangle and that some of the text is not displayed on the screen.static AccessibleState
AccessibleState. VERTICAL
Indicates the orientation of this object is vertical.static AccessibleState
AccessibleState. VISIBLE
Indicates this object is visible.Fields in javax.accessibility with type parameters of type AccessibleState Modifier and Type Field Description protected Vector<AccessibleState>
AccessibleStateSet. states
Each entry in theVector
represents anAccessibleState
.Methods in javax.accessibility that return AccessibleState Modifier and Type Method Description AccessibleState[]
AccessibleStateSet. toArray()
Returns the current state set as an array ofAccessibleState
.Methods in javax.accessibility with parameters of type AccessibleState Modifier and Type Method Description boolean
AccessibleStateSet. add(AccessibleState state)
Adds a new state to the current state set if it is not already present.void
AccessibleStateSet. addAll(AccessibleState[] states)
Adds all of the states to the existing state set.boolean
AccessibleStateSet. contains(AccessibleState state)
Checks if the current state is in the state set.boolean
AccessibleStateSet. remove(AccessibleState state)
Removes a state from the current state set.Constructors in javax.accessibility with parameters of type AccessibleState Constructor Description AccessibleStateSet(AccessibleState[] states)
Creates a new state with the initial set of states contained in the array of states passed in.