A B C D E F G H I J K L M N O P Q R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
S
- saveBounds(Bounds) - Static method in class org.testfx.util.DebugUtils
-
Saves the captured image based on the given bounds using
DebugUtils.defaultImagePath()
and theDebugUtils.DEFAULT_INDENT
. - saveBounds(Bounds, String, int) - Static method in class org.testfx.util.DebugUtils
-
Saves the captured image based on the given bounds to "testName - photoNumber.png" (e.g.
- saveBounds(Bounds, Supplier<Path>, String) - Static method in class org.testfx.util.DebugUtils
-
Saves the captured image based on the given bounds to the supplied path.
- saveBounds(Rectangle2D) - Static method in class org.testfx.util.DebugUtils
-
Saves the captured image based on the given bounds using
DebugUtils.defaultImagePath()
and theDebugUtils.DEFAULT_INDENT
. - saveBounds(Rectangle2D, String, int) - Static method in class org.testfx.util.DebugUtils
-
Saves the captured image based on the given bounds to "testName - photoNumber.png" (e.g.
- saveBounds(Rectangle2D, Supplier<Path>, String) - Static method in class org.testfx.util.DebugUtils
-
Saves the captured image based on the given bounds to the supplied path.
- saveImage(Image, Path) - Method in interface org.testfx.service.support.CaptureSupport
-
Saves the given image to the given path.
- saveImage(Image, Path) - Method in class org.testfx.service.support.impl.CaptureSupportImpl
- saveNode(Node) - Static method in class org.testfx.util.DebugUtils
-
Saves the captured node using
DebugUtils.defaultImagePath()
and theDebugUtils.DEFAULT_INDENT
. - saveNode(Node, String, int) - Static method in class org.testfx.util.DebugUtils
-
Saves the captured node image to "testName - photoNumber.png" (e.g.
- saveNode(Node, Supplier<Path>, String) - Static method in class org.testfx.util.DebugUtils
-
Saves the captured node to the supplied path.
- saveScreenshot() - Static method in class org.testfx.util.DebugUtils
-
Saves the captured primary screen image using
DebugUtils.defaultImagePath()
and theDebugUtils.DEFAULT_INDENT
. - saveScreenshot(int, String, int) - Static method in class org.testfx.util.DebugUtils
-
Saves the captured screenshot of the screen at the given index in
Screen.getScreens()
} to "testName - photoNumber.png" (e.g. - saveScreenshot(int, Supplier<Path>, String) - Static method in class org.testfx.util.DebugUtils
-
Saves the captured screenshot of the screen at the given index in
Screen.getScreens()
} to the supplied path. - saveScreenshot(String) - Static method in class org.testfx.util.DebugUtils
-
Saves the captured screenshot of the primary screen to "testName - 0.png" (e.g.
- saveScreenshot(String, int) - Static method in class org.testfx.util.DebugUtils
-
Saves the captured screenshot of the primary screen to "testName - photoNumber.png" (e.g.
- saveScreenshot(Supplier<Path>, String) - Static method in class org.testfx.util.DebugUtils
-
Saves the captured screenshot of the primary screen to the supplied path.
- saveScreenshot(Screen, String, int) - Static method in class org.testfx.util.DebugUtils
-
Saves the captured screenshot of the screen to "testName - photoNumber.png" (e.g.
- saveScreenshot(Screen, Supplier<Path>, String) - Static method in class org.testfx.util.DebugUtils
-
Saves the captured screenshot of the screen to the supplied path.
- saveTestImage(Function<CaptureSupport, Image>, Supplier<Path>, String) - Static method in class org.testfx.util.DebugUtils
-
Saves the captured image to the supplied path.
- saveWindow() - Static method in class org.testfx.util.DebugUtils
-
Saves the captured registered stage image using
DebugUtils.defaultImagePath()
and theDebugUtils.DEFAULT_INDENT
. - saveWindow(String, int) - Static method in class org.testfx.util.DebugUtils
-
Saves the captured registered stage "testName - photoNumber.png" (e.g.
- saveWindow(Supplier<Path>, String) - Static method in class org.testfx.util.DebugUtils
-
Saves the captured registered stage to the supplied path.
- saveWindow(Window, String, int) - Static method in class org.testfx.util.DebugUtils
-
Saves the captured window to "testName - photoNumber.png" (e.g.
- saveWindow(Window, Supplier<Path>, String) - Static method in class org.testfx.util.DebugUtils
-
Saves the captured window to the supplied path.
- scale(Bounds) - Static method in class org.testfx.util.BoundsQueryUtils
- scroll(int) - Method in class org.testfx.api.FxRobot
-
Deprecated.
- scroll(int) - Method in interface org.testfx.api.FxRobotInterface
-
Calls
ScrollRobot.scroll(int)
and returns itself for more method chaining. - scroll(int) - Method in class org.testfx.robot.impl.MouseRobotImpl
- scroll(int) - Method in class org.testfx.robot.impl.ScrollRobotImpl
- scroll(int) - Method in interface org.testfx.robot.MouseRobot
-
Scrolls the mouse wheel by the given amount.
- scroll(int) - Method in interface org.testfx.robot.ScrollRobot
-
Scrolls vertically by
amount
(in terms of ticks of a mouse wheel). - scroll(int, HorizontalDirection) - Method in class org.testfx.api.FxRobot
- scroll(int, HorizontalDirection) - Method in interface org.testfx.api.FxRobotInterface
-
Calls
ScrollRobot.scroll(int, HorizontalDirection)
and returns itself for more method chaining. - scroll(int, HorizontalDirection) - Method in class org.testfx.robot.impl.ScrollRobotImpl
- scroll(int, HorizontalDirection) - Method in interface org.testfx.robot.ScrollRobot
-
Scrolls horizontally by
amount
(in terms of ticks of a mouse wheel) in given direction. - scroll(int, VerticalDirection) - Method in class org.testfx.api.FxRobot
- scroll(int, VerticalDirection) - Method in interface org.testfx.api.FxRobotInterface
-
Calls
ScrollRobot.scroll(int, VerticalDirection)
and returns itself for more method chaining. - scroll(int, VerticalDirection) - Method in class org.testfx.robot.impl.ScrollRobotImpl
- scroll(int, VerticalDirection) - Method in interface org.testfx.robot.ScrollRobot
-
Scrolls vertically by
amount
(in terms of ticks of a mouse wheel) in given direction. - scroll(HorizontalDirection) - Method in class org.testfx.api.FxRobot
- scroll(HorizontalDirection) - Method in interface org.testfx.api.FxRobotInterface
-
Calls
ScrollRobot.scroll(int, VerticalDirection)
with arguments1
anddirection
and returns itself for more method chaining. - scroll(VerticalDirection) - Method in class org.testfx.api.FxRobot
- scroll(VerticalDirection) - Method in interface org.testfx.api.FxRobotInterface
-
Calls
ScrollRobot.scroll(int, VerticalDirection)
with arguments1
anddirection
and returns itself for more method chaining. - scrollDown(int) - Method in class org.testfx.robot.impl.ScrollRobotImpl
- scrollDown(int) - Method in interface org.testfx.robot.ScrollRobot
-
Scrolls down by
amount
(in terms of ticks of a wheel). - scrollLeft(int) - Method in class org.testfx.robot.impl.ScrollRobotImpl
- scrollLeft(int) - Method in interface org.testfx.robot.ScrollRobot
-
Scrolls left by
amount
(in terms of ticks of a wheel). - scrollMouse(int) - Method in interface org.testfx.robot.BaseRobot
- scrollMouse(int) - Method in class org.testfx.robot.impl.BaseRobotImpl
- scrollNoWait(int) - Method in class org.testfx.robot.impl.MouseRobotImpl
- scrollNoWait(int) - Method in interface org.testfx.robot.MouseRobot
-
Scrolls the mouse wheel by the given amount.
- scrollRight(int) - Method in class org.testfx.robot.impl.ScrollRobotImpl
- scrollRight(int) - Method in interface org.testfx.robot.ScrollRobot
-
Scrolls right by
amount
(in terms of ticks of a wheel). - ScrollRobot - Interface in org.testfx.robot
- ScrollRobotImpl - Class in org.testfx.robot.impl
- ScrollRobotImpl(MouseRobot) - Constructor for class org.testfx.robot.impl.ScrollRobotImpl
- scrollUp(int) - Method in class org.testfx.robot.impl.ScrollRobotImpl
- scrollUp(int) - Method in interface org.testfx.robot.ScrollRobot
-
Scrolls up by
amount
(in terms of ticks of a mouse wheel). - serviceContext() - Static method in class org.testfx.api.FxService
- setApplicationArgs(String[]) - Method in class org.testfx.api.FxToolkitContext
- setBounds(Bounds) - Method in class org.testfx.service.query.impl.BoundsPointQuery
- setCaptureSupport(CaptureSupport) - Method in class org.testfx.api.FxAssertContext
- setLaunchTimeoutInMillis(long) - Method in class org.testfx.api.FxToolkitContext
- setNodeFinder(NodeFinder) - Method in class org.testfx.api.FxAssertContext
- setPointPosition(Pos) - Method in class org.testfx.api.FxRobotContext
- setRegisteredStage(Stage) - Method in class org.testfx.api.FxToolkitContext
- setSetupTimeoutInMillis(long) - Method in class org.testfx.api.FxToolkitContext
- setupApplication(Class<? extends Application>, String...) - Static method in class org.testfx.api.FxToolkit
-
Sets up the given application with its given arguments and returns that application once finished.
- setupApplication(Supplier<Application>) - Static method in class org.testfx.api.FxToolkit
-
Sets up the supplied application and returns that application once finished.
- setupApplication(Supplier<Stage>, Class<? extends Application>, String...) - Method in class org.testfx.toolkit.impl.ToolkitServiceImpl
- setupApplication(Supplier<Stage>, Class<? extends Application>, String...) - Method in interface org.testfx.toolkit.ToolkitService
-
Creates, initializes, and starts the given applicationClass and returns a
Future
whoseFuture.get()
returns the created application. - setupApplication(Supplier<Stage>, Supplier<Application>, String...) - Method in class org.testfx.toolkit.impl.ToolkitServiceImpl
- setupApplication(Supplier<Stage>, Supplier<Application>, String...) - Method in interface org.testfx.toolkit.ToolkitService
-
Creates, initializes, and starts the supplied application and returns a
Future
whoseFuture.get()
returns the created application. - setupFixture(Runnable) - Static method in class org.testfx.api.FxToolkit
-
Runs the given
runnable
on theJavaFX Application Thread
and returns once finished. - setupFixture(Runnable) - Method in class org.testfx.toolkit.impl.ToolkitServiceImpl
- setupFixture(Runnable) - Method in interface org.testfx.toolkit.ToolkitService
-
Runs the given runnable on the
JavaFX Application Thread
. - setupFixture(Callable<T>) - Static method in class org.testfx.api.FxToolkit
-
Runs the given
callable
on theJavaFX Application Thread
and returns once finished. - setupFixture(Callable<T>) - Method in class org.testfx.toolkit.impl.ToolkitServiceImpl
- setupFixture(Callable<T>) - Method in interface org.testfx.toolkit.ToolkitService
-
Runs the given callable on the
JavaFX Application Thread
. - setupPrimaryStage(CompletableFuture<Stage>, Class<? extends Application>, String...) - Method in class org.testfx.toolkit.impl.ToolkitServiceImpl
- setupPrimaryStage(CompletableFuture<Stage>, Class<? extends Application>, String...) - Method in interface org.testfx.toolkit.ToolkitService
-
If the given
CompletableFuture.isDone()
, returns that future; otherwise, launches the given application with its arguments. - setupScene(Supplier<Scene>) - Static method in class org.testfx.api.FxToolkit
-
Runs the
sceneSupplier
on theJavaFX Application Thread
, sets the registered stage's scene to the supplied scene, and returns the supplied scene once finished. - setupScene(Stage, Supplier<? extends Scene>) - Method in class org.testfx.toolkit.impl.ToolkitServiceImpl
- setupScene(Stage, Supplier<? extends Scene>) - Method in interface org.testfx.toolkit.ToolkitService
-
Sets the given scene as the given stage's scene on the
JavaFX Application Thread
and returns aFuture
whoseFuture.get()
returns the given scene. - setupSceneRoot(Supplier<Parent>) - Static method in class org.testfx.api.FxToolkit
-
Runs the
sceneRootSupplier
on theJavaFX Application Thread
, sets the registered stage's scene's root node to the supplied root node, and returns the supplied root node once finished. - setupSceneRoot(Stage, Supplier<? extends Parent>) - Method in class org.testfx.toolkit.impl.ToolkitServiceImpl
- setupSceneRoot(Stage, Supplier<? extends Parent>) - Method in interface org.testfx.toolkit.ToolkitService
-
Wraps the parent in a scene, sets that scene as the given stage's scene on the
JavaFX Application Thread
, and returns aFuture
whoseFuture.get()
returns the given parent. - setupStage(Consumer<Stage>) - Static method in class org.testfx.api.FxToolkit
-
Sets up the registered stage by passing it into the given
stageConsumer
on theJavaFX Application Thread
and returns the stage once finished. - setupStage(Stage, Consumer<Stage>) - Method in class org.testfx.toolkit.impl.ToolkitServiceImpl
- setupStage(Stage, Consumer<Stage>) - Method in interface org.testfx.toolkit.ToolkitService
-
Calls the stageConsumer with the given stage on the
JavaFX Application Thread
and returns aFuture
whoseFuture.get()
returns that stage. - showFiredEvents() - Static method in class org.testfx.util.DebugUtils
-
Via
DebugUtils.insertContent(String, Object)
: shows all events that were fired since the start of the test. - showFiredEvents(String) - Static method in class org.testfx.util.DebugUtils
- showFiredEvents(List<Event>) - Static method in class org.testfx.util.DebugUtils
- showFiredEvents(List<Event>, String) - Static method in class org.testfx.util.DebugUtils
- showFiredEvents(FiredEvents) - Static method in class org.testfx.util.DebugUtils
-
Via
DebugUtils.insertContent(String, Object)
: shows all events that were fired since the start of the test. - showFiredEvents(FiredEvents, String) - Static method in class org.testfx.util.DebugUtils
- showKeysPressedAtTestFailure(FxRobot) - Static method in class org.testfx.util.DebugUtils
-
Via
DebugUtils.insertContent(String, Object)
: shows the keys that were pressed when the test failed. - showKeysPressedAtTestFailure(FxRobot, String) - Static method in class org.testfx.util.DebugUtils
- showMouseButtonsPressedAtTestFailure(FxRobot) - Static method in class org.testfx.util.DebugUtils
-
Via
DebugUtils.insertContent(String, Object)
: shows theMouseButton
s that were pressed when the test failed. - showMouseButtonsPressedAtTestFailure(FxRobot, String) - Static method in class org.testfx.util.DebugUtils
- showStage() - Static method in class org.testfx.api.FxToolkit
-
Runs on the
JavaFX Application Thread
: Shows the registered stage viaStage.show()
, moves it to the front viaStage.toFront()
, and returns once finished. - sleep(long) - Method in class org.testfx.api.FxRobot
- sleep(long) - Method in interface org.testfx.api.FxRobotInterface
-
Calls
SleepRobot.sleep(long)
and returns itself for more method chaining. - sleep(long) - Method in class org.testfx.robot.impl.SleepRobotImpl
- sleep(long) - Method in interface org.testfx.robot.SleepRobot
-
Same as
Thread.sleep(long)
}, but without checked exceptions. - sleep(long, TimeUnit) - Method in class org.testfx.api.FxRobot
- sleep(long, TimeUnit) - Method in interface org.testfx.api.FxRobotInterface
-
Calls
SleepRobot.sleep(long, TimeUnit)
and returns itself for more method chaining. - sleep(long, TimeUnit) - Method in class org.testfx.robot.impl.SleepRobotImpl
- sleep(long, TimeUnit) - Method in interface org.testfx.robot.SleepRobot
-
Same as
Thread.sleep(long)
, but without checked exceptions. - sleep(long, TimeUnit) - Static method in class org.testfx.util.WaitForAsyncUtils
-
Sleeps the current thread for the given duration.
- SleepRobot - Interface in org.testfx.robot
- SleepRobotImpl - Class in org.testfx.robot.impl
- SleepRobotImpl() - Constructor for class org.testfx.robot.impl.SleepRobotImpl
- start(Application, Stage) - Method in interface org.testfx.toolkit.ApplicationService
- start(Application, Stage) - Method in class org.testfx.toolkit.impl.ApplicationServiceImpl
- start(Stage) - Method in class org.testfx.toolkit.PrimaryStageApplication
- start(BundleContext) - Method in class org.testfx.osgi.Activator
- stop(Application) - Method in interface org.testfx.toolkit.ApplicationService
- stop(Application) - Method in class org.testfx.toolkit.impl.ApplicationServiceImpl
- stop(BundleContext) - Method in class org.testfx.osgi.Activator
- stopStoringFiredEvents() - Method in class org.testfx.service.support.FiredEvents
- StyleableAssert - Class in org.testfx.assertions.api
-
Assertion methods for
Styleable
objects. - StyleableAssert(Styleable) - Constructor for class org.testfx.assertions.api.StyleableAssert
- StyleableMatchers - Class in org.testfx.matcher.base
-
TestFX matchers for
Styleable
objects.
All Classes All Packages