All Packages  Class Hierarchy  This Package  Previous  Next  Index  

Class java.awt.accessibility.AccessibleState

java.lang.Object
    |
    +----java.awt.accessibility.AccessibleEnumeration
            |
            +----java.awt.accessibility.AccessibleState

public class AccessibleState
extends AccessibleEnumeration

Class used to describe a particular state of a component. The actual state of the component is defined as an AccessibleStateSet, which is a set composed of AccessibleStates.

The toDisplayString method allows you to obtain the localized string for a locale independent key from a predefined ResourceBundle for the keys defined in this class.

The constants in this class present a strongly typed enumeration of common object roles. A public constructor for this class has been purposely omitted and applications should use one of the constants from this class. If the constants in this class are not sufficient to describe the role of an object, a subclass should be generated from this class and it should provide constants in a similar manner.


Variable Index

 o ACTIVE
 o ARMED
 o BUSY
 o CHECKED
 o EDITABLE
 o ENABLED
 o FOCUSABLE
 o FOCUSED
 o HORIZONTAL
 o ICONIFIED
 o MODAL
 o MULTISELECTABLE
 o OPAQUE
 o PRESSED
 o RESIZABLE
 o SELECTABLE
 o SELECTED
 o SHOWING
 o VERTICAL
 o VISIBLE

Constructor Index

 o AccessibleState(String)
Create a new AccessibleState using the given locale independent key.

Variables

 o ACTIVE
public static final AccessibleState ACTIVE
 o ARMED
public static final AccessibleState ARMED
 o BUSY
public static final AccessibleState BUSY
 o CHECKED
public static final AccessibleState CHECKED
 o EDITABLE
public static final AccessibleState EDITABLE
 o ENABLED
public static final AccessibleState ENABLED
 o FOCUSABLE
public static final AccessibleState FOCUSABLE
 o FOCUSED
public static final AccessibleState FOCUSED
 o ICONIFIED
public static final AccessibleState ICONIFIED
 o MODAL
public static final AccessibleState MODAL
 o MULTISELECTABLE
public static final AccessibleState MULTISELECTABLE
 o OPAQUE
public static final AccessibleState OPAQUE
 o PRESSED
public static final AccessibleState PRESSED
 o RESIZABLE
public static final AccessibleState RESIZABLE
 o SELECTABLE
public static final AccessibleState SELECTABLE
 o SELECTED
public static final AccessibleState SELECTED
 o SHOWING
public static final AccessibleState SHOWING
 o VISIBLE
public static final AccessibleState VISIBLE
 o VERTICAL
public static final AccessibleState VERTICAL
 o HORIZONTAL
public static final AccessibleState HORIZONTAL

Constructors

 o AccessibleState
protected AccessibleState(String key)
Create a new AccessibleState using the given locale independent key. This should not be a public method. Instead, it is used to create the constants in this file to make it a strongly typed enumeration. Subclasses of this class should enforce similar policy.

Parameters:
key - the locale independent name of the state.
See Also:
toDisplayString

All Packages  Class Hierarchy  This Package  Previous  Next  Index  

Submit a bug or feature