LibreOffice
LibreOffice 7.6 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 
20 
21  module com { module sun { module star { module awt {
22 
23 
28 {
29 
33 
34 
38 
39 
42  void setValue( [in] long value );
43 
44 
51  void setValues( [in] long minValue, [in] long maxValue, [in] long currentValue );
52 
53 
56  long getValue();
57 
58 
61  void setMinimum( [in] long minValue );
62 
63 
66  void setMaximum( [in] long maxValue );
67 
68 
71  long getMinimum();
72 
73 
76  long getMaximum();
77 
78 
82  void setSpinIncrement( [in] long spinIncrement );
83 
84 
89 
90 
97  void setOrientation( [in] long orientation )
99 
100 
104 
105 };
106 
107 
108 }; }; }; };
109 
110 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
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:28
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...
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:28
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:20
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:46
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:35