public class Buttons extends Object
Robot which it was created from
Provides the ability to wait for a button on the robot to be pressed.
Pressed buttons DO affect the Robots menus, so choose button combinations wisely (e.g. only use up/down/left/right).Robot.getButtons()| Modifier and Type | Class and Description |
|---|---|
static class |
Buttons.Button |
| Modifier and Type | Method and Description |
|---|---|
void |
waitForAnyButton() |
void |
waitForButton(Buttons.Button button) |
public void waitForButton(Buttons.Button button)
public void waitForAnyButton()