|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ColumnScrollBar
A scrollbar used by the ToolbarGroupDockStation
to slide around entire columns of buttons.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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 scrollbar
null
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |