LibreOffice
LibreOffice 7.2 SDK API Reference
XScrollBar.idl
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
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/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
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 .
18  */
19 #ifndef __com_sun_star_awt_XScrollBar_idl__
20 #define __com_sun_star_awt_XScrollBar_idl__
21 
23 
25 
26 
27 
28  module com { module sun { module star { module awt {
29 
30 
35 {
36 
40 
41 
45 
46 
49  void setValue( [in] long n );
50 
51 
55  void setValues( [in] long nValue,
56  [in] long nVisible,
57  [in] long nMax );
58 
59 
62  long getValue();
63 
64 
67  void setMaximum( [in] long n );
68 
69 
72  long getMaximum();
73 
74 
77  void setLineIncrement( [in] long n );
78 
79 
83 
84 
87  void setBlockIncrement( [in] long n );
88 
89 
93 
94 
97  void setVisibleSize( [in] long n );
98 
99 
103 
104 
107  void setOrientation( [in] long n );
108 
109 
114 
115 };
116 
117 
118 }; }; }; };
119 
120 #endif
121 
122 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
makes it possible to receive adjustment events.
Definition: XAdjustmentListener.idl:34
gives access to the value and settings of a scroll bar and makes it possible to register adjustment e...
Definition: XScrollBar.idl:35
void setMaximum([in] long n)
sets the maximum scroll value of the scroll bar.
long getValue()
returns the current scroll value of the scroll bar.
void setVisibleSize([in] long n)
sets the visible size of the scroll bar.
long getOrientation()
returns the currently set ScrollBarOrientation of the scroll bar.
long getMaximum()
returns the currently set maximum scroll value of the scroll bar.
void setOrientation([in] long n)
sets the ScrollBarOrientation of the scroll bar.
void setValues([in] long nValue, [in] long nVisible, [in] long nMax)
sets the scroll value, visible area and maximum scroll value of the scroll bar.
void setBlockIncrement([in] long n)
sets the increment for a block move.
long getLineIncrement()
returns the currently set increment for a single line move.
void addAdjustmentListener([in] com::sun::star::awt::XAdjustmentListener l)
registers an adjustment event listener.
void removeAdjustmentListener([in] com::sun::star::awt::XAdjustmentListener l)
unregisters an adjustment event listener.
long getVisibleSize()
returns the currently visible size of the scroll bar.
long getBlockIncrement()
returns the currently set increment for a block move.
void setLineIncrement([in] long n)
sets the increment for a single line move.
void setValue([in] long n)
sets the scroll value of the scroll bar.
base interface of all UNO interfaces
Definition: XInterface.idl:48
Definition: Ambiguous.idl:22