Top   Module   Use   Manual   Index 
 EXPORTING SERVICES | METHODS' SUMMARY | METHODS' DETAILS 

com :: sun :: star :: awt ::

interface XScrollBar

Base Interface
com::sun::star::uno::XInterface

Description
gives access to the value and settings of a scroll bar and makes it possible to register event listeners.


Known Services which Export this Interface

com::sun::star::awt::UnoControlScrollBar specifies a scrollbar control.

Methods' Summary

addAdjustmentListener registers an adjustment event listener.
removeAdjustmentListener unregisters an adjustment event listener.
setValue sets the value (position) of the scrollbar.
setValues sets the value (position), visible area and scale of the scollbar.
getValue
setMaximum sets the maximum value (scale) for the scrollbar.
getMaximum
setLineIncrement sets the increment for a single line move.
getLineIncrement
setBlockIncrement sets the increment for a block move.
getBlockIncrement
setVisibleSize sets the visible size for this scrollbar.
getVisibleSize
setOrientation sets the ScrollBarOrientation of this scrollbar.
getOrientation

Methods' Details

addAdjustmentListener
 
[ oneway ] void
addAdjustmentListener(
[ in ] com::sun::star::awt::XAdjustmentListener l );

Description
registers an adjustment event listener.
removeAdjustmentListener
 
[ oneway ] void
removeAdjustmentListener(
[ in ] com::sun::star::awt::XAdjustmentListener l );

Description
unregisters an adjustment event listener.
setValue
 
[ oneway ] void
setValue(
[ in ] long n );

Description
sets the value (position) of the scrollbar.
setValues
 
[ oneway ] void
setValues(
[ in ] long nValue,
[ in ] long nVisible,
[ in ] long nMax );

Description
sets the value (position), visible area and scale of the scollbar.
getValue
 
long
getValue();
Returns
the current value (position) of the scrollbar.
setMaximum
 
[ oneway ] void
setMaximum(
[ in ] long n );

Description
sets the maximum value (scale) for the scrollbar.
getMaximum
 
long
getMaximum();
Returns
the currently set value (scale) for the scrollbar.
setLineIncrement
 
[ oneway ] void
setLineIncrement(
[ in ] long n );

Description
sets the increment for a single line move.
getLineIncrement
 
long
getLineIncrement();
Returns
the currently set increment of a single line move.
setBlockIncrement
 
[ oneway ] void
setBlockIncrement(
[ in ] long n );

Description
sets the increment for a block move.
getBlockIncrement
 
long
getBlockIncrement();
Returns
the currently set increment of a block move.
setVisibleSize
 
[ oneway ] void
setVisibleSize(
[ in ] long n );

Description
sets the visible size for this scrollbar.
getVisibleSize
 
long
getVisibleSize();
Returns
the currently visible size for this scrollbar.
setOrientation
 
[ oneway ] void
setOrientation(
[ in ] long n );

Description
sets the ScrollBarOrientation of this scrollbar.
getOrientation
 
long
getOrientation();
Returns
the currently set ScrollBarOrientation of this scrollbar.

Top of Page