javax.accessibility
Class AccessibleState

java.lang.Object sample code for java.lang.Object definition code for java.lang.Object 
  extended by javax.accessibility.AccessibleBundle sample code for javax.accessibility.AccessibleBundle definition code for javax.accessibility.AccessibleBundle 
      extended by javax.accessibility.AccessibleState

public class AccessibleState
extends AccessibleBundle sample code for javax.accessibility.AccessibleBundle definition code for javax.accessibility.AccessibleBundle

Class AccessibleState describes a component's particular state. The actual state of the component is defined as an AccessibleStateSet, which is a composed set 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.


Field Summary
static AccessibleState sample code for javax.accessibility.AccessibleState definition code for javax.accessibility.AccessibleState ACTIVE sample code for javax.accessibility.AccessibleState.ACTIVE definition code for javax.accessibility.AccessibleState.ACTIVE
          Indicates a window is currently the active window.
static AccessibleState sample code for javax.accessibility.AccessibleState definition code for javax.accessibility.AccessibleState ARMED sample code for javax.accessibility.AccessibleState.ARMED definition code for javax.accessibility.AccessibleState.ARMED
          Indicates that the object is armed.
static AccessibleState sample code for javax.accessibility.AccessibleState definition code for javax.accessibility.AccessibleState BUSY sample code for javax.accessibility.AccessibleState.BUSY definition code for javax.accessibility.AccessibleState.BUSY
          Indicates the current object is busy.
static AccessibleState sample code for javax.accessibility.AccessibleState definition code for javax.accessibility.AccessibleState CHECKED sample code for javax.accessibility.AccessibleState.CHECKED definition code for javax.accessibility.AccessibleState.CHECKED
          Indicates this object is currently checked.
static AccessibleState sample code for javax.accessibility.AccessibleState definition code for javax.accessibility.AccessibleState COLLAPSED sample code for javax.accessibility.AccessibleState.COLLAPSED definition code for javax.accessibility.AccessibleState.COLLAPSED
          Indicates this object is collapsed.
static AccessibleState sample code for javax.accessibility.AccessibleState definition code for javax.accessibility.AccessibleState EDITABLE sample code for javax.accessibility.AccessibleState.EDITABLE definition code for javax.accessibility.AccessibleState.EDITABLE
          Indicates the user can change the contents of this object.
static AccessibleState sample code for javax.accessibility.AccessibleState definition code for javax.accessibility.AccessibleState ENABLED sample code for javax.accessibility.AccessibleState.ENABLED definition code for javax.accessibility.AccessibleState.ENABLED
          Indicates this object is enabled.
static AccessibleState sample code for javax.accessibility.AccessibleState definition code for javax.accessibility.AccessibleState EXPANDABLE sample code for javax.accessibility.AccessibleState.EXPANDABLE definition code for javax.accessibility.AccessibleState.EXPANDABLE
          Indicates this object allows progressive disclosure of its children.
static AccessibleState sample code for javax.accessibility.AccessibleState definition code for javax.accessibility.AccessibleState EXPANDED sample code for javax.accessibility.AccessibleState.EXPANDED definition code for javax.accessibility.AccessibleState.EXPANDED
          Indicates this object is expanded.
static AccessibleState sample code for javax.accessibility.AccessibleState definition code for javax.accessibility.AccessibleState FOCUSABLE sample code for javax.accessibility.AccessibleState.FOCUSABLE definition code for javax.accessibility.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 sample code for javax.accessibility.AccessibleState definition code for javax.accessibility.AccessibleState FOCUSED sample code for javax.accessibility.AccessibleState.FOCUSED definition code for javax.accessibility.AccessibleState.FOCUSED
          Indicates this object currently has the keyboard focus.
static AccessibleState sample code for javax.accessibility.AccessibleState definition code for javax.accessibility.AccessibleState HORIZONTAL sample code for javax.accessibility.AccessibleState.HORIZONTAL definition code for javax.accessibility.AccessibleState.HORIZONTAL
          Indicates the orientation of this object is horizontal.
static AccessibleState sample code for javax.accessibility.AccessibleState definition code for javax.accessibility.AccessibleState ICONIFIED sample code for javax.accessibility.AccessibleState.ICONIFIED definition code for javax.accessibility.AccessibleState.ICONIFIED
          Indicates this object is minimized and is represented only by an icon.
static AccessibleState sample code for javax.accessibility.AccessibleState definition code for javax.accessibility.AccessibleState INDETERMINATE sample code for javax.accessibility.AccessibleState.INDETERMINATE definition code for javax.accessibility.AccessibleState.INDETERMINATE
          Indicates that the object state is indeterminate.
static AccessibleState sample code for javax.accessibility.AccessibleState definition code for javax.accessibility.AccessibleState MANAGES_DESCENDANTS sample code for javax.accessibility.AccessibleState.MANAGES_DESCENDANTS definition code for javax.accessibility.AccessibleState.MANAGES_DESCENDANTS
          Indicates this object is responsible for managing its subcomponents.
static AccessibleState sample code for javax.accessibility.AccessibleState definition code for javax.accessibility.AccessibleState MODAL sample code for javax.accessibility.AccessibleState.MODAL definition code for javax.accessibility.AccessibleState.MODAL
          Indicates something must be done with this object before the user can interact with an object in a different window.
static AccessibleState sample code for javax.accessibility.AccessibleState definition code for javax.accessibility.AccessibleState MULTI_LINE sample code for javax.accessibility.AccessibleState.MULTI_LINE definition code for javax.accessibility.AccessibleState.MULTI_LINE
          Indicates this (text) object can contain multiple lines of text
static AccessibleState sample code for javax.accessibility.AccessibleState definition code for javax.accessibility.AccessibleState MULTISELECTABLE sample code for javax.accessibility.AccessibleState.MULTISELECTABLE definition code for javax.accessibility.AccessibleState.MULTISELECTABLE
          Indicates this object allows more than one of its children to be selected at the same time.
static AccessibleState sample code for javax.accessibility.AccessibleState definition code for javax.accessibility.AccessibleState OPAQUE sample code for javax.accessibility.AccessibleState.OPAQUE definition code for javax.accessibility.AccessibleState.OPAQUE
          Indicates this object paints every pixel within its rectangular region.
static AccessibleState sample code for javax.accessibility.AccessibleState definition code for javax.accessibility.AccessibleState PRESSED sample code for javax.accessibility.AccessibleState.PRESSED definition code for javax.accessibility.AccessibleState.PRESSED
          Indicates this object is currently pressed.
static AccessibleState sample code for javax.accessibility.AccessibleState definition code for javax.accessibility.AccessibleState RESIZABLE sample code for javax.accessibility.AccessibleState.RESIZABLE definition code for javax.accessibility.AccessibleState.RESIZABLE
          Indicates the size of this object is not fixed.
static AccessibleState sample code for javax.accessibility.AccessibleState definition code for javax.accessibility.AccessibleState SELECTABLE sample code for javax.accessibility.AccessibleState.SELECTABLE definition code for javax.accessibility.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 sample code for javax.accessibility.AccessibleState definition code for javax.accessibility.AccessibleState SELECTED sample code for javax.accessibility.AccessibleState.SELECTED definition code for javax.accessibility.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 sample code for javax.accessibility.AccessibleState definition code for javax.accessibility.AccessibleState SHOWING sample code for javax.accessibility.AccessibleState.SHOWING definition code for javax.accessibility.AccessibleState.SHOWING
          Indicates this object, the object's parent, the object's parent's parent, and so on, are all visible.
static AccessibleState sample code for javax.accessibility.AccessibleState definition code for javax.accessibility.AccessibleState SINGLE_LINE sample code for javax.accessibility.AccessibleState.SINGLE_LINE definition code for javax.accessibility.AccessibleState.SINGLE_LINE
          Indicates this (text) object can contain only a single line of text
static AccessibleState sample code for javax.accessibility.AccessibleState definition code for javax.accessibility.AccessibleState TRANSIENT sample code for javax.accessibility.AccessibleState.TRANSIENT definition code for javax.accessibility.AccessibleState.TRANSIENT
          Indicates this object is transient.
static AccessibleState sample code for javax.accessibility.AccessibleState definition code for javax.accessibility.AccessibleState TRUNCATED sample code for javax.accessibility.AccessibleState.TRUNCATED definition code for javax.accessibility.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 sample code for javax.accessibility.AccessibleState definition code for javax.accessibility.AccessibleState VERTICAL sample code for javax.accessibility.AccessibleState.VERTICAL definition code for javax.accessibility.AccessibleState.VERTICAL
          Indicates the orientation of this object is vertical.
static AccessibleState sample code for javax.accessibility.AccessibleState definition code for javax.accessibility.AccessibleState VISIBLE sample code for javax.accessibility.AccessibleState.VISIBLE definition code for javax.accessibility.AccessibleState.VISIBLE
          Indicates this object is visible.
 
Fields inherited from class javax.accessibility.AccessibleBundle sample code for javax.accessibility.AccessibleBundle definition code for javax.accessibility.AccessibleBundle
key sample code for javax.accessibility.AccessibleBundle.key definition code for javax.accessibility.AccessibleBundle.key
 
Constructor Summary
protected AccessibleState sample code for javax.accessibility.AccessibleState.AccessibleState(java.lang.String) definition code for javax.accessibility.AccessibleState.AccessibleState(java.lang.String) (String sample code for java.lang.String definition code for java.lang.String  key)
          Creates a new AccessibleState using the given locale independent key.
 
Method Summary
 
Methods inherited from class javax.accessibility.AccessibleBundle sample code for javax.accessibility.AccessibleBundle definition code for javax.accessibility.AccessibleBundle
toDisplayString sample code for javax.accessibility.AccessibleBundle.toDisplayString() definition code for javax.accessibility.AccessibleBundle.toDisplayString() , toDisplayString sample code for javax.accessibility.AccessibleBundle.toDisplayString(java.util.Locale) definition code for javax.accessibility.AccessibleBundle.toDisplayString(java.util.Locale) , toDisplayString sample code for javax.accessibility.AccessibleBundle.toDisplayString(java.lang.String, java.util.Locale) definition code for javax.accessibility.AccessibleBundle.toDisplayString(java.lang.String, java.util.Locale) , toString sample code for javax.accessibility.AccessibleBundle.toString() definition code for javax.accessibility.AccessibleBundle.toString()
 
Methods inherited from class java.lang.Object sample code for java.lang.Object definition code for java.lang.Object
clone sample code for java.lang.Object.clone() definition code for java.lang.Object.clone() , equals sample code for java.lang.Object.equals(java.lang.Object) definition code for java.lang.Object.equals(java.lang.Object) , finalize sample code for java.lang.Object.finalize() definition code for java.lang.Object.finalize() , getClass sample code for java.lang.Object.getClass() definition code for java.lang.Object.getClass() , hashCode sample code for java.lang.Object.hashCode() definition code for java.lang.Object.hashCode() , notify sample code for java.lang.Object.notify() definition code for java.lang.Object.notify() , notifyAll sample code for java.lang.Object.notifyAll() definition code for java.lang.Object.notifyAll() , wait sample code for java.lang.Object.wait() definition code for java.lang.Object.wait() , wait sample code for java.lang.Object.wait(long) definition code for java.lang.Object.wait(long) , wait sample code for java.lang.Object.wait(long, int) definition code for java.lang.Object.wait(long, int)
 

Field Detail

ACTIVE sample code for javax.accessibility.AccessibleState.ACTIVE

public static final AccessibleState sample code for javax.accessibility.AccessibleState definition code for javax.accessibility.AccessibleState  ACTIVE
Indicates a window is currently the active window. This includes windows, dialogs, frames, etc. In addition, this state is used to indicate the currently active child of a component such as a list, table, or tree. For example, the active child of a list is the child that is drawn with a rectangle around it.

See Also:
AccessibleRole.WINDOW sample code for javax.accessibility.AccessibleRole.WINDOW definition code for javax.accessibility.AccessibleRole.WINDOW , AccessibleRole.FRAME sample code for javax.accessibility.AccessibleRole.FRAME definition code for javax.accessibility.AccessibleRole.FRAME , AccessibleRole.DIALOG sample code for javax.accessibility.AccessibleRole.DIALOG definition code for javax.accessibility.AccessibleRole.DIALOG

PRESSED sample code for javax.accessibility.AccessibleState.PRESSED

public static final AccessibleState sample code for javax.accessibility.AccessibleState definition code for javax.accessibility.AccessibleState  PRESSED
Indicates this object is currently pressed. This is usually associated with buttons and indicates the user has pressed a mouse button while the pointer was over the button and has not yet released the mouse button.

See Also:
AccessibleRole.PUSH_BUTTON sample code for javax.accessibility.AccessibleRole.PUSH_BUTTON definition code for javax.accessibility.AccessibleRole.PUSH_BUTTON

ARMED sample code for javax.accessibility.AccessibleState.ARMED

public static final AccessibleState sample code for javax.accessibility.AccessibleState definition code for javax.accessibility.AccessibleState  ARMED
Indicates that the object is armed. This is usually used on buttons that have been pressed but not yet released, and the mouse pointer is still over the button.

See Also:
AccessibleRole.PUSH_BUTTON sample code for javax.accessibility.AccessibleRole.PUSH_BUTTON definition code for javax.accessibility.AccessibleRole.PUSH_BUTTON

BUSY sample code for javax.accessibility.AccessibleState.BUSY

public static final AccessibleState sample code for javax.accessibility.AccessibleState definition code for javax.accessibility.AccessibleState  BUSY
Indicates the current object is busy. This is usually used on objects such as progress bars, sliders, or scroll bars to indicate they are in a state of transition.

See Also:
AccessibleRole.PROGRESS_BAR sample code for javax.accessibility.AccessibleRole.PROGRESS_BAR definition code for javax.accessibility.AccessibleRole.PROGRESS_BAR , AccessibleRole.SCROLL_BAR sample code for javax.accessibility.AccessibleRole.SCROLL_BAR definition code for javax.accessibility.AccessibleRole.SCROLL_BAR , AccessibleRole.SLIDER sample code for javax.accessibility.AccessibleRole.SLIDER definition code for javax.accessibility.AccessibleRole.SLIDER

CHECKED sample code for javax.accessibility.AccessibleState.CHECKED

public static final AccessibleState sample code for javax.accessibility.AccessibleState definition code for javax.accessibility.AccessibleState  CHECKED
Indicates this object is currently checked. This is usually used on objects such as toggle buttons, radio buttons, and check boxes.

See Also:
AccessibleRole.TOGGLE_BUTTON sample code for javax.accessibility.AccessibleRole.TOGGLE_BUTTON definition code for javax.accessibility.AccessibleRole.TOGGLE_BUTTON , AccessibleRole.RADIO_BUTTON sample code for javax.accessibility.AccessibleRole.RADIO_BUTTON definition code for javax.accessibility.AccessibleRole.RADIO_BUTTON , AccessibleRole.CHECK_BOX sample code for javax.accessibility.AccessibleRole.CHECK_BOX definition code for javax.accessibility.AccessibleRole.CHECK_BOX

EDITABLE sample code for javax.accessibility.AccessibleState.EDITABLE

public static final AccessibleState sample code for javax.accessibility.AccessibleState definition code for javax.accessibility.AccessibleState  EDITABLE
Indicates the user can change the contents of this object. This is usually used primarily for objects that allow the user to enter text. Other objects, such as scroll bars and sliders, are automatically editable if they are enabled.

See Also:
ENABLED sample code for javax.accessibility.AccessibleState.ENABLED definition code for javax.accessibility.AccessibleState.ENABLED

EXPANDABLE sample code for javax.accessibility.AccessibleState.EXPANDABLE

public static final AccessibleState sample code for javax.accessibility.AccessibleState definition code for javax.accessibility.AccessibleState  EXPANDABLE
Indicates this object allows progressive disclosure of its children. This is usually used with hierarchical objects such as trees and is often paired with the EXPANDED or COLLAPSED states.

See Also:
EXPANDED sample code for javax.accessibility.AccessibleState.EXPANDED definition code for javax.accessibility.AccessibleState.EXPANDED , COLLAPSED sample code for javax.accessibility.AccessibleState.COLLAPSED definition code for javax.accessibility.AccessibleState.COLLAPSED , AccessibleRole.TREE sample code for javax.accessibility.AccessibleRole.TREE definition code for javax.accessibility.AccessibleRole.TREE

COLLAPSED sample code for javax.accessibility.AccessibleState.COLLAPSED

public static final AccessibleState sample code for javax.accessibility.AccessibleState definition code for javax.accessibility.AccessibleState  COLLAPSED
Indicates this object is collapsed. This is usually paired with the EXPANDABLE state and is used on objects that provide progressive disclosure such as trees.

See Also:
EXPANDABLE sample code for javax.accessibility.AccessibleState.EXPANDABLE definition code for javax.accessibility.AccessibleState.EXPANDABLE , EXPANDED sample code for javax.accessibility.AccessibleState.EXPANDED definition code for javax.accessibility.AccessibleState.EXPANDED , AccessibleRole.TREE sample code for javax.accessibility.AccessibleRole.TREE definition code for javax.accessibility.AccessibleRole.TREE

EXPANDED sample code for javax.accessibility.AccessibleState.EXPANDED

public static final AccessibleState sample code for javax.accessibility.AccessibleState definition code for javax.accessibility.AccessibleState  EXPANDED
Indicates this object is expanded. This is usually paired with the EXPANDABLE state and is used on objects that provide progressive disclosure such as trees.

See Also:
EXPANDABLE sample code for javax.accessibility.AccessibleState.EXPANDABLE definition code for javax.accessibility.AccessibleState.EXPANDABLE , COLLAPSED sample code for javax.accessibility.AccessibleState.COLLAPSED definition code for javax.accessibility.AccessibleState.COLLAPSED , AccessibleRole.TREE sample code for javax.accessibility.AccessibleRole.TREE definition code for javax.accessibility.AccessibleRole.TREE

ENABLED sample code for javax.accessibility.AccessibleState.ENABLED

public static final AccessibleState sample code for javax.accessibility.AccessibleState definition code for javax.accessibility.AccessibleState  ENABLED
Indicates this object is enabled. The absence of this state from an object's state set indicates this object is not enabled. An object that is not enabled cannot be manipulated by the user. In a graphical display, it is usually grayed out.


FOCUSABLE sample code for javax.accessibility.AccessibleState.FOCUSABLE

public static final AccessibleState sample code for javax.accessibility.AccessibleState definition code for javax.accessibility.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.

See Also:
FOCUSED sample code for javax.accessibility.AccessibleState.FOCUSED definition code for javax.accessibility.AccessibleState.FOCUSED

FOCUSED sample code for javax.accessibility.AccessibleState.FOCUSED

public static final AccessibleState sample code for javax.accessibility.AccessibleState definition code for javax.accessibility.AccessibleState  FOCUSED
Indicates this object currently has the keyboard focus.

See Also:
FOCUSABLE sample code for javax.accessibility.AccessibleState.FOCUSABLE definition code for javax.accessibility.AccessibleState.FOCUSABLE

ICONIFIED sample code for javax.accessibility.AccessibleState.ICONIFIED

public static final AccessibleState sample code for javax.accessibility.AccessibleState definition code for javax.accessibility.AccessibleState  ICONIFIED
Indicates this object is minimized and is represented only by an icon. This is usually only associated with frames and internal frames.

See Also:
AccessibleRole.FRAME sample code for javax.accessibility.AccessibleRole.FRAME definition code for javax.accessibility.AccessibleRole.FRAME , AccessibleRole.INTERNAL_FRAME sample code for javax.accessibility.AccessibleRole.INTERNAL_FRAME definition code for javax.accessibility.AccessibleRole.INTERNAL_FRAME

MODAL sample code for javax.accessibility.AccessibleState.MODAL

public static final AccessibleState sample code for javax.accessibility.AccessibleState definition code for javax.accessibility.AccessibleState  MODAL
Indicates something must be done with this object before the user can interact with an object in a different window. This is usually associated only with dialogs.

See Also:
AccessibleRole.DIALOG sample code for javax.accessibility.AccessibleRole.DIALOG definition code for javax.accessibility.AccessibleRole.DIALOG

OPAQUE sample code for javax.accessibility.AccessibleState.OPAQUE

public static final AccessibleState sample code for javax.accessibility.AccessibleState definition code for javax.accessibility.AccessibleState  OPAQUE
Indicates this object paints every pixel within its rectangular region. A non-opaque component paints only some of its pixels, allowing the pixels underneath it to "show through". A component that does not fully paint its pixels therefore provides a degree of transparency.

See Also:
Accessible.getAccessibleContext() sample code for javax.accessibility.Accessible.getAccessibleContext() definition code for javax.accessibility.Accessible.getAccessibleContext() , AccessibleContext.getAccessibleComponent() sample code for javax.accessibility.AccessibleContext.getAccessibleComponent() definition code for javax.accessibility.AccessibleContext.getAccessibleComponent() , AccessibleComponent.getBounds() sample code for javax.accessibility.AccessibleComponent.getBounds() definition code for javax.accessibility.AccessibleComponent.getBounds()

RESIZABLE sample code for javax.accessibility.AccessibleState.RESIZABLE

public static final AccessibleState sample code for javax.accessibility.AccessibleState definition code for javax.accessibility.AccessibleState  RESIZABLE
Indicates the size of this object is not fixed.

See Also:
Accessible.getAccessibleContext() sample code for javax.accessibility.Accessible.getAccessibleContext() definition code for javax.accessibility.Accessible.getAccessibleContext() , AccessibleContext.getAccessibleComponent() sample code for javax.accessibility.AccessibleContext.getAccessibleComponent() definition code for javax.accessibility.AccessibleContext.getAccessibleComponent() , AccessibleComponent.getSize() sample code for javax.accessibility.AccessibleComponent.getSize() definition code for javax.accessibility.AccessibleComponent.getSize() , AccessibleComponent.setSize(java.awt.Dimension) sample code for javax.accessibility.AccessibleComponent.setSize(java.awt.Dimension) definition code for javax.accessibility.AccessibleComponent.setSize(java.awt.Dimension)

MULTISELECTABLE sample code for javax.accessibility.AccessibleState.MULTISELECTABLE

public static final AccessibleState sample code for javax.accessibility.AccessibleState definition code for javax.accessibility.AccessibleState  MULTISELECTABLE
Indicates this object allows more than one of its children to be selected at the same time.

See Also:
Accessible.getAccessibleContext() sample code for javax.accessibility.Accessible.getAccessibleContext() definition code for javax.accessibility.Accessible.getAccessibleContext() , AccessibleContext.getAccessibleSelection() sample code for javax.accessibility.AccessibleContext.getAccessibleSelection() definition code for javax.accessibility.AccessibleContext.getAccessibleSelection() , AccessibleSelection sample code for javax.accessibility.AccessibleSelection definition code for javax.accessibility.AccessibleSelection

SELECTABLE sample code for javax.accessibility.AccessibleState.SELECTABLE

public static final AccessibleState sample code for javax.accessibility.AccessibleState definition code for javax.accessibility.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.

See Also:
SELECTED sample code for javax.accessibility.AccessibleState.SELECTED definition code for javax.accessibility.AccessibleState.SELECTED , Accessible.getAccessibleContext() sample code for javax.accessibility.Accessible.getAccessibleContext() definition code for javax.accessibility.Accessible.getAccessibleContext() , AccessibleContext.getAccessibleSelection() sample code for javax.accessibility.AccessibleContext.getAccessibleSelection() definition code for javax.accessibility.AccessibleContext.getAccessibleSelection() , AccessibleSelection sample code for javax.accessibility.AccessibleSelection definition code for javax.accessibility.AccessibleSelection

SELECTED sample code for javax.accessibility.AccessibleState.SELECTED

public static final AccessibleState sample code for javax.accessibility.AccessibleState definition code for javax.accessibility.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.

See Also:
SELECTABLE sample code for javax.accessibility.AccessibleState.SELECTABLE definition code for javax.accessibility.AccessibleState.SELECTABLE , Accessible.getAccessibleContext() sample code for javax.accessibility.Accessible.getAccessibleContext() definition code for javax.accessibility.Accessible.getAccessibleContext() , AccessibleContext.getAccessibleSelection() sample code for javax.accessibility.AccessibleContext.getAccessibleSelection() definition code for javax.accessibility.AccessibleContext.getAccessibleSelection() , AccessibleSelection sample code for javax.accessibility.AccessibleSelection definition code for javax.accessibility.AccessibleSelection

SHOWING sample code for javax.accessibility.AccessibleState.SHOWING

public static final AccessibleState sample code for javax.accessibility.AccessibleState definition code for javax.accessibility.AccessibleState  SHOWING
Indicates this object, the object's parent, the object's parent's parent, and so on, are all visible. Note that this does not necessarily mean the object is painted on the screen. It might be occluded by some other showing object.

See Also:
VISIBLE sample code for javax.accessibility.AccessibleState.VISIBLE definition code for javax.accessibility.AccessibleState.VISIBLE

VISIBLE sample code for javax.accessibility.AccessibleState.VISIBLE

public static final AccessibleState sample code for javax.accessibility.AccessibleState definition code for javax.accessibility.AccessibleState  VISIBLE
Indicates this object is visible. Note: this means that the object intends to be visible; however, it may not in fact be showing on the screen because one of the objects that this object is contained by is not visible.

See Also:
SHOWING sample code for javax.accessibility.AccessibleState.SHOWING definition code for javax.accessibility.AccessibleState.SHOWING

VERTICAL sample code for javax.accessibility.AccessibleState.VERTICAL

public static final AccessibleState sample code for javax.accessibility.AccessibleState definition code for javax.accessibility.AccessibleState  VERTICAL
Indicates the orientation of this object is vertical. This is usually associated with objects such as scrollbars, sliders, and progress bars.

See Also:
VERTICAL sample code for javax.accessibility.AccessibleState.VERTICAL definition code for javax.accessibility.AccessibleState.VERTICAL , AccessibleRole.SCROLL_BAR sample code for javax.accessibility.AccessibleRole.SCROLL_BAR definition code for javax.accessibility.AccessibleRole.SCROLL_BAR , AccessibleRole.SLIDER sample code for javax.accessibility.AccessibleRole.SLIDER definition code for javax.accessibility.AccessibleRole.SLIDER , AccessibleRole.PROGRESS_BAR sample code for javax.accessibility.AccessibleRole.PROGRESS_BAR definition code for javax.accessibility.AccessibleRole.PROGRESS_BAR

HORIZONTAL sample code for javax.accessibility.AccessibleState.HORIZONTAL

public static final AccessibleState sample code for javax.accessibility.AccessibleState definition code for javax.accessibility.AccessibleState  HORIZONTAL
Indicates the orientation of this object is horizontal. This is usually associated with objects such as scrollbars, sliders, and progress bars.

See Also:
HORIZONTAL sample code for javax.accessibility.AccessibleState.HORIZONTAL definition code for javax.accessibility.AccessibleState.HORIZONTAL , AccessibleRole.SCROLL_BAR sample code for javax.accessibility.AccessibleRole.SCROLL_BAR definition code for javax.accessibility.AccessibleRole.SCROLL_BAR , AccessibleRole.SLIDER sample code for javax.accessibility.AccessibleRole.SLIDER definition code for javax.accessibility.AccessibleRole.SLIDER , AccessibleRole.PROGRESS_BAR sample code for javax.accessibility.AccessibleRole.PROGRESS_BAR definition code for javax.accessibility.AccessibleRole.PROGRESS_BAR

SINGLE_LINE sample code for javax.accessibility.AccessibleState.SINGLE_LINE

public static final AccessibleState sample code for javax.accessibility.AccessibleState definition code for javax.accessibility.AccessibleState  SINGLE_LINE
Indicates this (text) object can contain only a single line of text


MULTI_LINE sample code for javax.accessibility.AccessibleState.MULTI_LINE

public static final AccessibleState sample code for javax.accessibility.AccessibleState definition code for javax.accessibility.AccessibleState  MULTI_LINE
Indicates this (text) object can contain multiple lines of text


TRANSIENT sample code for javax.accessibility.AccessibleState.TRANSIENT

public static final AccessibleState sample code for javax.accessibility.AccessibleState definition code for javax.accessibility.AccessibleState  TRANSIENT
Indicates this object is transient. An assistive technology should not add a PropertyChange listener to an object with transient state, as that object will never generate any events. Transient objects are typically created to answer Java Accessibility method queries, but otherwise do not remain linked to the underlying object (for example, those objects underneath lists, tables, and trees in Swing, where only one actual UI Component does shared rendering duty for all of the data objects underneath the actual list/table/tree elements).

Since:
1.5

MANAGES_DESCENDANTS sample code for javax.accessibility.AccessibleState.MANAGES_DESCENDANTS

public static final AccessibleState sample code for javax.accessibility.AccessibleState definition code for javax.accessibility.AccessibleState  MANAGES_DESCENDANTS
Indicates this object is responsible for managing its subcomponents. This is typically used for trees and tables that have a large number of subcomponents and where the objects are created only when needed and otherwise remain virtual. The application should not manage the subcomponents directly.

Since:
1.5

INDETERMINATE sample code for javax.accessibility.AccessibleState.INDETERMINATE

public static final AccessibleState sample code for javax.accessibility.AccessibleState definition code for javax.accessibility.AccessibleState  INDETERMINATE
Indicates that the object state is indeterminate. An example is selected text that is partially bold and partially not bold. In this case the attributes associated with the selected text are indeterminate.

Since:
1.5

TRUNCATED sample code for javax.accessibility.AccessibleState.TRUNCATED

public static final AccessibleState sample code for javax.accessibility.AccessibleState definition code for javax.accessibility.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. An example is text in a spreadsheet cell that is truncated by the bounds of the cell.

Since:
1.5
Constructor Detail

AccessibleState sample code for javax.accessibility.AccessibleState(java.lang.String) definition code for javax.accessibility.AccessibleState(java.lang.String)

protected AccessibleState(String sample code for java.lang.String definition code for java.lang.String  key)
Creates 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.

The key String should be a locale independent key for the state. It is not intended to be used as the actual String to display to the user. To get the localized string, use toDisplayString.

Parameters:
key - the locale independent name of the state.
See Also:
AccessibleBundle.toDisplayString(java.lang.String, java.util.Locale) sample code for javax.accessibility.AccessibleBundle.toDisplayString(java.lang.String, java.util.Locale) definition code for javax.accessibility.AccessibleBundle.toDisplayString(java.lang.String, java.util.Locale)