Package | Description |
---|---|
org.testfx.api | |
org.testfx.robot | |
org.testfx.robot.impl | |
org.testfx.service.locator | |
org.testfx.service.locator.impl | |
org.testfx.service.query | |
org.testfx.service.query.impl |
Modifier and Type | Method and Description |
---|---|
PointQuery |
FxRobot.offset(Bounds bounds,
double offsetX,
double offsetY) |
PointQuery |
FxRobotInterface.offset(Bounds bounds,
double offsetX,
double offsetY)
Convenience method: Calls
FxRobotInterface.point(Bounds) and sets the query's offset by the given offset values. |
<T extends Node> |
FxRobot.offset(org.hamcrest.Matcher<T> matcher,
double offsetX,
double offsetY) |
<T extends Node> |
FxRobotInterface.offset(org.hamcrest.Matcher<T> matcher,
double offsetX,
double offsetY)
Convenience method: Calls
FxRobotInterface.point(Matcher) and sets the query's offset by the given offset values. |
PointQuery |
FxRobot.offset(Node node,
double offsetX,
double offsetY) |
PointQuery |
FxRobotInterface.offset(Node node,
double offsetX,
double offsetY)
Convenience method: Calls
FxRobotInterface.point(Node) and sets the query's offset by the given offset values. |
PointQuery |
FxRobot.offset(Point2D point,
double offsetX,
double offsetY) |
PointQuery |
FxRobotInterface.offset(Point2D point,
double offsetX,
double offsetY)
Convenience method: Calls
FxRobotInterface.point(Point2D) and sets the query's offset by the given offset values. |
<T extends Node> |
FxRobot.offset(Predicate<T> predicate,
double offsetX,
double offsetY) |
<T extends Node> |
FxRobotInterface.offset(Predicate<T> predicate,
double offsetX,
double offsetY)
Convenience method: Calls
FxRobotInterface.point(Predicate) and sets the query's offset by the given offset values. |
PointQuery |
FxRobot.offset(Scene scene,
double offsetX,
double offsetY) |
PointQuery |
FxRobotInterface.offset(Scene scene,
double offsetX,
double offsetY)
Convenience method: Calls
FxRobotInterface.point(Scene) and sets the query's offset by the given offset values. |
PointQuery |
FxRobot.offset(String query,
double offsetX,
double offsetY) |
PointQuery |
FxRobotInterface.offset(String query,
double offsetX,
double offsetY)
Convenience method: Calls
FxRobotInterface.point(String) and sets the query's offset by the given offset values. |
PointQuery |
FxRobot.offset(Window window,
double offsetX,
double offsetY) |
PointQuery |
FxRobotInterface.offset(Window window,
double offsetX,
double offsetY)
Convenience method: Calls
FxRobotInterface.point(Window) and sets the query's offset by the given offset values. |
PointQuery |
FxRobot.point(Bounds bounds) |
PointQuery |
FxRobotInterface.point(Bounds bounds)
Calls
PointLocator.point(Bounds) and sets the PointQuery 's
getPosition() to FxRobotContext.getPointPosition() . |
PointQuery |
FxRobot.point(double x,
double y) |
PointQuery |
FxRobotInterface.point(double x,
double y)
Calls
PointLocator.point(Point2D) using new Point2D(x, y) and sets
the PointQuery 's getPosition() to FxRobotContext.getPointPosition() . |
<T extends Node> |
FxRobot.point(org.hamcrest.Matcher<T> matcher) |
<T extends Node> |
FxRobotInterface.point(org.hamcrest.Matcher<T> matcher)
Convenience method: Tries to find a given node via
FxRobotInterface.lookup(Matcher) before calling FxRobotInterface.point(Node) ,
throwing a FxRobotException if no node is found. |
PointQuery |
FxRobot.point(Node node) |
PointQuery |
FxRobotInterface.point(Node node)
Calls
PointLocator.point(Node) and sets the PointQuery 's
getPosition() to FxRobotContext.getPointPosition() . |
PointQuery |
FxRobot.point(Point2D point) |
PointQuery |
FxRobotInterface.point(Point2D point)
Calls
PointLocator.point(Point2D) and sets the PointQuery 's
getPosition() to FxRobotContext.getPointPosition() . |
<T extends Node> |
FxRobot.point(Predicate<T> predicate) |
<T extends Node> |
FxRobotInterface.point(Predicate<T> predicate)
Convenience method: Tries to find a given node via
FxRobotInterface.lookup(Predicate) before calling
FxRobotInterface.point(Node) , throwing a FxRobotException if no node is found. |
PointQuery |
FxRobot.point(Scene scene) |
PointQuery |
FxRobotInterface.point(Scene scene)
Calls
PointLocator.point(Scene) and sets the PointQuery 's
getPosition() to FxRobotContext.getPointPosition() . |
PointQuery |
FxRobot.point(String query) |
PointQuery |
FxRobotInterface.point(String query)
Convenience method: Tries to find a given node via
FxRobotInterface.lookup(String) before calling FxRobotInterface.point(Node) ,
throwing a FxRobotException if no node is found. |
PointQuery |
FxRobot.point(Window window) |
PointQuery |
FxRobotInterface.point(Window window)
Calls
PointLocator.point(Window) and sets the PointQuery 's
getPosition() to FxRobotContext.getPointPosition() . |
Modifier and Type | Method and Description |
---|---|
FxRobot |
FxRobot.clickOn(PointQuery pointQuery,
Motion motion,
MouseButton... buttons) |
FxRobotInterface |
FxRobotInterface.clickOn(PointQuery pointQuery,
Motion motion,
MouseButton... buttons)
Calls
ClickRobot.clickOn(PointQuery, MouseButton...) and returns itself for more method
chaining. |
default FxRobotInterface |
FxRobotInterface.clickOn(PointQuery pointQuery,
MouseButton... buttons)
Calls
ClickRobot.clickOn(PointQuery, Motion, MouseButton...) and returns itself for
more method chaining. |
FxRobot |
FxRobot.doubleClickOn(PointQuery pointQuery,
Motion motion,
MouseButton... buttons) |
FxRobotInterface |
FxRobotInterface.doubleClickOn(PointQuery pointQuery,
Motion motion,
MouseButton... buttons)
Calls
ClickRobot.doubleClickOn(PointQuery, Motion, MouseButton...) and returns itself
for method chaining. |
default FxRobotInterface |
FxRobotInterface.doubleClickOn(PointQuery pointQuery,
MouseButton... buttons)
Calls
ClickRobot.doubleClickOn(PointQuery, Motion, MouseButton...) and returns itself
for method chaining. |
FxRobot |
FxRobot.drag(PointQuery pointQuery,
MouseButton... buttons) |
FxRobotInterface |
FxRobotInterface.drag(PointQuery pointQuery,
MouseButton... buttons)
Calls
DragRobot.drag(PointQuery, MouseButton...) and returns itself for more method
chaining. |
FxRobot |
FxRobot.dropTo(PointQuery pointQuery) |
FxRobotInterface |
FxRobotInterface.dropTo(PointQuery pointQuery)
Calls
DragRobot.dropTo(PointQuery) and returns itself for more method chaining. |
default FxRobotInterface |
FxRobotInterface.moveTo(PointQuery pointQuery)
Calls
MoveRobot.moveTo(PointQuery) and returns itself for more method chaining. |
FxRobot |
FxRobot.moveTo(PointQuery pointQuery,
Motion motion) |
FxRobotInterface |
FxRobotInterface.moveTo(PointQuery pointQuery,
Motion motion)
Calls
MoveRobot.moveTo(PointQuery, Motion) and returns itself for more method chaining. |
default FxRobotInterface |
FxRobotInterface.rightClickOn(PointQuery pointQuery)
Convenience method: Moves mouse directly to the point returned from
query() , clicks
the MouseButton.SECONDARY button and returns itself for method chaining. |
FxRobot |
FxRobot.rightClickOn(PointQuery pointQuery,
Motion motion) |
FxRobotInterface |
FxRobotInterface.rightClickOn(PointQuery pointQuery,
Motion motion)
Convenience method: Moves mouse using the given
motion (see: Motion to the point returned from
query() , clicks the MouseButton.SECONDARY button and returns itself for method
chaining. |
Modifier and Type | Method and Description |
---|---|
void |
ClickRobot.clickOn(PointQuery pointQuery,
Motion motion,
MouseButton... buttons)
|
default void |
ClickRobot.clickOn(PointQuery pointQuery,
MouseButton... buttons)
Moves mouse directly to
query() and clicks whatever is under it. |
void |
ClickRobot.doubleClickOn(PointQuery pointQuery,
Motion motion,
MouseButton... buttons)
|
default void |
ClickRobot.doubleClickOn(PointQuery pointQuery,
MouseButton... buttons)
Moves mouse directly to
query() and double-clicks whatever
is under it. |
void |
DragRobot.drag(PointQuery pointQuery,
MouseButton... buttons)
Moves the mouse to
query() before presses the given mouse button(s) on whatever is under
the mouse's new location. |
void |
DragRobot.dropTo(PointQuery pointQuery)
Moves the mouse to
query() before releasing the mouse. |
default void |
MoveRobot.moveTo(PointQuery pointQuery)
Moves mouse directly to
query() . |
void |
MoveRobot.moveTo(PointQuery pointQuery,
Motion motion)
|
Modifier and Type | Method and Description |
---|---|
void |
ClickRobotImpl.clickOn(PointQuery pointQuery,
Motion motion,
MouseButton... buttons) |
void |
ClickRobotImpl.doubleClickOn(PointQuery pointQuery,
Motion motion,
MouseButton... buttons) |
void |
DragRobotImpl.drag(PointQuery pointQuery,
MouseButton... buttons) |
void |
DragRobotImpl.dropTo(PointQuery pointQuery) |
void |
MoveRobotImpl.moveTo(PointQuery pointQuery,
Motion motion) |
Modifier and Type | Method and Description |
---|---|
PointQuery |
PointLocator.point(Bounds bounds) |
PointQuery |
PointLocator.point(Node node) |
PointQuery |
PointLocator.point(Point2D point) |
PointQuery |
PointLocator.point(Scene scene) |
PointQuery |
PointLocator.point(Window window) |
Modifier and Type | Method and Description |
---|---|
PointQuery |
PointLocatorImpl.point(Bounds bounds) |
PointQuery |
PointLocatorImpl.point(Node node) |
PointQuery |
PointLocatorImpl.point(Point2D point) |
PointQuery |
PointLocatorImpl.point(Scene scene) |
PointQuery |
PointLocatorImpl.point(Window window) |
Modifier and Type | Method and Description |
---|---|
PointQuery |
PointQuery.atOffset(double offsetX,
double offsetY)
Updates
getOffset() by the combination of the current offset 's x value and
offsetX and its y value and offsetY . |
PointQuery |
PointQuery.atOffset(Point2D offset)
Updates
getOffset() to be
new Point2D(this.offset.getX() + offset.getX(), this.offset.getY() + offset.getY()) . |
PointQuery |
PointQuery.atPosition(double positionX,
double positionY)
Updates
getPosition() to the new position |
PointQuery |
PointQuery.atPosition(Point2D position)
Updates
getPosition() to the new position |
PointQuery |
PointQuery.atPosition(Pos position)
Updates
getPosition() to a new one based on the given position . |
PointQuery |
PointQuery.onNode(Node node) |
Modifier and Type | Class and Description |
---|---|
class |
BoundsPointQuery |
class |
CallableBoundsPointQuery |
class |
PointQueryBase |
Modifier and Type | Method and Description |
---|---|
PointQuery |
PointQueryBase.atOffset(double offsetX,
double offsetY) |
PointQuery |
PointQueryBase.atOffset(Point2D offset) |
PointQuery |
PointQueryBase.atPosition(double positionX,
double positionY) |
PointQuery |
PointQueryBase.atPosition(Point2D position) |
PointQuery |
PointQueryBase.atPosition(Pos position) |
PointQuery |
PointQueryBase.onNode(Node node) |