public interface ScrollbarPeer extends ComponentPeer
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.DEFAULT_OPERATION, NO_EMBEDDED_CHECK, RESET_OPERATION, SET_BOUNDS, SET_CLIENT_SIZE, SET_LOCATION, SET_SIZE
Modifier and Type | Method and Description |
---|---|
void |
setLineIncrement(int l)
Sets the line increment of the scrollbar.
|
void |
setPageIncrement(int l)
Sets the page increment of the scrollbar.
|
void |
setValues(int value,
int visible,
int minimum,
int maximum)
Sets the parameters for the scrollbar.
|
applyShape, canDetermineObscurity, checkImage, coalescePaintEvent, createBuffers, createImage, createImage, createVolatileImage, destroyBuffers, dispose, flip, getBackBuffer, getColorModel, getFontMetrics, getGraphics, getGraphicsConfiguration, getLocationOnScreen, getMinimumSize, getPreferredSize, handleEvent, handlesWheelScrolling, isFocusable, isObscured, isReparentSupported, layout, paint, prepareImage, print, reparent, requestFocus, setBackground, setBounds, setEnabled, setFont, setForeground, setVisible, setZOrder, updateCursorImmediately, updateGraphicsData
void setValues(int value, int visible, int minimum, int maximum)
value
- the current valuevisible
- how much of the whole scale is visibleminimum
- the minimum valuemaximum
- the maximum valueScrollbar.setValues(int, int, int, int)
void setLineIncrement(int l)
l
- the line incrementScrollbar.setLineIncrement(int)
void setPageIncrement(int l)
l
- the page incrementScrollbar.setPageIncrement(int)
Dracula Javadoc Sample, Made with Allan Im.