LibreOffice
LibreOffice 24.8 SDK API Reference
Loading...
Searching...
No Matches
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: */
makes it possible to receive adjustment events.
Definition XAdjustmentListener.idl:28
gives access to the value and settings of a scroll bar and makes it possible to register adjustment e...
Definition XScrollBar.idl:29
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 generated_idl_chapter_refs.idl:452
Definition Ambiguous.idl:20