public interface UserInteraction
Modifier and Type | Method and Description |
---|---|
InputValidationFactory |
getInputValidationFactory()
This method provides a factory for creating standard input validators that can be used for configuring the virtual
keyboard.
|
KeyboardInputFactory |
getKeyboardInputFactory()
This method provides a factory for creating keyboard inputs which are used to configure a virtual keyboard/keypad
and to request it to be displayed for a Swing GUI component.
|
void |
getUserDefinedRobotPosition(RobotPositionCallback callback)
Request the user to use the robot to define a robot position.
|
void getUserDefinedRobotPosition(RobotPositionCallback callback)
RobotPositionCallback.onOk(Pose, JointPositions)
method to execute code once the user is done. Optionally override the RobotPositionCallback.onCancel()
method to execute code if the user cancels the operation.
This method is asynchronous, i.e. the method will return immediately. Only when the user is done, either
RobotPositionCallback.onOk(Pose, JointPositions)
or RobotPositionCallback.onCancel()
will be called.
NOTE: This functionality should not be used in a toolbar contribution (see SwingToolbarService
)
callback
- the instance callbacks will be made to.KeyboardInputFactory getKeyboardInputFactory()
NOTE: This functionality is only relevant for URCap nodes with a Swing-based user interface
(see SwingProgramNodeService
,
SwingInstallationNodeService
and
SwingToolbarService
).
InputValidationFactory getInputValidationFactory()
NOTE: This functionality is only relevant for URCap nodes with a Swing-based user interface
(see SwingProgramNodeService
,
SwingInstallationNodeService
and
SwingToolbarService
).
Copyright © 2018. All rights reserved.