LibreOffice
LibreOffice 6.4 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: */
XInterface.idl
com::sun::star::awt::XScrollBar::setOrientation
void setOrientation([in] long n)
sets the ScrollBarOrientation of the scroll bar.
com::sun::star::awt::XScrollBar::getMaximum
long getMaximum()
returns the currently set maximum scroll value of the scroll bar.
com::sun::star::awt::XScrollBar::setVisibleSize
void setVisibleSize([in] long n)
sets the visible size of the scroll bar.
com::sun::star::awt::XScrollBar::getOrientation
long getOrientation()
returns the currently set ScrollBarOrientation of the scroll bar.
com::sun::star::awt::XScrollBar
gives access to the value and settings of a scroll bar and makes it possible to register adjustment e...
Definition: XScrollBar.idl:35
com::sun::star::awt::XScrollBar::setBlockIncrement
void setBlockIncrement([in] long n)
sets the increment for a block move.
com::sun::star::awt::XAdjustmentListener
makes it possible to receive adjustment events.
Definition: XAdjustmentListener.idl:34
com::sun::star::awt::XScrollBar::removeAdjustmentListener
void removeAdjustmentListener([in] com::sun::star::awt::XAdjustmentListener l)
unregisters an adjustment event listener.
com::sun::star::awt::XScrollBar::getVisibleSize
long getVisibleSize()
returns the currently visible size of the scroll bar.
com::sun::star::awt::XScrollBar::getBlockIncrement
long getBlockIncrement()
returns the currently set increment for a block move.
com::sun::star::awt::XScrollBar::getLineIncrement
long getLineIncrement()
returns the currently set increment for a single line move.
com::sun::star::awt::XScrollBar::addAdjustmentListener
void addAdjustmentListener([in] com::sun::star::awt::XAdjustmentListener l)
registers an adjustment event listener.
com::sun::star::awt::XScrollBar::setMaximum
void setMaximum([in] long n)
sets the maximum scroll value of the scroll bar.
com::sun::star::awt::XScrollBar::setValue
void setValue([in] long n)
sets the scroll value of the scroll bar.
com::sun::star::awt::XScrollBar::getValue
long getValue()
returns the current scroll value of the scroll bar.
XAdjustmentListener.idl
com::sun::star::awt::XScrollBar::setLineIncrement
void setLineIncrement([in] long n)
sets the increment for a single line move.
com
Definition: Ambiguous.idl:22
com::sun::star::uno::XInterface
base interface of all UNO interfaces
Definition: XInterface.idl:48
com::sun::star::awt::XScrollBar::setValues
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.