2007-03-22 10:30:00 -07:00
|
|
|
/*************************************************************************
|
|
|
|
*
|
|
|
|
* File Name (AccessibleStates.idl)
|
|
|
|
*
|
|
|
|
* IAccessible2 IDL Specification
|
|
|
|
*
|
2007-04-07 20:58:08 -07:00
|
|
|
* Copyright (c) IBM Corp. 2007
|
2007-03-22 10:30:00 -07:00
|
|
|
* Copyright (c) Sun Microsystems, Inc. 2000, 2006
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License version 2.1, as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library 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
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02110-1301 USA
|
|
|
|
*
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
import "objidl.idl";
|
|
|
|
|
|
|
|
typedef long AccessibleStates;
|
|
|
|
|
|
|
|
/** @defgroup grpStates States
|
|
|
|
IAccessible2 state constants.
|
|
|
|
*/
|
|
|
|
///@{
|
|
|
|
|
|
|
|
/** Indicates a window is currently the active window. */
|
|
|
|
const long IA2_STATE_ACTIVE = 0x1;
|
|
|
|
|
|
|
|
/** Indicates that the object is armed. */
|
|
|
|
const long IA2_STATE_ARMED = 0x2;
|
|
|
|
|
|
|
|
/** Indicates the user interface object corresponding to this object no longer exists. */
|
|
|
|
const long IA2_STATE_DEFUNCT = 0x4;
|
|
|
|
|
|
|
|
/** Indicates the user can change the contents of this object. */
|
|
|
|
const long IA2_STATE_EDITABLE = 0x8;
|
|
|
|
|
|
|
|
/** Indicates the orientation of this object is horizontal. */
|
|
|
|
const long IA2_STATE_HORIZONTAL = 0x10;
|
|
|
|
|
|
|
|
/** Indicates this object is minimized and is represented only by an icon. */
|
|
|
|
const long IA2_STATE_ICONIFIED = 0x20;
|
|
|
|
|
|
|
|
/** Indicates an input validation failure. */
|
2007-04-07 20:58:08 -07:00
|
|
|
const long IA2_STATE_INVALID_ENTRY = 0x40;
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
/** Indicates that this object manages its children.
|
|
|
|
|
|
|
|
Used when children are transient. In this case it is not necessary to add
|
|
|
|
listeners to the children.
|
|
|
|
|
|
|
|
The state is added to improve performance in the case of large containers such
|
|
|
|
as tables. When an object manages its children it is not necessary to iterate
|
|
|
|
over all the children and add listeners. The parent object will provide state
|
|
|
|
notifications regarding the state of its children.
|
|
|
|
*/
|
2007-04-07 20:58:08 -07:00
|
|
|
const long IA2_STATE_MANAGES_DESCENDANTS = 0x80;
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
/** Indicates that an object is modal.
|
|
|
|
|
|
|
|
Modal objects have the behavior that something must be done with the object
|
|
|
|
before the user can interact with an object in a different window.
|
|
|
|
*/
|
2007-04-07 20:58:08 -07:00
|
|
|
const long IA2_STATE_MODAL = 0x100;
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
/** Indicates this text object can contain multiple lines of text. */
|
2007-04-07 20:58:08 -07:00
|
|
|
const long IA2_STATE_MULTI_LINE = 0x200;
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
/** Indicates this object paints every pixel within its rectangular region. */
|
2007-04-07 20:58:08 -07:00
|
|
|
const long IA2_STATE_OPAQUE = 0x400;
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
/** Indicates that user interaction is required.
|
|
|
|
|
|
|
|
An example of when this state is used is when a field in a form must be filled
|
|
|
|
before a form can be processed.
|
|
|
|
*/
|
2007-04-07 20:58:08 -07:00
|
|
|
const long IA2_STATE_REQUIRED = 0x800;
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
/** Indicates an object which supports text selection.
|
|
|
|
|
|
|
|
Note: This is different than MSAA STATE_SYSTEM_SELECTABLE.
|
|
|
|
*/
|
2007-04-07 20:58:08 -07:00
|
|
|
const long IA2_STATE_SELECTABLE_TEXT = 0x1000;
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
/** Indicates that this text object can contain only a single line of text. */
|
2007-04-07 20:58:08 -07:00
|
|
|
const long IA2_STATE_SINGLE_LINE = 0x2000;
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
/** Indicates that the accessible object is stale.
|
|
|
|
|
|
|
|
This state is used when the accessible object no longer accurately
|
|
|
|
represents the state of the object which it is representing such as when an
|
|
|
|
object is transient or when an object has been or is in the process of being
|
|
|
|
destroyed.
|
|
|
|
*/
|
2007-04-07 20:58:08 -07:00
|
|
|
const long IA2_STATE_STALE = 0x4000;
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
/** Indicates that the object implements autocompletion.
|
|
|
|
|
|
|
|
This state indicates that that a text control will respond to the input of
|
|
|
|
one ore more characters and cause a sub-item to become selected. The
|
|
|
|
selection may also result in events fired on the parent object.
|
|
|
|
*/
|
2007-04-07 20:58:08 -07:00
|
|
|
const long IA2_STATE_SUPPORTS_AUTOCOMPLETION = 0x8000;
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
/** Indicates this object is transient. */
|
2007-04-07 20:58:08 -07:00
|
|
|
const long IA2_STATE_TRANSIENT = 0x10000;
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
/** Indicates the orientation of this object is vertical. */
|
2007-04-07 20:58:08 -07:00
|
|
|
const long IA2_STATE_VERTICAL = 0x20000;
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
///@}
|