javax.accessibility
Class AccessibleState
java.lang.Object
|
+--javax.accessibility.AccessibleBundle
|
+--javax.accessibility.AccessibleState
A state portion of an accessible object. A combination of states represent
the entire object state, in an AccessibleStateSet. For example, this could
be "active" or "selected". This strongly typed "enumeration" supports
localized strings. If the constants of this class are not adequate, new
ones may be added in a similar matter, while avoiding a public constructor.
Since:Author:- Eric Blake <ebb9@email.byu.edu>
ACTIVE
public static final AccessibleState ACTIVE
Indicates an active window, as well as an active child in a list or other
collection.
See Also:
ARMED
public static final AccessibleState ARMED
Indicates an armed object, usually a button which has been pushed and
the mouse has not left the button area.
See Also:
BUSY
public static final AccessibleState BUSY
Indicates an object is busy, such as a slider, scroll bar, or progress
bar in transition.
See Also:
CHECKED
public static final AccessibleState CHECKED
Indicates an object is checked.
See Also:
COLLAPSED
public static final AccessibleState COLLAPSED
Indicates that the object is collapsed, usually in a tree.
See Also:
EDITABLE
public static final AccessibleState EDITABLE
Indicates the user can edit the component contents. This is usually for
text, as other objects like scroll bars are automatically editable.
See Also:
ENABLED
public static final AccessibleState ENABLED
Indicates that an object is enabled. In the absence of this state,
graphics are often grayed out, and cannot be manipulated.
EXPANDABLE
public static final AccessibleState EXPANDABLE
Indicates the object allows progressive disclosure of its children,
usually in a collapsible tree or other hierachical object.
See Also:
EXPANDED
public static final AccessibleState EXPANDED
Indicates that the object is expanded, usually in a tree.
See Also:
FOCUSABLE
public static final AccessibleState FOCUSABLE
Indicates that an object can accept focus, which means it will process
keyboard events when focused.
See Also:
FOCUSED
public static final AccessibleState FOCUSED
Indicates that an object has keyboard focus.
See Also:
HORIZONTAL
public static final AccessibleState HORIZONTAL
Indicates that an object has horizontal orientation.
See Also:
ICONIFIED
public static final AccessibleState ICONIFIED
Indicates that an object is minimized to an icon.
See Also:
MODAL
public static final AccessibleState MODAL
Indicates that something must be done in the current object before
interaction is allowed on other windows, usually for dialogs.
See Also:
MULTISELECTABLE
public static final AccessibleState MULTISELECTABLE
Indicates that multiple children can be selected at once.
See Also:
MULTI_LINE
public static final AccessibleState MULTI_LINE
Indicates that this text object can hold multiple lines.
See Also:
OPAQUE
public static final AccessibleState OPAQUE
Indicates that all pixels in the object are painted. If this state is not
present, then the object has some degree of transparency, letting lower
panes show through.
See Also:
PRESSED
public static final AccessibleState PRESSED
Indicates a pushed button, usually when the mouse has been pressed but
not released.
See Also:
RESIZABLE
public static final AccessibleState RESIZABLE
Indicates the size of this object is not fixed.
See Also:
SELECTABLE
public static final AccessibleState SELECTABLE
Indicates that this child is one which can be selected from its parent.
See Also:
SELECTED
public static final AccessibleState SELECTED
Indicates that this child has been selected from its parent.
See Also:
SHOWING
public static final AccessibleState SHOWING
Indicates that this object and all its parents are visible, so that it
is on the screen. However, something opaque may be on top of it.
See Also:
SINGLE_LINE
public static final AccessibleState SINGLE_LINE
Indicates that this text object can only hold a single line.
See Also:
TRANSIENT
public static final AccessibleState TRANSIENT
Indicates that this object is transient. This means the object is
generated for method queries, but will never generate events, because
its container (such as a tree, list, or table) does all the work.
VERTICAL
public static final AccessibleState VERTICAL
Indicates that an object has vertical orientation.
See Also:
VISIBLE
public static final AccessibleState VISIBLE
Indicates that this object intends to be visible. However, if its
parent is invisible, this object is as well.
See Also:
AccessibleState
protected AccessibleState(java.lang.String key)
Create a new constant with a locale independent key. Follow the example,
keep the constructor private and make public constants instead.
Parameters:
See Also: