LibreOffice
LibreOffice 6.4 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: */
XInterface.idl
com::sun::star::awt::XSpinValue::getMaximum
long getMaximum()
returns the currently set maximum value of the control
com::sun::star::awt::XSpinValue::setMinimum
void setMinimum([in] long minValue)
sets the minimum value which can be set on the control
com::sun::star::awt::XSpinValue::getOrientation
long getOrientation()
returns the current orientation of the control
com::sun::star::awt::XSpinValue::getValue
long getValue()
returns the current value of the control.
com::sun::star::awt::XAdjustmentListener
makes it possible to receive adjustment events.
Definition: XAdjustmentListener.idl:34
com::sun::star::awt::XSpinValue::setSpinIncrement
void setSpinIncrement([in] long spinIncrement)
sets the value by which the current value of the control should be incremented or decremented upon sp...
com::sun::star::awt::XSpinValue::getMinimum
long getMinimum()
returns the currently set minimum value of the control
com::sun::star::awt::XSpinValue::addAdjustmentListener
void addAdjustmentListener([in] com::sun::star::awt::XAdjustmentListener listener)
registers an adjustment event listener.
com::sun::star::awt::XSpinValue::getSpinIncrement
long getSpinIncrement()
returns the value by which the current value of the control should be incremented or decremented upon...
XAdjustmentListener.idl
com::sun::star::awt::XSpinValue::setMaximum
void setMaximum([in] long maxValue)
sets the maximum value which can be set on the control
com::sun::star::awt::XSpinValue
gives access to the value and settings of a control which is associated with a spinnable value.
Definition: XSpinValue.idl:34
com::sun::star::awt::XSpinValue::setValue
void setValue([in] long value)
sets the current value of the control
com::sun::star::awt::XSpinValue::setValues
void setValues([in] long minValue, [in] long maxValue, [in] long currentValue)
sets the value and value range of the control
com
Definition: Ambiguous.idl:22
NoSupportException.idl
com::sun::star::awt::XSpinValue::setOrientation
void setOrientation([in] long orientation)
controls the orientation of the control
com::sun::star::uno::XInterface
base interface of all UNO interfaces
Definition: XInterface.idl:48
com::sun::star::awt::XSpinValue::removeAdjustmentListener
void removeAdjustmentListener([in] com::sun::star::awt::XAdjustmentListener listener)
unregisters an adjustment event listener.
com::sun::star::lang::NoSupportException
This exception is thrown when a feature of an interface is not supported.
Definition: NoSupportException.idl:39