LibreOffice
LibreOffice 6.2 SDK API Reference
Public Member Functions | List of all members
XScrollBar Interface Referencepublished

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

import"XScrollBar.idl";

Inheritance diagram for XScrollBar:
XInterface UnoControlScrollBar

Public Member Functions

void addAdjustmentListener ([in] com::sun::star::awt::XAdjustmentListener l)
 registers an adjustment event listener. More...
 
void removeAdjustmentListener ([in] com::sun::star::awt::XAdjustmentListener l)
 unregisters an adjustment event listener. More...
 
void setValue ([in] long n)
 sets the scroll value of the scroll bar. More...
 
void setValues ([in] long nValue, [in] long nVisible, [in] long nMax)
 sets the scroll value, visible area and maximum scroll value of the scroll bar. More...
 
long getValue ()
 returns the current scroll value of the scroll bar. More...
 
void setMaximum ([in] long n)
 sets the maximum scroll value of the scroll bar. More...
 
long getMaximum ()
 returns the currently set maximum scroll value of the scroll bar. More...
 
void setLineIncrement ([in] long n)
 sets the increment for a single line move. More...
 
long getLineIncrement ()
 returns the currently set increment for a single line move. More...
 
void setBlockIncrement ([in] long n)
 sets the increment for a block move. More...
 
long getBlockIncrement ()
 returns the currently set increment for a block move. More...
 
void setVisibleSize ([in] long n)
 sets the visible size of the scroll bar. More...
 
long getVisibleSize ()
 returns the currently visible size of the scroll bar. More...
 
void setOrientation ([in] long n)
 sets the ScrollBarOrientation of the scroll bar. More...
 
long getOrientation ()
 returns the currently set ScrollBarOrientation of the scroll bar. More...
 
- Public Member Functions inherited from XInterface
any queryInterface ([in] type aType)
 queries for a new interface to an existing UNO object. More...
 
void acquire ()
 increases the reference counter by one. More...
 
void release ()
 decreases the reference counter by one. More...
 

Detailed Description

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

Member Function Documentation

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

registers an adjustment event listener.

long getBlockIncrement ( )

returns the currently set increment for a block move.

long getLineIncrement ( )

returns the currently set increment for a single line move.

long getMaximum ( )

returns the currently set maximum scroll value of the scroll bar.

long getOrientation ( )

returns the currently set ScrollBarOrientation of the scroll bar.

long getValue ( )

returns the current scroll value of the scroll bar.

long getVisibleSize ( )

returns the currently visible size of the scroll bar.

void removeAdjustmentListener ( [in] com::sun::star::awt::XAdjustmentListener  l)

unregisters an adjustment event listener.

void setBlockIncrement ( [in] long  n)

sets the increment for a block move.

void setLineIncrement ( [in] long  n)

sets the increment for a single line move.

void setMaximum ( [in] long  n)

sets the maximum scroll value of the scroll bar.

void setOrientation ( [in] long  n)

sets the ScrollBarOrientation of the scroll bar.

void setValue ( [in] long  n)

sets the scroll value of the scroll bar.

void setValues ( [in] long  nValue,
[in] long  nVisible,
[in] long  nMax 
)

sets the scroll value, visible area and maximum scroll value of the scroll bar.

void setVisibleSize ( [in] long  n)

sets the visible size of the scroll bar.


The documentation for this interface was generated from the following file: