1/************************************************************************* 2 * 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * Copyright 2000, 2010 Oracle and/or its affiliates. 6 * 7 * OpenOffice.org - a multi-platform office productivity suite 8 * 9 * This file is part of OpenOffice.org. 10 * 11 * OpenOffice.org is free software: you can redistribute it and/or modify 12 * it under the terms of the GNU Lesser General Public License version 3 13 * only, as published by the Free Software Foundation. 14 * 15 * OpenOffice.org is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU Lesser General Public License version 3 for more details 19 * (a copy is included in the LICENSE file that accompanied this code). 20 * 21 * You should have received a copy of the GNU Lesser General Public License 22 * version 3 along with OpenOffice.org. If not, see 23 * <http://www.openoffice.org/license.html> 24 * for a copy of the LGPLv3 License. 25 * 26 ************************************************************************/ 27 28#ifndef __com_sun_star_awt_AccessibleTreeListBoxEntry_idl__ 29#define __com_sun_star_awt_AccessibleTreeListBoxEntry_idl__ 30 31#ifndef __com_sun_star_accessibility_AccessibleContext_idl__ 32#include <com/sun/star/accessibility/AccessibleContext.idl> 33#endif 34 35 36module com { module sun { module star { module accessibility { 37 38 published interface XAccessibleAction; 39 published interface XAccessibleSelection; 40 published interface XAccessibleText; 41 published interface XAccessibleComponent; 42 43}; }; }; }; 44 45module com { module sun { module star { module awt { 46 47 48/** specifies accessibility support for a treelistbox entry. 49 50 @see com::sun::star::accessibility::AccessibleContext 51 52 @see com::sun::star::accessibility::XAccessibleAction 53 @see com::sun::star::accessibility::XAccessibleSelection 54 @see com::sun::star::accessibility::XAccessibleText 55 56 @since OOo 1.1.2 57*/ 58published service AccessibleTreeListBoxEntry 59{ 60 /** This interface gives access to the structural information of a tree list box entry: 61 62 <ul> 63 <li>Role: The role of a tree list box entry is <const 64 scope="com::sun::star::accessibility" 65 >AccessibleRole::LABEL</const>.</li> 66 <li>Name: The name of a tree list box entry is it's text.</li> 67 <li>Description: The description of a tree list box entry is empty.</li> 68 <li>Children: There can exist children of type <type scope="com::sun::star::awt">AccessibleTreeListBoxEntry</type>. 69 </li> 70 <li>Parent: The parent is either the <type scope="com::sun::star::awt">AccessibleTreeListBox</type> 71 or an <type scope="com::sun::star::awt">AccessibleTreeListBoxEntry</type> that contains the tree list box entry.</li> 72 <li>Relations: There are no relations.</li> 73 <li>States: The states supported by this service are 74 <ul> 75 <li><const scope="com::sun::star::accessibility" 76 >AccessibleStateType::DEFUNC</const> 77 is set if the object has already been disposed 78 and subsequent calls to this object result in 79 <type scope="com::sun::star::lang">DisposedException</type> 80 exceptions.</li> 81 <li><const scope="com::sun::star::accessibility" 82 >AccessibleStateType::ENABLED</const> is set 83 if the object is enabled.</li> 84 <li><const scope="com::sun::star::accessibility" 85 >AccessibleStateType::SHOWING</const> is set 86 if the object is displayed on the screen.</li> 87 <li><const scope="com::sun::star::accessibility" 88 >AccessibleStateType::VISIBLE</const> is always set.</li> 89 <li><const scope="com::sun::star::accessibility" 90 >AccessibleStateType::EDITABLE</const> is set when a tree list box entry can be edited.</li> 91 <li><const scope="com::sun::star::accessibility" 92 >AccessibleStateType::EXPANDABLE</const> is always set.</li> 93 <li><const scope="com::sun::star::accessibility" 94 >AccessibleStateType::EXPANDED</const> is set when it is expanded.</li> 95 <li><const scope="com::sun::star::accessibility" 96 >AccessibleStateType::COLLAPSED</const> is set when it is collapsed.</li> 97 <li><const scope="com::sun::star::accessibility" 98 >AccessibleStateType::CHECKED</const> is set when it is checked.</li> 99 <li><const scope="com::sun::star::accessibility" 100 >AccessibleStateType::SELECTABLE</const> is always set.</li> 101 <li><const scope="com::sun::star::accessibility" 102 >AccessibleStateType::SELECTED</const> is set when it is selected.</li> 103 </ul> 104 </li> 105 </ul> 106 */ 107 service com::sun::star::accessibility::AccessibleContext; 108 109 interface com::sun::star::accessibility::XAccessibleComponent; 110 111 /** This interface gives access to the actions that can be executed for 112 a menu. The supported actions for a tree list box entry are: 113 <ul> 114 <li>toggleExpand</li> 115 </ul> 116 */ 117 interface com::sun::star::accessibility::XAccessibleAction; 118 119 /** This interface gives access to the selectable children of a 120 tree list box entry. 121 */ 122 interface com::sun::star::accessibility::XAccessibleSelection; 123 124 /** This interface gives read-only access to the text representation 125 of a tool box item. 126 */ 127 interface com::sun::star::accessibility::XAccessibleText; 128}; 129 130}; }; }; }; 131 132#endif 133 134