1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22 23 24#ifndef __com_sun_star_awt_AccessibleTreeListBoxEntry_idl__ 25#define __com_sun_star_awt_AccessibleTreeListBoxEntry_idl__ 26 27#ifndef __com_sun_star_accessibility_AccessibleContext_idl__ 28#include <com/sun/star/accessibility/AccessibleContext.idl> 29#endif 30 31 32module com { module sun { module star { module accessibility { 33 34 published interface XAccessibleAction; 35 published interface XAccessibleSelection; 36 published interface XAccessibleText; 37 published interface XAccessibleComponent; 38 39}; }; }; }; 40 41module com { module sun { module star { module awt { 42 43 44/** specifies accessibility support for a treelistbox entry. 45 46 @see com::sun::star::accessibility::AccessibleContext 47 48 @see com::sun::star::accessibility::XAccessibleAction 49 @see com::sun::star::accessibility::XAccessibleSelection 50 @see com::sun::star::accessibility::XAccessibleText 51 52 @since OpenOffice 1.1.2 53*/ 54published service AccessibleTreeListBoxEntry 55{ 56 /** This interface gives access to the structural information of a tree list box entry: 57 58 <ul> 59 <li>Role: The role of a tree list box entry is <const 60 scope="com::sun::star::accessibility" 61 >AccessibleRole::LABEL</const>.</li> 62 <li>Name: The name of a tree list box entry is it's text.</li> 63 <li>Description: The description of a tree list box entry is empty.</li> 64 <li>Children: There can exist children of type <type scope="com::sun::star::awt">AccessibleTreeListBoxEntry</type>. 65 </li> 66 <li>Parent: The parent is either the <type scope="com::sun::star::awt">AccessibleTreeListBox</type> 67 or an <type scope="com::sun::star::awt">AccessibleTreeListBoxEntry</type> that contains the tree list box entry.</li> 68 <li>Relations: There are no relations.</li> 69 <li>States: The states supported by this service are 70 <ul> 71 <li><const scope="com::sun::star::accessibility" 72 >AccessibleStateType::DEFUNC</const> 73 is set if the object has already been disposed 74 and subsequent calls to this object result in 75 <type scope="com::sun::star::lang">DisposedException</type> 76 exceptions.</li> 77 <li><const scope="com::sun::star::accessibility" 78 >AccessibleStateType::ENABLED</const> is set 79 if the object is enabled.</li> 80 <li><const scope="com::sun::star::accessibility" 81 >AccessibleStateType::SHOWING</const> is set 82 if the object is displayed on the screen.</li> 83 <li><const scope="com::sun::star::accessibility" 84 >AccessibleStateType::VISIBLE</const> is always set.</li> 85 <li><const scope="com::sun::star::accessibility" 86 >AccessibleStateType::EDITABLE</const> is set when a tree list box entry can be edited.</li> 87 <li><const scope="com::sun::star::accessibility" 88 >AccessibleStateType::EXPANDABLE</const> is always set.</li> 89 <li><const scope="com::sun::star::accessibility" 90 >AccessibleStateType::EXPANDED</const> is set when it is expanded.</li> 91 <li><const scope="com::sun::star::accessibility" 92 >AccessibleStateType::COLLAPSED</const> is set when it is collapsed.</li> 93 <li><const scope="com::sun::star::accessibility" 94 >AccessibleStateType::CHECKED</const> is set when it is checked.</li> 95 <li><const scope="com::sun::star::accessibility" 96 >AccessibleStateType::SELECTABLE</const> is always set.</li> 97 <li><const scope="com::sun::star::accessibility" 98 >AccessibleStateType::SELECTED</const> is set when it is selected.</li> 99 </ul> 100 </li> 101 </ul> 102 */ 103 service com::sun::star::accessibility::AccessibleContext; 104 105 interface com::sun::star::accessibility::XAccessibleComponent; 106 107 /** This interface gives access to the actions that can be executed for 108 a menu. The supported actions for a tree list box entry are: 109 <ul> 110 <li>toggleExpand</li> 111 </ul> 112 */ 113 interface com::sun::star::accessibility::XAccessibleAction; 114 115 /** This interface gives access to the selectable children of a 116 tree list box entry. 117 */ 118 interface com::sun::star::accessibility::XAccessibleSelection; 119 120 /** This interface gives read-only access to the text representation 121 of a tool box item. 122 */ 123 interface com::sun::star::accessibility::XAccessibleText; 124}; 125 126}; }; }; }; 127 128#endif 129 130