javax.accessibility
Class 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.
static AccessibleState | ACTIVE - Indicates an active window, as well as an active child in a list or other
collection.
|
static AccessibleState | ARMED - Indicates an armed object, usually a button which has been pushed and
the mouse has not left the button area.
|
static AccessibleState | BUSY - Indicates an object is busy, such as a slider, scroll bar, or progress
bar in transition.
|
static AccessibleState | CHECKED - Indicates an object is checked.
|
static AccessibleState | COLLAPSED - Indicates that the object is collapsed, usually in a tree.
|
static AccessibleState | EDITABLE - Indicates the user can edit the component contents.
|
static AccessibleState | ENABLED - Indicates that an object is enabled.
|
static AccessibleState | EXPANDABLE - Indicates the object allows progressive disclosure of its children,
usually in a collapsible tree or other hierachical object.
|
static AccessibleState | EXPANDED - Indicates that the object is expanded, usually in a tree.
|
static AccessibleState | FOCUSABLE - Indicates that an object can accept focus, which means it will process
keyboard events when focused.
|
static AccessibleState | FOCUSED - Indicates that an object has keyboard focus.
|
static AccessibleState | HORIZONTAL - Indicates that an object has horizontal orientation.
|
static AccessibleState | ICONIFIED - Indicates that an object is minimized to an icon.
|
static AccessibleState | INDETERMINATE - Indicates that the state of this particular object is
indeterminate.
|
static AccessibleState | MANAGES_DESCENDANTS - Indicates that this particular object manages a number of
subcomponents.
|
static AccessibleState | MODAL - Indicates that something must be done in the current object before
interaction is allowed on other windows, usually for dialogs.
|
static AccessibleState | MULTISELECTABLE - Indicates that multiple children can be selected at once.
|
static AccessibleState | MULTI_LINE - Indicates that this text object can hold multiple lines.
|
static AccessibleState | OPAQUE - Indicates that all pixels in the object are painted.
|
static AccessibleState | PRESSED - Indicates a pushed button, usually when the mouse has been pressed but
not released.
|
static AccessibleState | RESIZABLE - Indicates the size of this object is not fixed.
|
static AccessibleState | SELECTABLE - Indicates that this child is one which can be selected from its parent.
|
static AccessibleState | SELECTED - Indicates that this child has been selected from its parent.
|
static AccessibleState | SHOWING - Indicates that this object and all its parents are visible, so that it
is on the screen.
|
static AccessibleState | SINGLE_LINE - Indicates that this text object can only hold a single line.
|
static AccessibleState | TRANSIENT - Indicates that this object is transient.
|
static AccessibleState | TRUNCATED - Indicates that this particular object is truncated when displayed
visually.
|
static AccessibleState | VERTICAL - Indicates that an object has vertical orientation.
|
static AccessibleState | VISIBLE - Indicates that this object intends to be visible.
|
clone , equals , extends Object> getClass , finalize , hashCode , notify , notifyAll , toString , wait , wait , wait |
ACTIVE
public static final AccessibleState ACTIVE
Indicates an active window, as well as an active child in a list or other
collection.
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.
BUSY
public static final AccessibleState BUSY
Indicates an object is busy, such as a slider, scroll bar, or progress
bar in transition.
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.
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.
FOCUSABLE
public static final AccessibleState FOCUSABLE
Indicates that an object can accept focus, which means it will process
keyboard events when focused.
INDETERMINATE
public static final AccessibleState INDETERMINATE
Indicates that the state of this particular object is
indeterminate. This commonly occurs when an object is incapable
of representing the state by a single value.
MANAGES_DESCENDANTS
public static final AccessibleState MANAGES_DESCENDANTS
Indicates that this particular object manages a number of
subcomponents. This is a common property of structures such as
trees and tables, which have a number of sub-elements such as
rows and columns. The subcomponents should be left to the
object, and not managed by the application.
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.
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.
PRESSED
public static final AccessibleState PRESSED
Indicates a pushed button, usually when the mouse has been pressed but
not released.
SELECTABLE
public static final AccessibleState SELECTABLE
Indicates that this child is one which can be selected from its parent.
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.
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.
TRUNCATED
public static final AccessibleState TRUNCATED
Indicates that this particular object is truncated when displayed
visually.
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.
AccessibleState
protected AccessibleState(String key)
Create a new constant with a locale independent key. Follow the example,
keep the constructor private and make public constants instead.
key
- the name of the state
AccessibleState.java -- a state of an accessible object
Copyright (C) 2002, 2005 Free Software Foundation
This file is part of GNU Classpath.
GNU Classpath is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
GNU Classpath is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
along with GNU Classpath; see the file COPYING. If not, write to the
Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301 USA.
Linking this library statically or dynamically with other modules is
making a combined work based on this library. Thus, the terms and
conditions of the GNU General Public License cover the whole
combination.
As a special exception, the copyright holders of this library give you
permission to link this library with independent modules to produce an
executable, regardless of the license terms of these independent
modules, and to copy and distribute the resulting executable under
terms of your choice, provided that you also meet, for each linked
independent module, the terms and conditions of the license of that
module. An independent module is a module which is not derived from
or based on this library. If you modify this library, you may extend
this exception to your version of the library, but you are not
obligated to do so. If you do not wish to do so, delete this
exception statement from your version.