@ProviderType
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.
|
RobotMovement |
getRobotMovement() |
void |
getUserDefinedRobotPosition(RobotPositionCallback callback)
Deprecated.
Use
getUserDefinedRobotPosition(RobotPositionCallback2) instead. |
void |
getUserDefinedRobotPosition(RobotPositionCallback2 callback)
Request the end user to use the robot to define a robot position.
|
void getUserDefinedRobotPosition(RobotPositionCallback2 callback)
Request the end user to use the robot to define a robot position. Override the
RobotPositionCallback2.onOk(PositionParameters)
method to execute code once the end user is done.
Optionally override the RobotPositionCallback2.onCancel()
method to execute code if the end user cancels
the operation.
This method is asynchronous, i.e. the method will return immediately. Only when the end user is done, either
RobotPositionCallback2.onOk(PositionParameters)
or RobotPositionCallback2.onCancel()
will be called.
SwingToolbarService
).callback
- the instance callbacks will be made to.@Deprecated void getUserDefinedRobotPosition(RobotPositionCallback callback)
getUserDefinedRobotPosition(RobotPositionCallback2)
instead.
Request the end user to use the robot to define a robot position. Override the
RobotPositionCallback.onOk(Pose, JointPositions)
method to execute code once the end user is done.
Optionally override the RobotPositionCallback.onCancel()
method to execute code if the end user cancels
the operation.
This method is asynchronous, i.e. the method will return immediately. Only when the end user is done, either
RobotPositionCallback.onOk(Pose, JointPositions)
or RobotPositionCallback.onCancel()
will be called.
SwingToolbarService
).callback
- the instance callbacks will be made to.RobotMovement getRobotMovement()
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.
NOTE: This functionality is only relevant for URCap nodes with a Swing-based user interface (seeSwingProgramNodeService
,
SwingInstallationNodeService
and
SwingToolbarService
).InputValidationFactory getInputValidationFactory()
This method provides a factory for creating standard input validators that can be used for configuring the virtual keyboard. The validators are used to validate the input entered by the user.
NOTE: This functionality is only relevant for URCap nodes with a Swing-based user interface (seeSwingProgramNodeService
,
SwingInstallationNodeService
and
SwingToolbarService
).Copyright © 2023. All rights reserved.