Version 5.2.6.1, tag libreoffice-5.2.6.1
[LibreOffice.git] / offapi / com / sun / star / awt / AccessibleCheckBox.idl
blob9ef4d9e9fff3ed1845c6adb5b96fad20f17840c5
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #ifndef __com_sun_star_awt_AccessibleCheckBox_idl__
21 #define __com_sun_star_awt_AccessibleCheckBox_idl__
23 #include <com/sun/star/accessibility/XAccessibleContext.idl>
24 #include <com/sun/star/accessibility/XAccessibleEventBroadcaster.idl>
25 #include <com/sun/star/accessibility/XAccessibleComponent.idl>
26 #include <com/sun/star/accessibility/XAccessibleExtendedComponent.idl>
27 #include <com/sun/star/accessibility/XAccessibleText.idl>
28 #include <com/sun/star/accessibility/XAccessibleAction.idl>
29 #include <com/sun/star/accessibility/XAccessibleValue.idl>
31 module com { module sun { module star { module awt {
33 /** specifies accessibility support for a check box.
35 @since OOo 1.1.2
37 service AccessibleCheckBox
39 /** This interface gives access to the structural information of a
40 check box:
42 <ul>
43 <li>Role: The role of a check box is
44 com::sun::star::accessibility::AccessibleRole::CHECK_BOX.</li>
45 <li>Name: The name of a check box is its localized label.</li>
46 <li>Description: The description of a check box is its localized
47 help text.</li>
48 <li>Children: There are no children.</li>
49 <li>Parent: The parent is the window that contains the check box.</li>
50 <li>Relations: There are no relations.</li>
51 <li>States: The states supported by this service are
52 <ul>
53 <li>com::sun::star::accessibility::AccessibleStateType::CHECKED
54 is set if the object is currently checked.</li>
55 <li>com::sun::star::accessibility::AccessibleStateType::DEFUNC
56 is set if the object has already been disposed
57 and subsequent calls to this object result in
58 com::sun::star::lang::DisposedException
59 exceptions.</li>
60 <li>com::sun::star::accessibility::AccessibleStateType::ENABLED
61 is set if the object is enabled.</li>
62 <li>com::sun::star::accessibility::AccessibleStateType::FOCUSABLE
63 is always set.</li>
64 <li>com::sun::star::accessibility::AccessibleStateType::FOCUSED
65 is set if the object currently has the keyboard focus.</li>
66 <li>com::sun::star::accessibility::AccessibleStateType::SHOWING
67 is set if the object is displayed on the screen.</li>
68 <li>com::sun::star::accessibility::AccessibleStateType::VISIBLE
69 is always set.</li>
70 </ul>
71 </li>
72 </ul>
74 interface ::com::sun::star::accessibility::XAccessibleContext;
76 interface ::com::sun::star::accessibility::XAccessibleEventBroadcaster;
78 interface ::com::sun::star::accessibility::XAccessibleComponent;
80 interface ::com::sun::star::accessibility::XAccessibleExtendedComponent;
82 /** This interface gives read-only access to the text representation
83 of a check box.
85 interface ::com::sun::star::accessibility::XAccessibleText;
87 /** This interface gives access to the actions that can be executed for
88 a check box. The supported actions for a check box are:
89 <ul>
90 <li>click</li>
91 </ul>
93 interface ::com::sun::star::accessibility::XAccessibleAction;
95 /** This interface gives access to the numerical value of a
96 check box, which is related to the check box state:
98 <pre>
99 0: not checked
100 1: checked
101 2: don't know
102 </pre>
104 interface ::com::sun::star::accessibility::XAccessibleValue;
107 }; }; }; };
109 #endif
111 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */