java.lang.Object
is.codion.plugin.swing.robot.Controller
Keyboard controller with high-level operations, based on
Robot-
Method Summary
Modifier and TypeMethodDescriptionvoidautoDelay(int autoDelay) static Controllerstatic Controllercontroller(GraphicsDevice device) voidProcesses the given keystroke.voidProcesses the given keystroke.voidProcesses the given keystroke.voidProcesses the given keystroke.voidpause(int milliseconds) voidTypes the given text.voidTypes the given text.
-
Method Details
-
autoDelay
public void autoDelay(int autoDelay) - Parameters:
autoDelay- the robot auto delay in ms- See Also:
-
type
Types the given text.- Parameters:
text- the text to type
-
type
Types the given text.- Parameters:
text- the text to typedescription- the description
-
key
Processes the given keystroke.- Parameters:
keyStroke- the AWT formatted keystroke- See Also:
-
key
Processes the given keystroke.- Parameters:
keyStroke- the AWT formatted keystrokerepeat- the number of times to repeat the keystroke- See Also:
-
key
Processes the given keystroke.- Parameters:
keyStroke- the AWT formatted keystrokedescription- the description- See Also:
-
key
Processes the given keystroke.- Parameters:
keyStroke- the AWT formatted keystrokerepeat- the number of times to repeat the keystrokedescription- the description- See Also:
-
pause
public void pause(int milliseconds) -
controller
- Returns:
- a
Controllerfor the default screen device
-
controller
- Parameters:
device- the screen device- Returns:
- a
Controllerfor the given screen device
-