| LibreOffice
    LibreOffice 25.2 SDK API Reference | 
gives access to the value and settings of a control which is associated with a spinnable value. More...
import "XSpinValue.idl";
 
  
| Public Member Functions | |
| 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 | setValue ([in] long value) | 
| sets the current value of the control | |
| void | setValues ([in] long minValue, [in] long maxValue, [in] long currentValue) | 
| sets the value and value range of the control | |
| long | getValue () | 
| returns the current value of the control. | |
| void | setMinimum ([in] long minValue) | 
| sets the minimum value which can be set on the control | |
| void | setMaximum ([in] long maxValue) | 
| sets the maximum value which can be set on the control | |
| long | getMinimum () | 
| returns the currently set minimum value of the control | |
| long | getMaximum () | 
| returns the currently set maximum value of the control | |
| void | setSpinIncrement ([in] long spinIncrement) | 
| sets the value by which the current value of the control should be incremented or decremented upon spinning. | |
| long | getSpinIncrement () | 
| returns the value by which the current value of the control should be incremented or decremented upon spinning. | |
| void | setOrientation ([in] long orientation) raises ( com::sun::star::lang::NoSupportException ) | 
| controls the orientation of the control | |
| long | getOrientation () | 
| returns the current orientation of the control | |
| Public Member Functions inherited from XInterface | |
| any | queryInterface ([in] type aType) | 
| queries for a new interface to an existing UNO object. | |
| void | acquire () | 
| increases the reference counter by one. | |
| void | release () | 
| decreases the reference counter by one. | |
gives access to the value and settings of a control which is associated with a spinnable value.
| void addAdjustmentListener | ( | [in] com::sun::star::awt::XAdjustmentListener | listener | ) | 
registers an adjustment event listener.
| long getMaximum | ( | ) | 
returns the currently set maximum value of the control
| long getMinimum | ( | ) | 
returns the currently set minimum value of the control
| long getOrientation | ( | ) | 
returns the current orientation of the control
| long getSpinIncrement | ( | ) | 
returns the value by which the current value of the control should be incremented or decremented upon spinning.
| long getValue | ( | ) | 
returns the current value of the control.
| void removeAdjustmentListener | ( | [in] com::sun::star::awt::XAdjustmentListener | listener | ) | 
unregisters an adjustment event listener.
| void setMaximum | ( | [in] long | maxValue | ) | 
sets the maximum value which can be set on the control
| void setMinimum | ( | [in] long | minValue | ) | 
sets the minimum value which can be set on the control
| void setOrientation | ( | [in] long | orientation | ) | ||
| raises | ( | com::sun::star::lang::NoSupportException ) | ||||
controls the orientation of the control
| orientation | one of the ScrollBarOrientation values specifying the orientation | 
| com::sun::star::lang::NoSupportException | in case the given orientation is not supported | 
| void setSpinIncrement | ( | [in] long | spinIncrement | ) | 
sets the value by which the current value of the control should be incremented or decremented upon spinning.
| void setValue | ( | [in] long | value | ) | 
sets the current value of the control
| void setValues | ( | [in] long | minValue, | 
| [in] long | maxValue, | ||
| [in] long | currentValue ) | 
sets the value and value range of the control