1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*************************************************************************
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
6 * Copyright 2000, 2010 Oracle and/or its affiliates.
8 * OpenOffice.org - a multi-platform office productivity suite
10 * This file is part of OpenOffice.org.
12 * OpenOffice.org is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU Lesser General Public License version 3
14 * only, as published by the Free Software Foundation.
16 * OpenOffice.org is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU Lesser General Public License version 3 for more details
20 * (a copy is included in the LICENSE file that accompanied this code).
22 * You should have received a copy of the GNU Lesser General Public License
23 * version 3 along with OpenOffice.org. If not, see
24 * <http://www.openoffice.org/license.html>
25 * for a copy of the LGPLv3 License.
27 ************************************************************************/
29 #ifndef __com_sun_star_awt_AccessibleScrollBar_idl__
30 #define __com_sun_star_awt_AccessibleScrollBar_idl__
32 #include
<com
/sun
/star
/accessibility
/XAccessibleContext.idl
>
33 #include
<com
/sun
/star
/accessibility
/XAccessibleEventBroadcaster.idl
>
34 #include
<com
/sun
/star
/accessibility
/XAccessibleComponent.idl
>
35 #include
<com
/sun
/star
/accessibility
/XAccessibleExtendedComponent.idl
>
36 #include
<com
/sun
/star
/accessibility
/XAccessibleAction.idl
>
37 #include
<com
/sun
/star
/accessibility
/XAccessibleValue.idl
>
39 module com
{ module sun
{ module star
{ module awt
{
41 /** specifies accessibility support for a scroll bar.
45 published service AccessibleScrollBar
47 /** This interface gives access to the structural information of a
51 <li>Role: The role of a scroll bar is <const
52 scope="com::sun::star::accessibility"
53 >AccessibleRole::SCROLL_BAR</const>.</li>
54 <li>Name: There is no name.</li>
55 <li>Description: The description of a scroll bar is its localized
57 <li>Children: There are no children.</li>
58 <li>Parent: The parent is the window that contains the scroll bar.</li>
59 <li>Relations: There are no relations.</li>
60 <li>States: The states supported by this service are
62 <li><const scope="com::sun::star::accessibility"
63 >AccessibleStateType::DEFUNC</const>
64 is set if the object has already been disposed
65 and subsequent calls to this object result in
66 <type scope="com::sun::star::lang">DisposedException</type>
68 <li><const scope="com::sun::star::accessibility"
69 >AccessibleStateType::ENABLED</const> is set
70 if the object is enabled.</li>
71 <li><const scope="com::sun::star::accessibility"
72 >AccessibleStateType::FOCUSABLE</const> is always set.</li>
73 <li><const scope="com::sun::star::accessibility"
74 >AccessibleStateType::FOCUSED</const> is set
75 if the object currently has the keyboard focus.</li>
76 <li><const scope="com::sun::star::accessibility"
77 >AccessibleStateType::HORIZONTAL</const> is set
78 if the orientation of the object is horizontal.</li>
79 <li><const scope="com::sun::star::accessibility"
80 >AccessibleStateType::SHOWING</const> is set
81 if the object is displayed on the screen.</li>
82 <li><const scope="com::sun::star::accessibility"
83 >AccessibleStateType::VERTICAL</const> is set
84 if the orientation of the object is vertical.</li>
85 <li><const scope="com::sun::star::accessibility"
86 >AccessibleStateType::VISIBLE</const> is always set.</li>
91 interface ::com
::sun
::star
::accessibility
::XAccessibleContext
;
93 interface ::com
::sun
::star
::accessibility
::XAccessibleEventBroadcaster
;
95 interface ::com
::sun
::star
::accessibility
::XAccessibleComponent
;
97 interface ::com
::sun
::star
::accessibility
::XAccessibleExtendedComponent
;
99 /** This interface gives access to the actions that can be executed for
100 a scroll bar. The supported actions for a scroll bar are:
102 <li>decrementLine</li>
103 <li>incrementLine</li>
104 <li>decrementBlock</li>
105 <li>incrementBlock</li>
108 interface ::com
::sun
::star
::accessibility
::XAccessibleAction
;
110 /** This interface gives access to the numerical value of a scroll bar,
111 which is related to the position of the scroll bar thumb.
113 interface ::com
::sun
::star
::accessibility
::XAccessibleValue
;
120 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */