Package org.testfx.api
Class FxRobotContext
- java.lang.Object
-
- org.testfx.api.FxRobotContext
-
public class FxRobotContext extends java.lang.ObjectStores the robot implementations, the window and node finders, position calculators, and capture support forFxRobot.
-
-
Field Summary
Fields Modifier and Type Field Description private BaseRobotbaseRobotprivate BoundsLocatorboundsLocatorprivate CaptureSupportcaptureSupportprivate ClickRobotclickRobotprivate DragRobotdragRobotprivate KeyboardRobotkeyboardRobotprivate MouseRobotmouseRobotprivate MoveRobotmoveRobotprivate NodeFindernodeFinderprivate PointLocatorpointLocatorprivate javafx.geometry.PospointPositionprivate ScrollRobotscrollRobotprivate SleepRobotsleepRobotprivate TypeRobottypeRobotprivate WindowFinderwindowFinderprivate WriteRobotwriteRobot
-
Constructor Summary
Constructors Constructor Description FxRobotContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BaseRobotgetBaseRobot()BoundsLocatorgetBoundsLocator()CaptureSupportgetCaptureSupport()ClickRobotgetClickRobot()DragRobotgetDragRobot()KeyboardRobotgetKeyboardRobot()MouseRobotgetMouseRobot()MoveRobotgetMoveRobot()NodeFindergetNodeFinder()PointLocatorgetPointLocator()javafx.geometry.PosgetPointPosition()ScrollRobotgetScrollRobot()SleepRobotgetSleepRobot()TypeRobotgetTypeRobot()WindowFindergetWindowFinder()WriteRobotgetWriteRobot()voidsetPointPosition(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()
-
-