public class MouseMotion extends Object
| Modifier and Type | Method and Description |
|---|---|
MouseMotion |
by(double x,
double y) |
GuiTest |
drop()
Releases the mouse button and thereby ends the ongoing drag-n-drop operation.
|
MouseMotion |
sleep(long ms)
Waits still, while keeping the mouse pressed.
|
GuiTest |
to(double x,
double y)
Specifies that the ongoing drag-n-drop operation should end at the given coordinates.
|
GuiTest |
to(org.loadui.testfx.GuiTest.OffsetTarget node) |
GuiTest |
to(org.hamcrest.Matcher<javafx.scene.Node> matcher) |
GuiTest |
to(javafx.scene.Node node) |
GuiTest |
to(javafx.geometry.Point2D point) |
GuiTest |
to(String query)
Ends the ongoing drag-n-drop operation at the given target.
|
MouseMotion |
via(double x,
double y) |
MouseMotion |
via(org.hamcrest.Matcher<javafx.scene.Node> matcher) |
MouseMotion |
via(javafx.scene.Node node) |
MouseMotion |
via(String query) |
public GuiTest to(double x, double y)
x - y - public GuiTest to(String query)
query - public GuiTest to(javafx.scene.Node node)
public GuiTest to(org.hamcrest.Matcher<javafx.scene.Node> matcher)
public GuiTest to(javafx.geometry.Point2D point)
public GuiTest to(org.loadui.testfx.GuiTest.OffsetTarget node)
public MouseMotion via(double x, double y)
public MouseMotion via(String query)
public MouseMotion via(javafx.scene.Node node)
public MouseMotion via(org.hamcrest.Matcher<javafx.scene.Node> matcher)
public MouseMotion by(double x, double y)
public MouseMotion sleep(long ms)
ms - time in millisecondspublic GuiTest drop()
Copyright © 2014. All rights reserved.