public class SendMouseEventCommandParams
extends OCastCommandParams
Represents the parameters of a mouseEvent command.
| Constructor and Description |
|---|
SendMouseEventCommandParams(int x,
int y,
java.util.EnumSet<org.ocast.sdk.core.models.SendMouseEventCommandParams.Button> buttons)
Creates an instance of
class SendMouseEventCommandParams. |
| Modifier and Type | Method and Description |
|---|---|
java.util.EnumSet<org.ocast.sdk.core.models.SendMouseEventCommandParams.Button> |
getButtons()
The combination of mouse buttons clicked.
|
int |
getX()
The horizontal coordinate at which the event occurred relative to the origin of the screen coordinate system.
|
int |
getY()
The vertical coordinate at which the event occurred relative to the origin of the screen coordinate system.
|
build, getName, optionspublic SendMouseEventCommandParams(int x,
int y,
@NotNull
java.util.EnumSet<org.ocast.sdk.core.models.SendMouseEventCommandParams.Button> buttons)
Creates an instance of class SendMouseEventCommandParams.
x - The horizontal coordinate at which the event occurred relative to the origin of the screen coordinate system.y - The vertical coordinate at which the event occurred relative to the origin of the screen coordinate system.buttons - The combination of mouse buttons clicked.class SendMouseEventCommandParamspublic int getX()
The horizontal coordinate at which the event occurred relative to the origin of the screen coordinate system.
public int getY()
The vertical coordinate at which the event occurred relative to the origin of the screen coordinate system.
@NotNull public java.util.EnumSet<org.ocast.sdk.core.models.SendMouseEventCommandParams.Button> getButtons()
The combination of mouse buttons clicked.