bump product version to 4.1.6.2
[LibreOffice.git] / offapi / com / sun / star / awt / UnoControlScrollBarModel.idl
blob7127ee34c27782a7a55d57b985bd58d19ce41ebd
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 .
19 #ifndef __com_sun_star_awt_UnoControlScrollBarModel_idl__
20 #define __com_sun_star_awt_UnoControlScrollBarModel_idl__
22 #include <com/sun/star/awt/UnoControlModel.idl>
23 #include <com/sun/star/util/Color.idl>
27 module com { module sun { module star { module awt {
30 /** specifies the standard model of an <type>UnoControlScrollBar</type>.
32 published service UnoControlScrollBarModel
34 service com::sun::star::awt::UnoControlModel;
37 /** specifies the RGB color to be used for the control.
39 @since OOo 2.0
41 [optional, property] com::sun::star::util::Color BackgroundColor;
44 /** specifies the increment for a block move.
46 [property] long BlockIncrement;
49 /** specifies the border style of the control.
51 <pre>
52 0: No border
53 1: 3D border
54 2: simple border
55 </pre>
57 [property] short Border;
60 /** specifies the color of the border, if present
62 <p>Not every border style (see <member>Border</member>) may support coloring.
63 For instance, usually a border with 3D effect will ignore the BorderColor setting.</p>
65 @since OOo 2.0
67 [optional, property] long BorderColor;
70 /** determines whether the control is enabled or disabled.
72 [property] boolean Enabled;
75 /** specifies the help text of the control.
77 [property] string HelpText;
80 /** specifies the help URL of the control.
82 [property] string HelpURL;
85 /** specifies the increment for a single line move.
87 [property] long LineIncrement;
90 /** specifies the scrolling behavior of the control.
92 <p><TRUE/> means, that when the user moves the slider in the scroll bar,
93 the content of the window is updated immediately.
94 <FALSE/> means, that the window is only updated after the user has
95 released the mouse button.</p>
97 @since OOo 2.0
99 [optional, property] boolean LiveScroll;
102 /** specifies the <type>ScrollBarOrientation</type> of the control.
104 [property] long Orientation;
107 /** specifies that the control will be printed with the document.
109 [property] boolean Printable;
112 /** specifies the mouse repeat delay, in milliseconds.
114 <p>When the user presses a mouse in a control area where this triggers
115 an action (such as scrolling the scrollbar), then usual control implementations
116 allow to repeatedly trigger this action, without the need to release the
117 mouse button and to press it again. The delay between two such triggers
118 is specified with this property.</p>
120 @since OOo 2.0
122 [optional, property] long RepeatDelay;
125 /** specifies the scroll value of the control.
127 [property] long ScrollValue;
130 /** specifies the minimum scroll value of the control.
132 <p>If this optional property is not present, clients of the component should assume
133 a minimal scroll value of 0.</p>
135 [optional, property] long ScrollValueMin;
138 /** specifies the maximum scroll value of the control.
140 [property] long ScrollValueMax;
143 /** specifies the RGB color to be used when painting symbols which are
144 part of the control's appearance, such as the arrow buttons.
146 @since OOo 2.0
148 [optional, property] com::sun::star::util::Color SymbolColor;
151 /** specifies that the control can be reached with the TAB key.
153 @since OOo 2.0
155 [optional, property] boolean Tabstop;
158 /** specifies the visible size of the scroll bar.
160 [property] long VisibleSize;
165 }; }; }; };
167 #endif
169 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */