java.lang.Object
is.codion.plugin.swing.robot.Controller
Keyboard controller with high-level operations, based on
Robot
-
Method Summary
Modifier and TypeMethodDescriptionvoid
autoDelay
(int autoDelay) static Controller
static Controller
controller
(GraphicsDevice device) void
Processes the given keystroke.void
Processes the given keystroke.void
Processes the given keystroke.void
Processes the given keystroke.void
pause
(int milliseconds) void
Types the given text.void
Types 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
Controller
for the default screen device
-
controller
- Parameters:
device
- the screen device- Returns:
- a
Controller
for the given screen device
-