1*cdf0e10cSrcweir/*************************************************************************
2*cdf0e10cSrcweir *
3*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4*cdf0e10cSrcweir *
5*cdf0e10cSrcweir * Copyright 2000, 2010 Oracle and/or its affiliates.
6*cdf0e10cSrcweir *
7*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite
8*cdf0e10cSrcweir *
9*cdf0e10cSrcweir * This file is part of OpenOffice.org.
10*cdf0e10cSrcweir *
11*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify
12*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3
13*cdf0e10cSrcweir * only, as published by the Free Software Foundation.
14*cdf0e10cSrcweir *
15*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful,
16*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of
17*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details
19*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code).
20*cdf0e10cSrcweir *
21*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License
22*cdf0e10cSrcweir * version 3 along with OpenOffice.org.  If not, see
23*cdf0e10cSrcweir * <http://www.openoffice.org/license.html>
24*cdf0e10cSrcweir * for a copy of the LGPLv3 License.
25*cdf0e10cSrcweir *
26*cdf0e10cSrcweir ************************************************************************/
27*cdf0e10cSrcweir
28*cdf0e10cSrcweir#ifndef __com_sun_star_awt_AccessibleIconChoiceControl_idl__
29*cdf0e10cSrcweir#define __com_sun_star_awt_AccessibleIconChoiceControl_idl__
30*cdf0e10cSrcweir
31*cdf0e10cSrcweir#ifndef __com_sun_star_accessibility_AccessibleContext_idl__
32*cdf0e10cSrcweir#include <com/sun/star/accessibility/AccessibleContext.idl>
33*cdf0e10cSrcweir#endif
34*cdf0e10cSrcweir
35*cdf0e10cSrcweir
36*cdf0e10cSrcweirmodule com { module sun { module star { module accessibility {
37*cdf0e10cSrcweir
38*cdf0e10cSrcweir published interface XAccessibleSelection;
39*cdf0e10cSrcweir published interface XAccessibleComponent;
40*cdf0e10cSrcweir
41*cdf0e10cSrcweir}; }; }; };
42*cdf0e10cSrcweir
43*cdf0e10cSrcweirmodule com { module sun { module star { module awt {
44*cdf0e10cSrcweir
45*cdf0e10cSrcweir/** specifies accessibility support for an icon choice control.
46*cdf0e10cSrcweir
47*cdf0e10cSrcweir    @see com::sun::star::accessibility::AccessibleContext
48*cdf0e10cSrcweir    @see com::sun::star::accessibility::XAccessibleComponent
49*cdf0e10cSrcweir
50*cdf0e10cSrcweir	@since OOo 1.1.2
51*cdf0e10cSrcweir*/
52*cdf0e10cSrcweirpublished service AccessibleIconChoiceControl
53*cdf0e10cSrcweir{
54*cdf0e10cSrcweir	/** This interface gives access to the structural information of an icon choice control:
55*cdf0e10cSrcweir
56*cdf0e10cSrcweir       <ul>
57*cdf0e10cSrcweir       <li>Role: The role of an icon choice control is <const
58*cdf0e10cSrcweir           scope="com::sun::star::accessibility"
59*cdf0e10cSrcweir           >AccessibleRole::TREE</const>.</li>
60*cdf0e10cSrcweir       <li>Name: The name of an icon choice control is IconChoiceControl.</li>
61*cdf0e10cSrcweir       <li>Description: The description of an icon choice control is its localized
62*cdf0e10cSrcweir           help text.</li>
63*cdf0e10cSrcweir       <li>Children: There exists children of type <type scope="com::sun::star::awt">AccessibleIconChoiceControlEntry</type>.
64*cdf0e10cSrcweir		</li>
65*cdf0e10cSrcweir       <li>Parent: The parent is the window that contains the icon choice control.</li>
66*cdf0e10cSrcweir       <li>Relations: There are no relations.</li>
67*cdf0e10cSrcweir       <li>States: The states supported by this service are
68*cdf0e10cSrcweir           <ul>
69*cdf0e10cSrcweir           <li><const scope="com::sun::star::accessibility"
70*cdf0e10cSrcweir               >AccessibleStateType::DEFUNC</const>
71*cdf0e10cSrcweir               is set if the object has already been disposed
72*cdf0e10cSrcweir               and subsequent calls to this object result in
73*cdf0e10cSrcweir               <type scope="com::sun::star::lang">DisposedException</type>
74*cdf0e10cSrcweir               exceptions.</li>
75*cdf0e10cSrcweir           <li><const scope="com::sun::star::accessibility"
76*cdf0e10cSrcweir               >AccessibleStateType::ENABLED</const> is set
77*cdf0e10cSrcweir               if the object is enabled.</li>
78*cdf0e10cSrcweir           <li><const scope="com::sun::star::accessibility"
79*cdf0e10cSrcweir               >AccessibleStateType::FOCUSABLE</const> is always set.</li>
80*cdf0e10cSrcweir           <li><const scope="com::sun::star::accessibility"
81*cdf0e10cSrcweir               >AccessibleStateType::FOCUSED</const> is set
82*cdf0e10cSrcweir               if the object currently has the keyboard focus.</li>
83*cdf0e10cSrcweir           <li><const scope="com::sun::star::accessibility"
84*cdf0e10cSrcweir               >AccessibleStateType::ACTIVE</const> is set
85*cdf0e10cSrcweir               if a child has currently the focus.</li>
86*cdf0e10cSrcweir		   <li><const scope="com::sun::star::accessibility"
87*cdf0e10cSrcweir               >AccessibleStateType::RESIZABLE</const> is set
88*cdf0e10cSrcweir               if the object can be resized.</li>
89*cdf0e10cSrcweir           <li><const scope="com::sun::star::accessibility"
90*cdf0e10cSrcweir               >AccessibleStateType::SHOWING</const> is set
91*cdf0e10cSrcweir               if the object is displayed on the screen.</li>
92*cdf0e10cSrcweir           <li><const scope="com::sun::star::accessibility"
93*cdf0e10cSrcweir               >AccessibleStateType::VISIBLE</const> is always set.</li>
94*cdf0e10cSrcweir		   <li><const scope="com::sun::star::accessibility"
95*cdf0e10cSrcweir               >AccessibleStateType::MANAGES_DESCENDANTS</const> is always set. Children are transient.</li>
96*cdf0e10cSrcweir		   <li><const scope="com::sun::star::accessibility"
97*cdf0e10cSrcweir               >AccessibleStateType::MULTI_SELECTABLE</const> is set when mutli selection is enabled.</li>
98*cdf0e10cSrcweir           </ul>
99*cdf0e10cSrcweir           </li>
100*cdf0e10cSrcweir       </ul>
101*cdf0e10cSrcweir    */
102*cdf0e10cSrcweir    service   com::sun::star::accessibility::AccessibleContext;
103*cdf0e10cSrcweir
104*cdf0e10cSrcweir	interface com::sun::star::accessibility::XAccessibleComponent;
105*cdf0e10cSrcweir
106*cdf0e10cSrcweir	/** This interface gives access to the selectable children of a
107*cdf0e10cSrcweir        icon choice control.
108*cdf0e10cSrcweir     */
109*cdf0e10cSrcweir    interface com::sun::star::accessibility::XAccessibleSelection;
110*cdf0e10cSrcweir};
111*cdf0e10cSrcweir
112*cdf0e10cSrcweir}; }; }; };
113*cdf0e10cSrcweir
114*cdf0e10cSrcweir#endif
115*cdf0e10cSrcweir
116