1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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 .
21 module com
{ module sun
{ module star
{ module accessibility
{
23 interface XAccessibleAction
;
24 interface XAccessibleText
;
25 interface XAccessibleValue
;
26 interface XAccessibleExtendedComponent
;
27 interface XAccessibleComponent
;
31 module com
{ module sun
{ module star
{ module awt
{
33 /** specifies accessibility support for a tool box item.
35 @see com::sun::star::accessibility::AccessibleContext
37 @see com::sun::star::accessibility::XAccessibleComponent
38 @see com::sun::star::accessibility::XAccessibleExtendedComponent
40 @see com::sun::star::accessibility::XAccessibleAction
41 @see com::sun::star::accessibility::XAccessibleText
42 @see com::sun::star::accessibility::XAccessibleValue
46 service AccessibleToolBoxItem
48 /** This interface gives access to the structural information of a tool box item:
51 <li>Role: The role of a tool box item is
52 com::sun::star::accessibility::AccessibleRole::PUSH_BUTTON when the item is a push button, or
53 com::sun::star::accessibility::AccessibleRole::TOGGLE_BUTTON when the item is a button and checkable, or
54 com::sun::star::accessibility::AccessibleRole::PANEL when the item is a window, or
55 com::sun::star::accessibility::AccessibleRole::FILLER when the item is a fill item, or
56 com::sun::star::accessibility::AccessibleRole::SEPARATOR when the item is a separator.</li>
57 <li>Name: The name of a tool box item is the name set.</li>
58 <li>Description: The description of a tool box item is its localized
60 <li>Children: There can exist one child.
61 This can be any kind of accessible object.</li>
62 <li>Parent: The parent is the tool box that contains the tool box item.</li>
63 <li>Relations: There are no relations.</li>
64 <li>States: The states supported by this service are
66 <li>com::sun::star::accessibility::AccessibleStateType::DEFUNC
67 is set if the object has already been disposed
68 and subsequent calls to this object result in
69 com::sun::star::lang::DisposedException
71 <li>com::sun::star::accessibility::AccessibleStateType::ENABLED
72 is set if the object is enabled.</li>
73 <li>com::sun::star::accessibility::AccessibleStateType::FOCUSABLE
75 <li>com::sun::star::accessibility::AccessibleStateType::FOCUSED
76 is set if the object currently has the keyboard focus.</li>
77 <li>com::sun::star::accessibility::AccessibleStateType::SHOWING
78 is set if the object is displayed on the screen.</li>
79 <li>com::sun::star::accessibility::AccessibleStateType::VISIBLE
81 <li>com::sun::star::accessibility::AccessibleStateType::CHECKABLE
82 is set if the tool box item is checkable, i.e. it can be checked.</li>
83 <li>com::sun::star::accessibility::AccessibleStateType::CHECKED
84 is set if the tool box item is checked.</li>
89 service com
::sun
::star
::accessibility
::AccessibleContext
;
91 interface com
::sun
::star
::accessibility
::XAccessibleComponent
;
92 interface com
::sun
::star
::accessibility
::XAccessibleExtendedComponent
;
94 /** This interface gives access to the actions that can be executed for
95 a menu. The supported actions for a tool box item are:
100 interface com
::sun
::star
::accessibility
::XAccessibleAction
;
102 /** This interface gives read-only access to the text representation
105 interface com
::sun
::star
::accessibility
::XAccessibleText
;
106 /** This interface gives access to the numerical value of a
107 tool box item, which is related to the tool box item's
108 com::sun::star::accessibility::AccessibleStateType::CHECKED state.
110 interface com
::sun
::star
::accessibility
::XAccessibleValue
;
115 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */