|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecteu.webtoolkit.jwt.WObject
eu.webtoolkit.jwt.WScrollBar
public class WScrollBar
A scrollbar attached to a scroll area.
A WScrollArea always has two scrollbars (even if they are not
visible, for example when the policy is
WScrollArea.ScrollBarPolicy.ScrollBarAlwaysOff). Using the
tie() functions, it is
possible to tie to scrollbars together, so that they will scroll together.
WScrollArea| Method Summary | |
|---|---|
Orientation |
getOrientation()
Returns the orientation of this scrollbar. |
void |
setValue(int value)
Sets the scrollbar value (in pixels). |
static void |
tie(WScrollBar one,
WScrollBar two)
Ties two scrollbars together. |
static void |
unTie(WScrollBar one,
WScrollBar two)
Unties two scrollbars, that were previously tied together. |
| Methods inherited from class eu.webtoolkit.jwt.WObject |
|---|
addChild, getId, getObjectName, remove, setObjectName, tr |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public Orientation getOrientation()
public static void tie(WScrollBar one,
WScrollBar two)
The effect of this call is that these scrollbars will keep their positions synchronised.
public static void unTie(WScrollBar one,
WScrollBar two)
Undo a tie();
public void setValue(int value)
This will move the scrollbar to the given value.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||