@Unstable public class ScrollRobotImpl extends Object implements ScrollRobot
Modifier and Type | Field and Description |
---|---|
MouseRobot |
mouseRobot |
Constructor and Description |
---|
ScrollRobotImpl(MouseRobot mouseRobot) |
Modifier and Type | Method and Description |
---|---|
void |
scroll(int amount) |
void |
scroll(int positiveAmount,
VerticalDirection direction) |
void |
scrollDown(int positiveAmount) |
void |
scrollUp(int positiveAmount) |
public MouseRobot mouseRobot
public ScrollRobotImpl(MouseRobot mouseRobot)
public void scroll(int amount)
scroll
in interface ScrollRobot
public void scroll(int positiveAmount, VerticalDirection direction)
scroll
in interface ScrollRobot
public void scrollUp(int positiveAmount)
scrollUp
in interface ScrollRobot
public void scrollDown(int positiveAmount)
scrollDown
in interface ScrollRobot