Top Description Fields Methods
java.awt.peer

public Interface ScrollbarPeer

extends ComponentPeer
Known Direct Implementers
sun.awt.X11.XScrollbarPeer
Imports
java.awt.Scrollbar

The peer interface for Scrollbar. The peer interfaces are intended only for use in porting the AWT. They are not intended for use by application developers, and developers should not implement peers nor invoke any of the peer methods directly on the peer instances.

Field Summary

Inherited from java.awt.peer.ComponentPeer:
DEFAULT_OPERATIONNO_EMBEDDED_CHECKRESET_OPERATIONSET_BOUNDSSET_CLIENT_SIZESET_LOCATIONSET_SIZE

Method Summary

Modifier and TypeMethod and Description
public void
setLineIncrement(int
the line increment
l
)

Sets the line increment of the scrollbar.

public void
setPageIncrement(int
the page increment
l
)

Sets the page increment of the scrollbar.

public void
setValues(int
the current value
value
,
int
how much of the whole scale is visible
visible
,
int
the minimum value
minimum
,
int
the maximum value
maximum
)

Sets the parameters for the scrollbar.

Inherited from java.awt.peer.ComponentPeer:
applyShapecanDetermineObscuritycoalescePaintEventcreateBufferscreateImagecreateVolatileImagedestroyBuffersdisposeflipgetBackBuffergetColorModelgetFontMetricsgetGraphicsgetGraphicsConfigurationgetLocationOnScreengetMinimumSizegetPreferredSizehandleEventhandlesWheelScrollingisFocusableisObscuredisReparentSupportedlayoutpaintprintreparentrequestFocussetBackgroundsetBoundssetEnabledsetFontsetForegroundsetVisiblesetZOrderupdateCursorImmediatelyupdateGraphicsData

Method Detail

setLineIncrementback to summary
public void setLineIncrement(int l)

Sets the line increment of the scrollbar.

Parameters
l:int

the line increment

See Also
Scrollbar#setLineIncrement(int)
setPageIncrementback to summary
public void setPageIncrement(int l)

Sets the page increment of the scrollbar.

Parameters
l:int

the page increment

See Also
Scrollbar#setPageIncrement(int)
setValuesback to summary
public void setValues(int value, int visible, int minimum, int maximum)

Sets the parameters for the scrollbar.

Parameters
value:int

the current value

visible:int

how much of the whole scale is visible

minimum:int

the minimum value

maximum:int

the maximum value

See Also
Scrollbar#setValues(int, int, int, int)