Package | Description |
---|---|
javax.accessibility |
Defines a contract between user-interface components and an assistive technology
that provides access to those components.
|
Modifier and Type | Field and 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.
|
Modifier and Type | Field and Description |
---|---|
protected Vector<AccessibleState> |
AccessibleStateSet.states
Each entry in the Vector represents an AccessibleState.
|
Modifier and Type | Method and Description |
---|---|
AccessibleState[] |
AccessibleStateSet.toArray()
Returns the current state set as an array of AccessibleState
|
Modifier and Type | Method and 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.
|
Constructor and Description |
---|
AccessibleStateSet(AccessibleState[] states)
Creates a new state with the initial set of states contained in
the array of states passed in.
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2011, Oracle and/or its affiliates. All rights reserved.
DRAFT ea-b138