LibreOffice
LibreOffice 7.6 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 
20 
21 
22  module com { module sun { module star { module awt {
23 
24 
29 {
30 
34 
35 
39 
40 
43  void setValue( [in] long n );
44 
45 
49  void setValues( [in] long nValue,
50  [in] long nVisible,
51  [in] long nMax );
52 
53 
56  long getValue();
57 
58 
61  void setMaximum( [in] long n );
62 
63 
66  long getMaximum();
67 
68 
71  void setLineIncrement( [in] long n );
72 
73 
77 
78 
81  void setBlockIncrement( [in] long n );
82 
83 
87 
88 
91  void setVisibleSize( [in] long n );
92 
93 
97 
98 
101  void setOrientation( [in] long n );
102 
103 
108 
109 };
110 
111 
112 }; }; }; };
113 
114 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
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:29
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:28
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.
com::sun::star::awt::XScrollBar::setLineIncrement
void setLineIncrement([in] long n)
sets the increment for a single line move.
com
Definition: Ambiguous.idl:20
com::sun::star::uno::XInterface
base interface of all UNO interfaces
Definition: XInterface.idl:46
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.