ScrollBar.setLargeChange

Overview | Methods | This Package | All Packages

ScrollBar.setLargeChange

Sets the increment between each large change of the scroll thumb.

Syntax

public void setLargeChange( int value )

Parameters

value

The new large change increment. The default value is 10.

Remarks

The large change value specifies the scroll increment when the user clicks on either side of the scroll thumb. This value is used to determine the size of the scroll thumb, relative to the range of the scroll bar.

Note   When the user moves the thumb to its bottom-most or right-most position, the value of the scroll bar control is set to the maximium value minus the large change value plus one.

When you call setLargeChange at run time, the scroll bar control is automatically redrawn to reflect the new large change value.

See Also    getLargeChange, setSmallChange