Version 5.2.6.1, tag libreoffice-5.2.6.1
[LibreOffice.git] / offapi / com / sun / star / awt / AccessibleRadioButton.idl
blobe065cb536efbb2b2e93b20f0cadd4c017a7de0f9
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_AccessibleRadioButton_idl__
21 #define __com_sun_star_awt_AccessibleRadioButton_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 radio button.
35 @since OOo 1.1.2
37 service AccessibleRadioButton
39 /** This interface gives access to the structural information of a
40 radio button:
42 <ul>
43 <li>Role: The role of a radio button is
44 com::sun::star::accessibility::AccessibleRole::RADIO_BUTTON.</li>
45 <li>Name: The name of a radio button is its localized label.</li>
46 <li>Description: The description of a radio button 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 radio button.</li>
50 <li>Relations: The relations supported by this service are
51 <ul>
52 <li>com::sun::star::accessibility::AccessibleRelationType::MEMBER_OF
53 is set if the object is a member of a group of one or more
54 target objects.</li>
55 </ul>
56 </li>
57 <li>States: The states supported by this service are
58 <ul>
59 <li>com::sun::star::accessibility::AccessibleStateType::CHECKED
60 is set if the object is currently checked.</li>
61 <li>com::sun::star::accessibility::AccessibleStateType::DEFUNC
62 is set if the object has already been disposed
63 and subsequent calls to this object result in
64 com::sun::star::lang::DisposedException
65 exceptions.</li>
66 <li>com::sun::star::accessibility::AccessibleStateType::ENABLED
67 is set if the object is enabled.</li>
68 <li>com::sun::star::accessibility::AccessibleStateType::FOCUSABLE
69 is always set.</li>
70 <li>com::sun::star::accessibility::AccessibleStateType::FOCUSED
71 is set if the object currently has the keyboard focus.</li>
72 <li>com::sun::star::accessibility::AccessibleStateType::SHOWING
73 is set if the object is displayed on the screen.</li>
74 <li>com::sun::star::accessibility::AccessibleStateType::VISIBLE
75 is always set.</li>
76 </ul>
77 </li>
78 </ul>
80 interface ::com::sun::star::accessibility::XAccessibleContext;
82 interface ::com::sun::star::accessibility::XAccessibleEventBroadcaster;
84 interface ::com::sun::star::accessibility::XAccessibleComponent;
86 interface ::com::sun::star::accessibility::XAccessibleExtendedComponent;
88 /** This interface gives read-only access to the text representation
89 of a radio button.
91 interface ::com::sun::star::accessibility::XAccessibleText;
93 /** This interface gives access to the actions that can be executed for
94 a radio button. The supported actions for a radio button are:
95 <ul>
96 <li>click</li>
97 </ul>
99 interface ::com::sun::star::accessibility::XAccessibleAction;
101 /** This interface gives access to the numerical value of a
102 radio button, which is related to the radio button's
103 com::sun::star::accessibility::AccessibleStateType::CHECKED state.
105 interface ::com::sun::star::accessibility::XAccessibleValue;
109 }; }; }; };
111 #endif
113 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */