Index (Frames) | Index (No Frames) | Package | Package Tree | Tree
javax.accessibility

Class AccessibleState

java.lang.Object
|
+--javax.accessibility.AccessibleBundle
   |
   +--javax.accessibility.AccessibleState


public class AccessibleState

extends AccessibleBundle

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:

Field Summary

static javax.accessibility.AccessibleStateACTIVE

Indicates an active window, as well as an active child in a list or other collection.
static javax.accessibility.AccessibleStateARMED

Indicates an armed object, usually a button which has been pushed and the mouse has not left the button area.
static javax.accessibility.AccessibleStateBUSY

Indicates an object is busy, such as a slider, scroll bar, or progress bar in transition.
static javax.accessibility.AccessibleStateCHECKED

Indicates an object is checked.
static javax.accessibility.AccessibleStateCOLLAPSED

Indicates that the object is collapsed, usually in a tree.
static javax.accessibility.AccessibleStateEDITABLE

Indicates the user can edit the component contents.
static javax.accessibility.AccessibleStateENABLED

Indicates that an object is enabled.
static javax.accessibility.AccessibleStateEXPANDABLE

Indicates the object allows progressive disclosure of its children, usually in a collapsible tree or other hierachical object.
static javax.accessibility.AccessibleStateEXPANDED

Indicates that the object is expanded, usually in a tree.
static javax.accessibility.AccessibleStateFOCUSABLE

Indicates that an object can accept focus, which means it will process keyboard events when focused.
static javax.accessibility.AccessibleStateFOCUSED

Indicates that an object has keyboard focus.
static javax.accessibility.AccessibleStateHORIZONTAL

Indicates that an object has horizontal orientation.
static javax.accessibility.AccessibleStateICONIFIED

Indicates that an object is minimized to an icon.
static javax.accessibility.AccessibleStateMODAL

Indicates that something must be done in the current object before interaction is allowed on other windows, usually for dialogs.
static javax.accessibility.AccessibleStateMULTISELECTABLE

Indicates that multiple children can be selected at once.
static javax.accessibility.AccessibleStateMULTI_LINE

Indicates that this text object can hold multiple lines.
static javax.accessibility.AccessibleStateOPAQUE

Indicates that all pixels in the object are painted.
static javax.accessibility.AccessibleStatePRESSED

Indicates a pushed button, usually when the mouse has been pressed but not released.
static javax.accessibility.AccessibleStateRESIZABLE

Indicates the size of this object is not fixed.
static javax.accessibility.AccessibleStateSELECTABLE

Indicates that this child is one which can be selected from its parent.
static javax.accessibility.AccessibleStateSELECTED

Indicates that this child has been selected from its parent.
static javax.accessibility.AccessibleStateSHOWING

Indicates that this object and all its parents are visible, so that it is on the screen.
static javax.accessibility.AccessibleStateSINGLE_LINE

Indicates that this text object can only hold a single line.
static javax.accessibility.AccessibleStateTRANSIENT

Indicates that this object is transient.
static javax.accessibility.AccessibleStateVERTICAL

Indicates that an object has vertical orientation.
static javax.accessibility.AccessibleStateVISIBLE

Indicates that this object intends to be visible.

Constructor Summary

AccessibleState(java.lang.String key)

Create a new constant with a locale independent key.

Field Details

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:


Constructor Details

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: