LibreOffice
LibreOffice 7.3 SDK API Reference
XSpinValue.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_XSpinValue_idl__
20 #define __com_sun_star_awt_XSpinValue_idl__
21 
25 
26 
27  module com { module sun { module star { module awt {
28 
29 
34 {
35 
39 
40 
44 
45 
48  void setValue( [in] long value );
49 
50 
57  void setValues( [in] long minValue, [in] long maxValue, [in] long currentValue );
58 
59 
62  long getValue();
63 
64 
67  void setMinimum( [in] long minValue );
68 
69 
72  void setMaximum( [in] long maxValue );
73 
74 
77  long getMinimum();
78 
79 
82  long getMaximum();
83 
84 
88  void setSpinIncrement( [in] long spinIncrement );
89 
90 
95 
96 
103  void setOrientation( [in] long orientation )
105 
106 
110 
111 };
112 
113 
114 }; }; }; };
115 
116 #endif
117 
118 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
This exception is thrown when a feature of an interface is not supported.
Definition: NoSupportException.idl:39
makes it possible to receive adjustment events.
Definition: XAdjustmentListener.idl:34
gives access to the value and settings of a control which is associated with a spinnable value.
Definition: XSpinValue.idl:34
void setValue([in] long value)
sets the current value of the control
void setMinimum([in] long minValue)
sets the minimum value which can be set on the control
long getSpinIncrement()
returns the value by which the current value of the control should be incremented or decremented upon...
void setSpinIncrement([in] long spinIncrement)
sets the value by which the current value of the control should be incremented or decremented upon sp...
long getValue()
returns the current value of the control.
void setMaximum([in] long maxValue)
sets the maximum value which can be set on the control
long getOrientation()
returns the current orientation of the control
long getMaximum()
returns the currently set maximum value of the control
long getMinimum()
returns the currently set minimum value of the control
void setValues([in] long minValue, [in] long maxValue, [in] long currentValue)
sets the value and value range of the control
void addAdjustmentListener([in] com::sun::star::awt::XAdjustmentListener listener)
registers an adjustment event listener.
void removeAdjustmentListener([in] com::sun::star::awt::XAdjustmentListener listener)
unregisters an adjustment event listener.
void setOrientation([in] long orientation)
controls the orientation of the control
base interface of all UNO interfaces
Definition: XInterface.idl:48
Definition: Ambiguous.idl:22