Overview | Module | Use | Devguide | Index

Methods' Summary | Attributes' Summary | Methods' Details | Attributes' Details

:: com :: sun :: star :: awt ::
unpublished | interface XSpinValue |
Usage Restrictions not published Description gives access to the value and settings of a control which is associated with a spinnable value.

Methods' Summary
addAdjustmentListener | registers an adjustment event listener.
removeAdjustmentListener | unregisters an adjustment event listener.
setValue | sets the current value of the control
setValues | sets the value and value range of the control
getValue | returns the current value of the control.
setMinimum | sets the minimum value which can be set on the control
setMaximum | sets the maximum value which can be set on the control
getMinimum | returns the currently set minimum value of the control
getMaximum | returns the currently set maximum value of the control
setSpinIncrement | sets the value by which the current value of the control should be incremented or decremented upon spinning.
getSpinIncrement | returns the value by which the current value of the control should be incremented or decremented upon spinning.
setOrientation | controls the orientation of the control
getOrientation | returns the current orientation of the control

Methods' Details
addAdjustmentListener
void
addAdjustmentListener( | [in] XAdjustmentListener | listener );
Description registers an adjustment event listener.
removeAdjustmentListener
void
removeAdjustmentListener( | [in] XAdjustmentListener | listener );
Description unregisters an adjustment event listener.
setValue
void
setValue( | [in] long | value );
Description sets the current value of the control
setValues
void
setValues( | [in] long | minValue,
| [in] long | maxValue,
| [in] long | currentValue );
Description sets the value and value range of the control See also setValue, setMinimum, setMaximum
getValue
long
getValue();
Description returns the current value of the control.
setMinimum
void
setMinimum( | [in] long | minValue );
Description sets the minimum value which can be set on the control
setMaximum
void
setMaximum( | [in] long | maxValue );
Description sets the maximum value which can be set on the control
getMinimum
long
getMinimum();
Description returns the currently set minimum value of the control
getMaximum
long
getMaximum();
Description returns the currently set maximum value of the control
setSpinIncrement
void
setSpinIncrement( | [in] long | spinIncrement );
Description sets the value by which the current value of the control should be incremented or decremented upon spinning.
getSpinIncrement
long
getSpinIncrement();
Description returns the value by which the current value of the control should be incremented or decremented upon spinning.
setOrientation
void
setOrientation( | [in] long | orientation )
raises( | ::com::sun::star::lang::NoSupportException );
Description controls the orientation of the control Parameter orientation one of the ScrollBarOrientation values specifying the orientation Throws com::sun::star::lang::NoSupportException in case the given orientation is not supported
getOrientation
long
getOrientation();
Description returns the current orientation of the control

Top of Page

Copyright © 2000, 2013 LibreOffice contributors and/or their affiliates. All rights reserved.

LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.

The Document Foundation acknowledges all community members, please find more info at our website.

Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.