Scrollbar.setVisibleAmount

Scrollbar.setVisibleAmount

Class Overview | Class Members | This Package | All Packages

Syntax
public synchronized void setVisibleAmount( int newAmount )
Parameters
newAmount
the amount visible per page.
Description
Sets the visible amount of this scroll bar.

The visible amount of a scroll bar is the range of values represented by the width of the scroll bar's bubble. It is used to determine the scroll bar's block increment.

Normally, a program should change a scroll bar's value only by calling setValues. The setValues method simultaneously and synchronously sets the minimum, maximum, visible amount, and value properties of a scroll bar, so that they are mutually consistent.

See Also
getVisibleAmount, setValues