public interface ColumnScrollBar
ToolbarGroupDockStation
to slide around entire columns of buttons.Modifier and Type | Method and Description |
---|---|
void |
addAdjustmentListener(AdjustmentListener listener)
Adds a listener to this scrollbar, the listener is to be called whenever the
value
changes. |
Component |
getComponent()
Gets a
Component which is the graphical representation of this scrollbar |
int |
getValue()
Gets the offset of the scrollbar.
|
void |
removeAdjustmentListener(AdjustmentListener listener)
Removes
listener from this scrollbar. |
void |
setOrientation(Orientation orientation)
Sets the orientation of the scrollbar
|
void |
setValues(int required,
int available)
Tells this scrollbar how much space is required, and how much space is available.
|
void setValues(int required, int available)
required
- the required pixels to show a columnavailable
- the pixels actually availableint getValue()
0
and
available - required
.Component getComponent()
Component
which is the graphical representation of this scrollbarnull
void setOrientation(Orientation orientation)
orientation
- the orientation, not null
void addAdjustmentListener(AdjustmentListener listener)
value
changes.listener
- the new listener, not null
void removeAdjustmentListener(AdjustmentListener listener)
listener
from this scrollbar.listener
- the listener to remove