Package org.testfx.api
Class FxRobotContext
- java.lang.Object
-
- org.testfx.api.FxRobotContext
-
public class FxRobotContext extends java.lang.Object
Stores the robot implementations, the window and node finders, position calculators, and capture support forFxRobot
.
-
-
Field Summary
Fields Modifier and Type Field Description private BaseRobot
baseRobot
private BoundsLocator
boundsLocator
private CaptureSupport
captureSupport
private ClickRobot
clickRobot
private DragRobot
dragRobot
private KeyboardRobot
keyboardRobot
private MouseRobot
mouseRobot
private MoveRobot
moveRobot
private NodeFinder
nodeFinder
private PointLocator
pointLocator
private javafx.geometry.Pos
pointPosition
private ScrollRobot
scrollRobot
private SleepRobot
sleepRobot
private TypeRobot
typeRobot
private WindowFinder
windowFinder
private WriteRobot
writeRobot
-
Constructor Summary
Constructors Constructor Description FxRobotContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BaseRobot
getBaseRobot()
BoundsLocator
getBoundsLocator()
CaptureSupport
getCaptureSupport()
ClickRobot
getClickRobot()
DragRobot
getDragRobot()
KeyboardRobot
getKeyboardRobot()
MouseRobot
getMouseRobot()
MoveRobot
getMoveRobot()
NodeFinder
getNodeFinder()
PointLocator
getPointLocator()
javafx.geometry.Pos
getPointPosition()
ScrollRobot
getScrollRobot()
SleepRobot
getSleepRobot()
TypeRobot
getTypeRobot()
WindowFinder
getWindowFinder()
WriteRobot
getWriteRobot()
void
setPointPosition(javafx.geometry.Pos pointPosition)
-
-
-
Field Detail
-
windowFinder
private final WindowFinder windowFinder
-
nodeFinder
private final NodeFinder nodeFinder
-
boundsLocator
private final BoundsLocator boundsLocator
-
pointLocator
private final PointLocator pointLocator
-
baseRobot
private final BaseRobot baseRobot
-
mouseRobot
private final MouseRobot mouseRobot
-
keyboardRobot
private final KeyboardRobot keyboardRobot
-
moveRobot
private final MoveRobot moveRobot
-
sleepRobot
private final SleepRobot sleepRobot
-
clickRobot
private final ClickRobot clickRobot
-
dragRobot
private final DragRobot dragRobot
-
scrollRobot
private final ScrollRobot scrollRobot
-
typeRobot
private final TypeRobot typeRobot
-
writeRobot
private final WriteRobot writeRobot
-
captureSupport
private final CaptureSupport captureSupport
-
pointPosition
private javafx.geometry.Pos pointPosition
-
-
Method Detail
-
getWindowFinder
public WindowFinder getWindowFinder()
-
getNodeFinder
public NodeFinder getNodeFinder()
-
getPointPosition
public javafx.geometry.Pos getPointPosition()
-
setPointPosition
public void setPointPosition(javafx.geometry.Pos pointPosition)
-
getBoundsLocator
public BoundsLocator getBoundsLocator()
-
getPointLocator
public PointLocator getPointLocator()
-
getBaseRobot
public BaseRobot getBaseRobot()
-
getMouseRobot
public MouseRobot getMouseRobot()
-
getKeyboardRobot
public KeyboardRobot getKeyboardRobot()
-
getMoveRobot
public MoveRobot getMoveRobot()
-
getSleepRobot
public SleepRobot getSleepRobot()
-
getClickRobot
public ClickRobot getClickRobot()
-
getDragRobot
public DragRobot getDragRobot()
-
getScrollRobot
public ScrollRobot getScrollRobot()
-
getTypeRobot
public TypeRobot getTypeRobot()
-
getWriteRobot
public WriteRobot getWriteRobot()
-
getCaptureSupport
public CaptureSupport getCaptureSupport()
-
-