public interface ScrollRobot
Modifier and Type | Method and Description |
---|---|
void |
scroll(int amount)
Scrolls vertically by amount (in terms of ticks of a mouse wheel): if
amount >= 0 , up; otherwise, down. |
void |
scroll(int positiveAmount,
HorizontalDirection direction)
Scrolls horizontally by amount (in terms of ticks of a mouse wheel) in given direction.
|
void |
scroll(int positiveAmount,
VerticalDirection direction)
Scrolls vertically by amount (in terms of ticks of a mouse wheel) in given direction.
|
void |
scrollDown(int positiveAmount)
Scrolls down by amount (in terms of ticks of a wheel).
|
void |
scrollLeft(int positiveAmount)
Scrolls left by amount (in terms of ticks of a wheel).
|
void |
scrollRight(int positiveAmount)
Scrolls right by amount (in terms of ticks of a wheel).
|
void |
scrollUp(int positiveAmount)
Scrolls up by amount (in terms of ticks of a mouse wheel).
|
void scroll(int amount)
amount >= 0
, up; otherwise, down.amount
- of a mouse wheel's scroll ticksvoid scroll(int positiveAmount, VerticalDirection direction)
positiveAmount
- the number of scroll ticksdirection
- whether to scroll up or downvoid scrollUp(int positiveAmount)
positiveAmount
- the number of scroll ticksvoid scrollDown(int positiveAmount)
positiveAmount
- the number of scroll ticksvoid scroll(int positiveAmount, HorizontalDirection direction)
positiveAmount
- the number of scroll ticksdirection
- whether to scroll left or rightvoid scrollLeft(int positiveAmount)
positiveAmount
- the number of scroll ticksvoid scrollRight(int positiveAmount)
positiveAmount
- the number of scroll ticks