|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface VDUScrollBar
The VDUDisplay implementation will probably require access to
a scroll bar of some type. This interface provides it.
| Method Summary | |
|---|---|
void |
addScrollListener(ScrollListener listener)
Add to the list of listeners to be informed of any changes to the state of this scrollbar. |
int |
getMaximum()
Return the maximum value of the scrollbar |
int |
getUnitIncrement()
Return the amount that the scrollbar changes for each unit |
int |
getValue()
Return the current value of the scrollbar |
void |
removeScrollListener(ScrollListener listener)
Remove from the list of listeners to be informed when the state of the scrollbar changes in some way. |
void |
setValue(int value)
Set the value of the |
void |
setValues(int value,
int extent,
int min,
int max)
Set the four main values of the scrollbar |
| Methods inherited from interface com.sshtools.terminal.VirtualTerminalComponent |
|---|
getComponent, init |
| Method Detail |
|---|
void addScrollListener(ScrollListener listener)
listener - listener to addvoid removeScrollListener(ScrollListener listener)
listener - listener to removeint getValue()
int getMaximum()
void setValue(int value)
value - of scrollbar
void setValues(int value,
int extent,
int min,
int max)
value - extent - min - max - int getUnitIncrement()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||