Overview | Module | Use | Devguide | Index

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

:: com :: sun :: star :: awt ::
interface XScrollBar
Description gives access to the value and settings of a scroll bar and makes it possible to register adjustment event listeners.

Methods' Summary
addAdjustmentListener | registers an adjustment event listener.
removeAdjustmentListener | unregisters an adjustment event listener.
setValue | sets the scroll value of the scroll bar.
setValues | sets the scroll value, visible area and maximum scroll value of the scroll bar.
getValue | returns the current scroll value of the scroll bar.
setMaximum | sets the maximum scroll value of the scroll bar.
getMaximum | returns the currently set maximum scroll value of the scroll bar.
setLineIncrement | sets the increment for a single line move.
getLineIncrement | returns the currently set increment for a single line move.
setBlockIncrement | sets the increment for a block move.
getBlockIncrement | returns the currently set increment for a block move.
setVisibleSize | sets the visible size of the scroll bar.
getVisibleSize | returns the currently visible size of the scroll bar.
setOrientation | sets the ScrollBarOrientation of the scroll bar.
getOrientation | returns the currently set ScrollBarOrientation of the scroll bar.

Methods' Details
addAdjustmentListener
void
addAdjustmentListener( | [in] XAdjustmentListener | l );
Description registers an adjustment event listener.
removeAdjustmentListener
void
removeAdjustmentListener( | [in] XAdjustmentListener | l );
Description unregisters an adjustment event listener.
setValue
void
setValue( | [in] long | n );
Description sets the scroll value of the scroll bar.
setValues
void
setValues( | [in] long | nValue,
| [in] long | nVisible,
| [in] long | nMax );
Description sets the scroll value, visible area and maximum scroll value of the scroll bar.
getValue
long
getValue();
Description returns the current scroll value of the scroll bar.
setMaximum
void
setMaximum( | [in] long | n );
Description sets the maximum scroll value of the scroll bar.
getMaximum
long
getMaximum();
Description returns the currently set maximum scroll value of the scroll bar.
setLineIncrement
void
setLineIncrement( | [in] long | n );
Description sets the increment for a single line move.
getLineIncrement
long
getLineIncrement();
Description returns the currently set increment for a single line move.
setBlockIncrement
void
setBlockIncrement( | [in] long | n );
Description sets the increment for a block move.
getBlockIncrement
long
getBlockIncrement();
Description returns the currently set increment for a block move.
setVisibleSize
void
setVisibleSize( | [in] long | n );
Description sets the visible size of the scroll bar.
getVisibleSize
long
getVisibleSize();
Description returns the currently visible size of the scroll bar.
setOrientation
void
setOrientation( | [in] long | n );
Description sets the ScrollBarOrientation of the scroll bar.
getOrientation
long
getOrientation();
Description returns the currently set ScrollBarOrientation of the scroll bar.

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.