diff options
Diffstat (limited to 'offapi/com/sun/star/accessibility/AccessibleStateType.idl')
-rw-r--r-- | offapi/com/sun/star/accessibility/AccessibleStateType.idl | 91 |
1 files changed, 47 insertions, 44 deletions
diff --git a/offapi/com/sun/star/accessibility/AccessibleStateType.idl b/offapi/com/sun/star/accessibility/AccessibleStateType.idl index 9e13bb1a093c..e3e1d86fb629 100644 --- a/offapi/com/sun/star/accessibility/AccessibleStateType.idl +++ b/offapi/com/sun/star/accessibility/AccessibleStateType.idl @@ -2,9 +2,9 @@ * * $RCSfile: AccessibleStateType.idl,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: vg $ $Date: 2003-04-24 17:33:04 $ + * last change: $Author: vg $ $Date: 2003-05-22 13:05:08 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -99,32 +99,28 @@ constants AccessibleStateType */ const short CHECKED = 4; - /** Indicates this object is collapsed. - */ - const short COLLAPSED = 5; - /** User interface object corresponding to this object no longer exists. <p>Indicates the user interface object corresponding to this object no longer exists.</p> */ - const short DEFUNC = 6; + const short DEFUNC = 5; /** Indicates the user can change the contents of this object. */ - const short EDITABLE = 7; + const short EDITABLE = 6; /** Indicates this object is enabled. */ - const short ENABLED = 8; + const short ENABLED = 7; /** Indicates this object allows progressive disclosure of its children. */ - const short EXPANDABLE = 9; + const short EXPANDABLE = 8; /** Indicates this object is expanded. */ - const short EXPANDED = 10; + const short EXPANDED = 9; /** Object can accept the keyboard focus. @@ -132,51 +128,72 @@ constants AccessibleStateType events resulting from typing on the keyboard will normally be passed to it when it has focus.</p> */ - const short FOCUSABLE = 11; + const short FOCUSABLE = 10; /** Indicates this object currently has the keyboard focus. */ - const short FOCUSED = 12; + const short FOCUSED = 11; /** Indicates the orientation of this object is horizontal. */ - const short HORIZONTAL = 13; + const short HORIZONTAL = 12; /** Indicates this object is minimized and is represented only by an icon. */ - const short ICONIFIED = 14; + const short ICONIFIED = 13; + + /** Sometimes UI elements can have a state indeterminate. + This can happen e.g. if a check box reflects the bold state of text in a text processor. + When the current selection contains text which is bold and also text which is not bold, the state is indeterminate. + + */ + const short INDETERMINATE = 14; + + /** Indicates the most (all) children are transient and it is not + necessary to add listener to the children. Only the active descendant + (given by the event) should be not transient to make it possible + to add listener to this object and recognize changes in this object. + + The state is added to make a performance improvment. Now it is no + longer necessary to iterate over all children to find out whether + they are transient or not to decide whether to add listener or not. + If there is a object with this state no one should iterate over the + children to add listener. Only the active descendant should get + listener if it is not transient. + */ + const short MANAGES_DESCENDANTS = 15; /** Object is modal. <p>Indicates something must be done with this object before the user can interact with an object in a different window.</p> */ - const short MODAL = 15; + const short MODAL = 16; /** Indicates this (text) object can contain multiple lines of text */ - const short MULTI_LINE = 16; + const short MULTI_LINE = 17; /** More than one child may be selected at the same time. <p>Indicates this object allows more than one of its children to be selected at the same time.</p> */ - const short MULTI_SELECTABLE = 17; + const short MULTI_SELECTABLE = 18; /** Indicates this object paints every pixel within its rectangular region. */ - const short OPAQUE = 18; + const short OPAQUE = 19; /** Indicates this object is currently pressed. */ - const short PRESSED = 19; + const short PRESSED = 20; /** Indicates the size of this object is not fixed. */ - const short RESIZABLE = 20; + const short RESIZABLE = 21; /** Object is selectable. @@ -184,7 +201,7 @@ constants AccessibleStateType children to be selected, and that this child is one of those children that can be selected.</p> */ - const short SELECTABLE = 21; + const short SELECTABLE = 22; /** Object is selected. @@ -192,11 +209,11 @@ constants AccessibleStateType children to be selected, and that this child is one of those children that has been selected.</p> */ - const short SELECTED = 22; + const short SELECTED = 23; /** Indicates this object is sensitive. */ - const short SENSITIVE = 23; + const short SENSITIVE = 24; /** Object is displayed on the screen. @@ -206,23 +223,23 @@ constants AccessibleStateType though, not necessarily visible on the screen because it may be ocluded by other objects.</p> */ - const short SHOWING = 24; + const short SHOWING = 25; /** Indicates this (text) object can contain only a single line of text */ - const short SINGLE_LINE = 25; + const short SINGLE_LINE = 26; /** ??? */ - const short STALE = 26; + const short STALE = 27; /** Indicates this object is transient. */ - const short TRANSIENT= 27; + const short TRANSIENT= 28; /** Indicates the orientation of this object is vertical. */ - const short VERTICAL = 28; + const short VERTICAL = 29; /** Object wants to be displayed on the screen. @@ -232,21 +249,7 @@ constants AccessibleStateType set the <const>VISIBLE</const> state and the object lies at least partly in the visible area of its parent.</p> */ - const short VISIBLE = 29; - - /** Indicates the most (all) children are transient and it is not - necessary to add listener to the children. Only the active descendant - (given by the event) should be not transient to make it possible - to add listener to this object and recognize changes in this object. - - The state is added to make a performance improvment. Now it is no - longer necessary to iterate over all children to find out whether - they are transient or not to decide whether to add listener or not. - If there is a object with this state no one should iterate over the - children to add listener. Only the active descendant should get - listener if it is not transient. - */ - const short MANAGES_DESCENDANTS = 30; + const short VISIBLE = 30; }; }; }; }; }; |