Overview | Module | Use | Devguide | Index

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

:: com :: sun :: star :: awt ::
interface XScrollBar
  Base Hierarchy
      ::com::sun::star::uno::XInterface
       |
       +-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 scoll 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
[oneway] void addAdjustmentListener( | [in] XAdjustmentListener | l );
Description registers an adjustment event listener.
removeAdjustmentListener
[oneway] void removeAdjustmentListener( | [in] XAdjustmentListener | l );
Description unregisters an adjustment event listener.
setValue
[oneway] void setValue( | [in] long | n );
Description sets the scroll value of the scroll bar.
setValues
[oneway] void setValues( | [in] long [in] long [in] long | nValue, nVisible, nMax );
Description sets the scroll value, visible area and maximum scroll value of the scoll bar.
getValue
long getValue(); |  |
Description returns the current scroll value of the scroll bar.
setMaximum
[oneway] 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
[oneway] 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
[oneway] 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
[oneway] 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
[oneway] 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 © 2003 Sun Microsystems, Inc.