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). |
void |
scroll(int positiveAmount,
javafx.geometry.HorizontalDirection direction)
Scrolls horizontally by
amount (in terms of ticks of a mouse wheel) in given direction. |
void |
scroll(int positiveAmount,
javafx.geometry.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 (in terms of ticks of a mouse wheel). If
amount is positive we scroll up, if it's negative we scroll down.amount - the number of scroll ticks to scrollvoid scroll(int positiveAmount,
javafx.geometry.VerticalDirection direction)
amount (in terms of ticks of a mouse wheel) in given direction.positiveAmount - the number of scroll ticks to scroll verticallydirection - the vertical direction in which to scroll (up or down)void scrollUp(int positiveAmount)
amount (in terms of ticks of a mouse wheel).positiveAmount - the number of scroll ticks to scroll upvoid scrollDown(int positiveAmount)
amount (in terms of ticks of a wheel).positiveAmount - the number of scroll ticks to scroll downvoid scroll(int positiveAmount,
javafx.geometry.HorizontalDirection direction)
amount (in terms of ticks of a mouse wheel) in given direction.positiveAmount - the number of scroll ticks to scroll horizontallydirection - the horizontal direction in which to scroll (left or right)void scrollLeft(int positiveAmount)
amount (in terms of ticks of a wheel).positiveAmount - the number of scroll ticks to scroll leftvoid scrollRight(int positiveAmount)
amount (in terms of ticks of a wheel).positiveAmount - the number of scroll ticks to scroll right