All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.sun.java.accessibility.AccessibleState

java.lang.Object
   |
   +----com.sun.java.accessibility.AccessibleEnumeration
           |
           +----com.sun.java.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 ARMED
 o BUSY
 o CHECKED
 o DEFAULT
 o EDITABLE
 o FOCUSABLE
 o FOCUSED
 o INVISIBLE
 o MULTISELECTABLE
 o PRESSED
 o READONLY
 o SELECTABLE
 o SELECTED
 o UNAVAILABLE

Constructor Index

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

Variables

 o ARMED
 public static final AccessibleState ARMED
 o BUSY
 public static final AccessibleState BUSY
 o CHECKED
 public static final AccessibleState CHECKED
 o DEFAULT
 public static final AccessibleState DEFAULT
 o EDITABLE
 public static final AccessibleState EDITABLE
 o FOCUSABLE
 public static final AccessibleState FOCUSABLE
 o FOCUSED
 public static final AccessibleState FOCUSED
 o INVISIBLE
 public static final AccessibleState INVISIBLE
 o MULTISELECTABLE
 public static final AccessibleState MULTISELECTABLE
 o PRESSED
 public static final AccessibleState PRESSED
 o READONLY
 public static final AccessibleState READONLY
 o SELECTABLE
 public static final AccessibleState SELECTABLE
 o SELECTED
 public static final AccessibleState SELECTED
 o UNAVAILABLE
 public static final AccessibleState UNAVAILABLE

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