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
A
- AbstractButtonAssert<SELF extends AbstractButtonAssert<SELF>> - Class in org.testfx.assertions.api
-
Base class for all
Buttonassertions. - AbstractButtonAssert(Button, Class<?>) - Constructor for class org.testfx.assertions.api.AbstractButtonAssert
- AbstractColorAssert<SELF extends AbstractColorAssert<SELF>> - Class in org.testfx.assertions.api
-
Base class for all
Colorassertions. - AbstractColorAssert(Color, Class<?>) - Constructor for class org.testfx.assertions.api.AbstractColorAssert
- AbstractComboBoxAssert<SELF extends AbstractComboBoxAssert<SELF,T>,T> - Class in org.testfx.assertions.api
-
Assertion methods for
ComboBoxtype. - AbstractComboBoxAssert(ComboBox<T>, Class<?>) - Constructor for class org.testfx.assertions.api.AbstractComboBoxAssert
- AbstractDimension2DAssert<SELF extends AbstractDimension2DAssert<SELF>> - Class in org.testfx.assertions.api
-
Base class for all
Dimension2Dassertions. - AbstractDimension2DAssert(Dimension2D, Class<?>) - Constructor for class org.testfx.assertions.api.AbstractDimension2DAssert
- AbstractLabeledAssert<SELF extends AbstractLabeledAssert<SELF>> - Class in org.testfx.assertions.api
-
Base class for all
Labeledassertions. - AbstractLabeledAssert(Labeled, Class<?>) - Constructor for class org.testfx.assertions.api.AbstractLabeledAssert
- AbstractListViewAssert<SELF extends AbstractListViewAssert<SELF,T>,T> - Class in org.testfx.assertions.api
-
Base class for all
ListViewassertions. - AbstractListViewAssert(ListView<T>, Class<?>) - Constructor for class org.testfx.assertions.api.AbstractListViewAssert
- AbstractMenuItemAssert<SELF extends AbstractMenuItemAssert<SELF>> - Class in org.testfx.assertions.api
-
Base class for all
MenuItemassertions. - AbstractMenuItemAssert(MenuItem, Class<?>) - Constructor for class org.testfx.assertions.api.AbstractMenuItemAssert
- AbstractNodeAssert<SELF extends AbstractNodeAssert<SELF>> - Class in org.testfx.assertions.api
-
Base class for all
Nodeassertions. - AbstractNodeAssert(Node, Class<?>) - Constructor for class org.testfx.assertions.api.AbstractNodeAssert
- AbstractParentAssert<SELF extends AbstractParentAssert<SELF>> - Class in org.testfx.assertions.api
-
Base class for all
Parentassertions. - AbstractParentAssert(Parent, Class<?>) - Constructor for class org.testfx.assertions.api.AbstractParentAssert
- AbstractStyleableAssert<SELF extends AbstractStyleableAssert<SELF>> - Class in org.testfx.assertions.api
-
Base class for all
Styleableassertions. - AbstractStyleableAssert(Styleable, Class<?>) - Constructor for class org.testfx.assertions.api.AbstractStyleableAssert
- AbstractTableViewAssert<SELF extends AbstractTableViewAssert<SELF,T>,T> - Class in org.testfx.assertions.api
-
Base class for all
TableViewassertions. - AbstractTableViewAssert(TableView<T>, Class<?>) - Constructor for class org.testfx.assertions.api.AbstractTableViewAssert
- AbstractTextAssert<SELF extends AbstractTextAssert<SELF>> - Class in org.testfx.assertions.api
-
Base class for all
Textassertions. - AbstractTextAssert(Text, Class<?>) - Constructor for class org.testfx.assertions.api.AbstractTextAssert
- AbstractTextFlowAssert<SELF extends AbstractTextFlowAssert<SELF>> - Class in org.testfx.assertions.api
-
Base class for all
TextFlowassertions. - AbstractTextFlowAssert(TextFlow, Class<?>) - Constructor for class org.testfx.assertions.api.AbstractTextFlowAssert
- AbstractTextInputControlAssert<SELF extends AbstractTextInputControlAssert<SELF>> - Class in org.testfx.assertions.api
-
Base class for all
TextInputControlassertions. - AbstractTextInputControlAssert(TextInputControl, Class<?>) - Constructor for class org.testfx.assertions.api.AbstractTextInputControlAssert
- AbstractWindowAssert<SELF extends AbstractWindowAssert<SELF>> - Class in org.testfx.assertions.api
-
Base class for all
Windowassertions. - AbstractWindowAssert(Window, Class<?>) - Constructor for class org.testfx.assertions.api.AbstractWindowAssert
- Activator - Class in org.testfx.osgi
- Activator() - Constructor for class org.testfx.osgi.Activator
- Adapter - Class in org.testfx.assertions.impl
-
Provides static utility methods for converting a hamcrest matcher to an AssertJ condition.
- Adapter() - Constructor for class org.testfx.assertions.impl.Adapter
- adaptMatcher(Matcher<? extends T>, boolean) - Static method in class org.testfx.assertions.impl.Adapter
- after() - Method in class org.testfx.framework.junit.ApplicationRule
- afterEach(ExtensionContext) - Method in class org.testfx.framework.junit5.ApplicationExtension
- annotateImage(Shape, Image) - Method in interface org.testfx.service.support.CaptureSupport
-
NOT YET IMPLEMENTED
- annotateImage(Shape, Image) - Method in class org.testfx.service.support.impl.CaptureSupportImpl
- AnnotationBasedApplicationFixture(Object, List<Method>, List<Method>, List<Method>) - Constructor for class org.testfx.framework.junit5.ApplicationExtension.AnnotationBasedApplicationFixture
- anything() - Static method in class org.testfx.matcher.base.NodeMatchers
-
Creates a matcher that matches everything (
matches(Object)always returns true. - APP_LAUNCHER - Static variable in class org.testfx.api.FxToolkit
- APP_SERVICE - Static variable in class org.testfx.api.FxToolkit
- ApplicationAdapter - Class in org.testfx.framework.junit
-
Adapter that adapts from a class implementing the
ApplicationFixtureinterface to an actualApplication. - ApplicationAdapter - Class in org.testfx.framework.junit5
- ApplicationAdapter(ApplicationFixture) - Constructor for class org.testfx.framework.junit.ApplicationAdapter
- ApplicationAdapter(ApplicationFixture) - Constructor for class org.testfx.framework.junit5.ApplicationAdapter
- applicationArgs - Variable in class org.testfx.api.FxToolkitContext
-
The application arguments.
- applicationClass - Variable in class org.testfx.api.FxToolkitContext
-
The
Applicationas aClassobject to use inApplication.launch(Class, String...). - ApplicationExtension - Class in org.testfx.framework.junit5
- ApplicationExtension() - Constructor for class org.testfx.framework.junit5.ApplicationExtension
- ApplicationExtension.AnnotationBasedApplicationFixture - Class in org.testfx.framework.junit5
- applicationFixture - Variable in class org.testfx.framework.junit.ApplicationAdapter
- applicationFixture - Variable in class org.testfx.framework.junit5.ApplicationAdapter
- applicationFixture - Variable in class org.testfx.framework.junit5.ApplicationExtension
- ApplicationFixture - Interface in org.testfx.framework.junit
-
An interface that represents a JavaFX application (something that can be initialized, started, and stopped).
- ApplicationFixture - Interface in org.testfx.framework.junit5
- applicationLauncher - Variable in class org.testfx.toolkit.impl.ToolkitServiceImpl
- ApplicationLauncher - Interface in org.testfx.toolkit
-
Interface that configures a few necessary System properties before launching an application with its' given parameters.
- ApplicationLauncherImpl - Class in org.testfx.toolkit.impl
- ApplicationLauncherImpl() - Constructor for class org.testfx.toolkit.impl.ApplicationLauncherImpl
- ApplicationRule - Class in org.testfx.framework.junit
- ApplicationRule(Consumer<Stage>) - Constructor for class org.testfx.framework.junit.ApplicationRule
- ApplicationRule(Consumer<Stage>, Consumer<Stage>) - Constructor for class org.testfx.framework.junit.ApplicationRule
- applicationService - Variable in class org.testfx.toolkit.impl.ToolkitServiceImpl
- ApplicationService - Interface in org.testfx.toolkit
-
Helper interface whose methods' returned
Futureobjects'Future.get()method either indicates when anApplication's init, start, or stop methods are finished or returns the created application. - ApplicationServiceImpl - Class in org.testfx.toolkit.impl
- ApplicationServiceImpl() - Constructor for class org.testfx.toolkit.impl.ApplicationServiceImpl
- ApplicationTest - Class in org.testfx.framework.junit
-
The base class that your JUnit test classes should extend from that interact with and/or verify the state of a JavaFX UI.
- ApplicationTest - Class in org.testfx.framework.junit5
- ApplicationTest() - Constructor for class org.testfx.framework.junit.ApplicationTest
- ApplicationTest() - Constructor for class org.testfx.framework.junit5.ApplicationTest
- apply(Statement, Description) - Method in class org.testfx.framework.junit.ApplicationRule
- apply(Statement, Description) - Method in class org.testfx.framework.junit.TestFXRule
- applyPredicateSafely(Predicate<T>, T) - Static method in class org.testfx.util.NodeQueryUtils
- areBoundsVisible(Bounds) - Method in class org.testfx.service.locator.impl.BoundsLocatorImpl
- areBoundsVisible(Bounds) - Static method in class org.testfx.util.BoundsQueryUtils
- assertContext() - Static method in class org.testfx.api.FxAssert
- Assertions - Class in org.testfx.assertions.api
-
The entry point for all TestFX assertions for different JavaFX types.
- Assertions() - Constructor for class org.testfx.assertions.api.Assertions
- assertJavaFxThread() - Static method in class org.testfx.framework.junit5.utils.FXUtils
- assertThat(Styleable) - Static method in class org.testfx.assertions.api.Assertions
-
Create assertion for
Styleable. - assertThat(Dimension2D) - Static method in class org.testfx.assertions.api.Assertions
-
Create assertion for
Dimension2D. - assertThat(Button) - Static method in class org.testfx.assertions.api.Assertions
-
Create assertion for
Button. - assertThat(ComboBox<T>) - Static method in class org.testfx.assertions.api.Assertions
-
Create assertion for
ComboBox. - assertThat(Labeled) - Static method in class org.testfx.assertions.api.Assertions
-
Create assertion for
Labeled. - assertThat(ListView<T>) - Static method in class org.testfx.assertions.api.Assertions
-
Create assertion for
ListView. - assertThat(MenuItem) - Static method in class org.testfx.assertions.api.Assertions
-
Create assertion for
MenuItem. - assertThat(TableView<T>) - Static method in class org.testfx.assertions.api.Assertions
-
Create assertion for
TableView. - assertThat(TextInputControl) - Static method in class org.testfx.assertions.api.Assertions
-
Create assertion for
TextInputControl. - assertThat(Node) - Static method in class org.testfx.assertions.api.Assertions
-
Create assertion for
Node. - assertThat(Color) - Static method in class org.testfx.assertions.api.Assertions
-
Create assertion for
Color. - assertThat(Parent) - Static method in class org.testfx.assertions.api.Assertions
-
Create assertion for
Parent. - assertThat(Text) - Static method in class org.testfx.assertions.api.Assertions
-
Create assertion for
Text. - assertThat(TextFlow) - Static method in class org.testfx.assertions.api.Assertions
-
Create assertion for
TextFlow. - assertThat(Window) - Static method in class org.testfx.assertions.api.Assertions
-
Create assertion for
Window. - assignHeadlessPlatform() - Method in class org.testfx.toolkit.impl.ApplicationLauncherImpl
- assignMonoclePlatform() - Method in class org.testfx.toolkit.impl.ApplicationLauncherImpl
- assignPrivateStaticField(Class<?>, String, Object) - Method in class org.testfx.toolkit.impl.ApplicationLauncherImpl
- async(Runnable) - Static method in class org.testfx.util.WaitForAsyncUtils
-
Runs the given
Runnableon a newThreadand returns aFuturethat is set on finish or error. - async(Runnable, boolean) - Static method in class org.testfx.util.WaitForAsyncUtils
-
Runs the given
Runnableon a newThreadand returns aFuturethat is set on finish or error. - async(Callable<T>) - Static method in class org.testfx.util.WaitForAsyncUtils
-
Calls the given
Callableon a newThreadand returns aFuturethat is set on finish or error. - async(Callable<T>, boolean) - Static method in class org.testfx.util.WaitForAsyncUtils
-
Calls the given
Callableon a newThreadand returns aFuturethat is set on finish or error. - asyncFx(Runnable) - Static method in class org.testfx.util.WaitForAsyncUtils
-
Runs the given
Runnableon the JavaFX Application Thread at some unspecified time in the future and returns aFuturethat is set on finish or error. - asyncFx(Callable<T>) - Static method in class org.testfx.util.WaitForAsyncUtils
-
Calls the given
Callableon the JavaFX Application Thread at some unspecified time in the future and returns aFuturethat is set on finish or error. - ASyncFXCallable(Runnable, boolean) - Constructor for class org.testfx.util.WaitForAsyncUtils.ASyncFXCallable
- ASyncFXCallable(Callable<X>, boolean) - Constructor for class org.testfx.util.WaitForAsyncUtils.ASyncFXCallable
- atOffset(double, double) - Method in class org.testfx.service.query.impl.PointQueryBase
- atOffset(double, double) - Method in interface org.testfx.service.query.PointQuery
-
Updates
PointQuery.getOffset()by the combination of the currentoffset'sxvalue andoffsetXand itsyvalue andoffsetY. - atOffset(Point2D) - Method in class org.testfx.service.query.impl.PointQueryBase
- atOffset(Point2D) - Method in interface org.testfx.service.query.PointQuery
-
Updates
PointQuery.getOffset()to benew Point2D(this.offset.getX() + offset.getX(), this.offset.getY() + offset.getY()). - atPosition(double, double) - Method in class org.testfx.service.query.impl.PointQueryBase
- atPosition(double, double) - Method in interface org.testfx.service.query.PointQuery
-
Updates
PointQuery.getPosition()to the newposition. - atPosition(Bounds, Pos) - Static method in class org.testfx.util.PointQueryUtils
- atPosition(Point2D) - Method in class org.testfx.service.query.impl.PointQueryBase
- atPosition(Point2D) - Method in interface org.testfx.service.query.PointQuery
-
Updates
PointQuery.getPosition()to the newposition. - atPosition(Pos) - Method in class org.testfx.service.query.impl.PointQueryBase
- atPosition(Pos) - Method in interface org.testfx.service.query.PointQuery
-
Updates
PointQuery.getPosition()to a new one based on the givenposition. - atPositionFactors(Bounds, Point2D) - Static method in class org.testfx.util.PointQueryUtils
-
Returns the point within the given bounds computed using the given
positionFactors. - autoCheckException - Static variable in class org.testfx.util.WaitForAsyncUtils
-
If true any call to an
asyncmethod will check for the occurrence of unhandled exceptions. - awtRobot - Variable in class org.testfx.service.adapter.impl.AwtRobotAdapter
- AwtRobotAdapter - Class in org.testfx.service.adapter.impl
- AwtRobotAdapter() - Constructor for class org.testfx.service.adapter.impl.AwtRobotAdapter
B
- baseMatcher(String, Predicate<T>) - Static method in class org.testfx.matcher.base.GeneralMatchers
-
Creates a matcher that matches when the given
predicatereturns true. - baseRobot - Variable in class org.testfx.api.FxRobotContext
- baseRobot - Variable in class org.testfx.api.FxServiceContext
- baseRobot - Variable in class org.testfx.robot.impl.KeyboardRobotImpl
- baseRobot - Variable in class org.testfx.robot.impl.MouseRobotImpl
- baseRobot - Variable in class org.testfx.robot.impl.MoveRobotImpl
- baseRobot - Variable in class org.testfx.robot.impl.WriteRobotImpl
- baseRobot - Variable in class org.testfx.service.support.impl.CaptureSupportImpl
- BaseRobot - Interface in org.testfx.robot
- BaseRobotImpl - Class in org.testfx.robot.impl
- BaseRobotImpl() - Constructor for class org.testfx.robot.impl.BaseRobotImpl
- before() - Method in class org.testfx.framework.junit.ApplicationRule
- beforeEach(ExtensionContext) - Method in class org.testfx.framework.junit5.ApplicationExtension
- beginStoringFiredEventsOf(Stage) - Static method in class org.testfx.service.support.FiredEvents
- blendImages(Image, Image, BlendMode, Pos) - Method in class org.testfx.service.support.impl.CaptureSupportImpl
- blendToWhite(double, double) - Method in class org.testfx.service.support.impl.PixelMatcherRgb
- blockFxThreadWithSemaphore() - Static method in class org.testfx.util.WaitForAsyncUtils
- bounds - Variable in class org.testfx.service.query.impl.BoundsPointQuery
- bounds(double, double, double, double) - Method in class org.testfx.api.FxRobot
- bounds(double, double, double, double) - Method in interface org.testfx.api.FxRobotInterface
- bounds(double, double, double, double) - Static method in class org.testfx.util.BoundsQueryUtils
-
Creates a new
Boundsobject with the given parameters. - bounds(String) - Method in class org.testfx.api.FxRobot
- bounds(String) - Method in interface org.testfx.api.FxRobotInterface
-
NOT YET IMPLEMENTED
- bounds(Predicate<T>) - Method in class org.testfx.api.FxRobot
- bounds(Predicate<T>) - Method in interface org.testfx.api.FxRobotInterface
-
NOT YET IMPLEMENTED
- bounds(Bounds) - Method in class org.testfx.api.FxRobot
- bounds(Bounds) - Method in interface org.testfx.api.FxRobotInterface
-
Creates a
BoundsQuerythat returns the given bounds - bounds(Dimension2D) - Static method in class org.testfx.util.BoundsQueryUtils
-
Creates a new
Boundsobject whose top-left corner is 0 and whose width and height aredimension.getWidth()anddimension.getHeight(), respectively. - bounds(Point2D) - Method in class org.testfx.api.FxRobot
- bounds(Point2D) - Method in interface org.testfx.api.FxRobotInterface
- bounds(Point2D) - Static method in class org.testfx.util.BoundsQueryUtils
-
Creates a new
Boundsobject whose top-left corner is the given point and whose width and height are 0. - bounds(Rectangle2D) - Static method in class org.testfx.util.BoundsQueryUtils
-
Converts the given region to a
Boundsobject. - bounds(Node) - Method in class org.testfx.api.FxRobot
- bounds(Node) - Method in interface org.testfx.api.FxRobotInterface
- bounds(Scene) - Method in class org.testfx.api.FxRobot
- bounds(Scene) - Method in interface org.testfx.api.FxRobotInterface
-
Calls
BoundsQueryUtils.boundsOnScreen(Bounds, Scene)with given scene's bounds - bounds(Scene) - Static method in class org.testfx.util.BoundsQueryUtils
-
Bounds of Scene in Window.
- bounds(Window) - Method in class org.testfx.api.FxRobot
- bounds(Window) - Method in interface org.testfx.api.FxRobotInterface
-
Calls
BoundsQueryUtils.boundsOnScreen(Bounds, Window)with the given window's bounds - bounds(Window) - Static method in class org.testfx.util.BoundsQueryUtils
-
Bounds of Window on Screen.
- bounds(Matcher<T>) - Method in class org.testfx.api.FxRobot
- bounds(Matcher<T>) - Method in interface org.testfx.api.FxRobotInterface
-
NOT YET IMPLEMENTED
- boundsInSceneFor(Node) - Method in interface org.testfx.service.locator.BoundsLocator
- boundsInSceneFor(Node) - Method in class org.testfx.service.locator.impl.BoundsLocatorImpl
- boundsInWindowFor(Bounds, Scene) - Method in interface org.testfx.service.locator.BoundsLocator
- boundsInWindowFor(Bounds, Scene) - Method in class org.testfx.service.locator.impl.BoundsLocatorImpl
- boundsInWindowFor(Scene) - Method in interface org.testfx.service.locator.BoundsLocator
- boundsInWindowFor(Scene) - Method in class org.testfx.service.locator.impl.BoundsLocatorImpl
- boundsLocator - Variable in class org.testfx.api.FxRobotContext
- boundsLocator - Variable in class org.testfx.service.locator.impl.PointLocatorImpl
- BoundsLocator - Interface in org.testfx.service.locator
- BoundsLocatorException - Exception in org.testfx.service.locator
- BoundsLocatorException(String) - Constructor for exception org.testfx.service.locator.BoundsLocatorException
- BoundsLocatorImpl - Class in org.testfx.service.locator.impl
- BoundsLocatorImpl() - Constructor for class org.testfx.service.locator.impl.BoundsLocatorImpl
- boundsOnScreen(Bounds, Rectangle2D) - Static method in class org.testfx.util.BoundsQueryUtils
-
Translates the given bounds in the screen to a relative coordinate system where the given screenRegion's top-left corner represents coordinate (0, 0).
- boundsOnScreen(Bounds, Scene) - Static method in class org.testfx.util.BoundsQueryUtils
-
Transforms the given bounds in the given scene to the screen's coordinate system.
- boundsOnScreen(Bounds, Window) - Static method in class org.testfx.util.BoundsQueryUtils
-
Translates the given bounds in the given window to the screen's coordinate system
- boundsOnScreen(Node) - Static method in class org.testfx.util.BoundsQueryUtils
-
Retrieves the physical untransformed bounds (geom + effect + clip) of a Node before transforming that to the screen's coordinate system.
- boundsOnScreenFor(Bounds, Scene) - Method in interface org.testfx.service.locator.BoundsLocator
- boundsOnScreenFor(Bounds, Scene) - Method in class org.testfx.service.locator.impl.BoundsLocatorImpl
- boundsOnScreenFor(Node) - Method in interface org.testfx.service.locator.BoundsLocator
- boundsOnScreenFor(Node) - Method in class org.testfx.service.locator.impl.BoundsLocatorImpl
- boundsOnScreenFor(Scene) - Method in interface org.testfx.service.locator.BoundsLocator
- boundsOnScreenFor(Scene) - Method in class org.testfx.service.locator.impl.BoundsLocatorImpl
- boundsOnScreenFor(Window) - Method in interface org.testfx.service.locator.BoundsLocator
- boundsOnScreenFor(Window) - Method in class org.testfx.service.locator.impl.BoundsLocatorImpl
- BoundsPointQuery - Class in org.testfx.service.query.impl
-
This point query implements a PointQuery within the bounds of an object.
- BoundsPointQuery(Bounds) - Constructor for class org.testfx.service.query.impl.BoundsPointQuery
- BoundsQuery - Interface in org.testfx.service.query
- BoundsQueryUtils - Class in org.testfx.util
- BoundsQueryUtils() - Constructor for class org.testfx.util.BoundsQueryUtils
- ButtonAssert - Class in org.testfx.assertions.api
-
Assertion methods for
Buttons. - ButtonAssert(Button) - Constructor for class org.testfx.assertions.api.ButtonAssert
- ButtonMatchers - Class in org.testfx.matcher.control
-
TestFX matchers for
Buttoncontrols. - ButtonMatchers() - Constructor for class org.testfx.matcher.control.ButtonMatchers
- byMatcher(Matcher<Node>) - Static method in class org.testfx.util.NodeQueryUtils
-
Returns a function that returns a
Setof allNodes that match the givenmatcher. - byOffset(double, double) - Static method in class org.testfx.util.BoundsQueryUtils
- byPredicate(Predicate<Node>) - Static method in class org.testfx.util.NodeQueryUtils
-
Returns a function that returns a
Setof allNodes that pass the givenpredicate. - bySelector(String) - Static method in class org.testfx.util.NodeQueryUtils
-
Returns a function that calls
Node.lookup(String)on each given node. - byText(String) - Static method in class org.testfx.util.NodeQueryUtils
-
Returns a function that returns a
Setof allLabels,TextInputControls, or any of their subclasses that have the giventext.
C
- calculateColorDistSq(Color, Color) - Static method in class org.testfx.util.ColorUtils
-
Calculates and returns the distance between two
Colors, using a simple Euclidean metric. - calculateWindowProximityTo(Window, Window) - Method in class org.testfx.service.finder.impl.WindowFinderImpl
- call() - Method in class org.testfx.util.WaitForAsyncUtils.ASyncFXCallable
- callableBounds - Variable in class org.testfx.service.query.impl.CallableBoundsPointQuery
- CallableBoundsPointQuery - Class in org.testfx.service.query.impl
- CallableBoundsPointQuery(Callable<Bounds>) - Constructor for class org.testfx.service.query.impl.CallableBoundsPointQuery
- CallableBoundsPointQuery(Callable<Bounds>, Node) - Constructor for class org.testfx.service.query.impl.CallableBoundsPointQuery
- callConditionAndReturnResult(Callable<Boolean>) - Static method in class org.testfx.util.WaitForAsyncUtils
- capture(URL) - Method in class org.testfx.api.FxRobot
- capture(URL) - Method in interface org.testfx.api.FxRobotInterface
- capture(Path) - Method in class org.testfx.api.FxRobot
- capture(Path) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Returns a
Capturethat supplies theImagefrom the image file of the givenPath. - capture(Bounds) - Method in class org.testfx.api.FxRobot
- capture(Bounds) - Method in interface org.testfx.api.FxRobotInterface
-
Returns a
Capturethat supplies a screenshot using the given bounds. - capture(Rectangle2D) - Method in class org.testfx.api.FxRobot
- capture(Rectangle2D) - Method in interface org.testfx.api.FxRobotInterface
-
Returns a
Capturethat supplies a screenshot using the given rectangle's bounds. - capture(Image) - Method in class org.testfx.api.FxRobot
- capture(Image) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Returns a
Capturethat supplies the givenImage. - capture(Node) - Method in class org.testfx.api.FxRobot
- capture(Node) - Method in interface org.testfx.api.FxRobotInterface
-
Returns a
Capturethat supplies a screenshot using the given node's bounds. - Capture - Interface in org.testfx.service.support
- captureBounds(Bounds) - Static method in class org.testfx.util.DebugUtils
- captureBounds(Rectangle2D) - Static method in class org.testfx.util.DebugUtils
- CaptureFileFormat - Enum in org.testfx.service.support
-
Possible types for image export
- CaptureFileFormat() - Constructor for enum org.testfx.service.support.CaptureFileFormat
- captureNode(Node) - Method in interface org.testfx.service.support.CaptureSupport
-
Returns a snapshot of the node.
- captureNode(Node) - Method in class org.testfx.service.support.impl.CaptureSupportImpl
- captureNode(Node) - Static method in class org.testfx.util.DebugUtils
- captureRegion(Rectangle2D) - Method in interface org.testfx.robot.BaseRobot
- captureRegion(Rectangle2D) - Method in class org.testfx.robot.impl.BaseRobotImpl
- captureRegion(Rectangle2D) - Method in interface org.testfx.service.support.CaptureSupport
-
Returns a screenshot of the given region.
- captureRegion(Rectangle2D) - Method in class org.testfx.service.support.impl.CaptureSupportImpl
- captureScreenshot() - Static method in class org.testfx.util.DebugUtils
- captureScreenshot(int) - Static method in class org.testfx.util.DebugUtils
- captureScreenshot(Screen) - Static method in class org.testfx.util.DebugUtils
- captureSupport - Variable in class org.testfx.api.FxAssertContext
- captureSupport - Variable in class org.testfx.api.FxRobotContext
- captureSupport - Variable in class org.testfx.api.FxServiceContext
- CaptureSupport - Interface in org.testfx.service.support
- CaptureSupportImpl - Class in org.testfx.service.support.impl
- CaptureSupportImpl(BaseRobot) - Constructor for class org.testfx.service.support.impl.CaptureSupportImpl
- captureWindow() - Static method in class org.testfx.util.DebugUtils
-
Captures the registered stage.
- captureWindow(Window) - Static method in class org.testfx.util.DebugUtils
- checkAllExceptions - Static variable in class org.testfx.util.WaitForAsyncUtils
-
If true any call to an
asyncmethod will check for the occurrence of unhandled exceptions in anyThread. - checkColorTriple(int, int, int) - Static method in class org.testfx.util.ColorUtils
- checkException() - Static method in class org.testfx.util.WaitForAsyncUtils
-
Checks if an exception in an async task occurred that has not been checked currently.
- checkExceptionWrapped() - Static method in class org.testfx.util.WaitForAsyncUtils
-
Internal function that throws Exceptions.
- checkFileExists(Path) - Method in class org.testfx.service.support.impl.CaptureSupportImpl
- checkParentDirectoryExists(Path) - Method in class org.testfx.service.support.impl.CaptureSupportImpl
- chronoUnit(TimeUnit) - Static method in class org.testfx.util.WaitForAsyncUtils
- cleanupAfterTest(FxRobot, Application) - Static method in class org.testfx.api.FxToolkit
- cleanupApplication(Application) - Static method in class org.testfx.api.FxToolkit
-
Performs the cleanup of the application.
- cleanupApplication(Application) - Method in class org.testfx.toolkit.impl.ToolkitServiceImpl
- cleanupApplication(Application) - Method in interface org.testfx.toolkit.ToolkitService
-
Calls
ApplicationService.stop(Application)on the given application. - cleanupInput(FxRobot) - Static method in class org.testfx.api.FxToolkit
-
Runs on the
JavaFX Application Thread: Releases remaining mouse and keyboard events. - cleanupParameters(Application) - Static method in class org.testfx.toolkit.impl.ToolkitServiceImpl
- cleanupStages() - Static method in class org.testfx.api.FxToolkit
-
Runs on the
JavaFX Application Thread: Hides all windows returned fromJavaVersionAdapter.getWindows()and returns once finished. - clearEvents() - Method in class org.testfx.service.support.FiredEvents
- clearExceptions() - Static method in class org.testfx.util.WaitForAsyncUtils
-
Clears all unhandled exceptions.
- clickOn(double, double, MouseButton...) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse directly to the given coordinates, clicks the given buttons, and returns itself for method chaining.
- clickOn(double, double, Motion, MouseButton...) - Method in class org.testfx.api.FxRobot
- clickOn(double, double, Motion, MouseButton...) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse using the given
motion(see:Motionto the given coordinates, clicks the given buttons, and returns itself for method chaining. - clickOn(String, MouseButton...) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse directly to the point returned from
FxRobotInterface.point(String), clicks the given buttons, and returns itself for method chaining. - clickOn(String, Motion, MouseButton...) - Method in class org.testfx.api.FxRobot
- clickOn(String, Motion, MouseButton...) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse using the given
motion(see:Motionto the point returned fromFxRobotInterface.point(String), clicks the given buttons, and returns itself for method chaining. - clickOn(Predicate<T>, MouseButton...) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse directly to the point returned from
FxRobotInterface.point(Predicate), clicks the given buttons, and returns itself for method chaining. - clickOn(Predicate<T>, Motion, MouseButton...) - Method in class org.testfx.api.FxRobot
- clickOn(Predicate<T>, Motion, MouseButton...) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse using the given
motion(see:Motionto the point returned fromFxRobotInterface.point(Predicate), clicks the given buttons, and returns itself for method chaining. - clickOn(Bounds, MouseButton...) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse directly to the point returned from
FxRobotInterface.point(Bounds), clicks the given buttons, and returns itself for method chaining. - clickOn(Bounds, Motion, MouseButton...) - Method in class org.testfx.api.FxRobot
- clickOn(Bounds, Motion, MouseButton...) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse using the given
motion(see:Motionto the point returned fromFxRobotInterface.point(Bounds), clicks the given buttons, and returns itself for method chaining. - clickOn(Point2D, MouseButton...) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse directly to the given point, clicks the given buttons, and returns itself for method chaining.
- clickOn(Point2D, Motion, MouseButton...) - Method in class org.testfx.api.FxRobot
- clickOn(Point2D, Motion, MouseButton...) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse using the given
motion(see:Motionto the given point, clicks the given buttons, and returns itself for method chaining. - clickOn(MouseButton...) - Method in class org.testfx.api.FxRobot
- clickOn(MouseButton...) - Method in interface org.testfx.api.FxRobotInterface
-
Calls
ClickRobot.clickOn(MouseButton...)and returns itself for more method chaining. - clickOn(MouseButton...) - Method in interface org.testfx.robot.ClickRobot
-
Clicks whatever is under the mouse.
- clickOn(MouseButton...) - Method in class org.testfx.robot.impl.ClickRobotImpl
- clickOn(Node, MouseButton...) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse directly to the point returned from
FxRobotInterface.point(Node), clicks the given buttons, and returns itself for method chaining. - clickOn(Node, Motion, MouseButton...) - Method in class org.testfx.api.FxRobot
- clickOn(Node, Motion, MouseButton...) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse using the given
motion(see:Motionto the point returned fromFxRobotInterface.point(Node), clicks the given buttons, and returns itself for method chaining. - clickOn(Scene, MouseButton...) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse directly to the point returned from
FxRobotInterface.point(Scene), clicks the given buttons, and returns itself for method chaining. - clickOn(Scene, Motion, MouseButton...) - Method in class org.testfx.api.FxRobot
- clickOn(Scene, Motion, MouseButton...) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse using the given
motion(see:Motionto the point returned fromFxRobotInterface.point(Scene), clicks the given buttons, and returns itself for method chaining. - clickOn(Window, MouseButton...) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse directly to the point returned from
FxRobotInterface.point(Window), clicks the given buttons, and returns itself for method chaining. - clickOn(Window, Motion, MouseButton...) - Method in class org.testfx.api.FxRobot
- clickOn(Window, Motion, MouseButton...) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse using the given
motion(see:Motionto the point returned fromFxRobotInterface.point(Window), clicks the given buttons, and returns itself for method chaining. - clickOn(Matcher<T>, MouseButton...) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse directly to the point returned from
FxRobotInterface.point(Matcher), clicks the given buttons, and returns itself for method chaining. - clickOn(Matcher<T>, Motion, MouseButton...) - Method in class org.testfx.api.FxRobot
- clickOn(Matcher<T>, Motion, MouseButton...) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse using the given
motion(see:Motionto the point returned fromFxRobotInterface.point(Matcher), clicks the given buttons, and returns itself for method chaining. - clickOn(PointQuery, MouseButton...) - Method in interface org.testfx.api.FxRobotInterface
-
Calls
ClickRobot.clickOn(PointQuery, Motion, MouseButton...)and returns itself for more method chaining. - clickOn(PointQuery, MouseButton...) - Method in interface org.testfx.robot.ClickRobot
-
Moves the mouse directly to the location specified by the given
PointQuery.query()and clicks whatever is under it. - clickOn(PointQuery, Motion, MouseButton...) - Method in class org.testfx.api.FxRobot
- clickOn(PointQuery, Motion, MouseButton...) - Method in interface org.testfx.api.FxRobotInterface
-
Calls
ClickRobot.clickOn(PointQuery, MouseButton...)and returns itself for more method chaining. - clickOn(PointQuery, Motion, MouseButton...) - Method in interface org.testfx.robot.ClickRobot
-
Moves the mouse to the location specified by the given
PointQuery.query()using the specifiedmotion(see:Motion) and clicks whatever is under it. - clickOn(PointQuery, Motion, MouseButton...) - Method in class org.testfx.robot.impl.ClickRobotImpl
- clickRobot - Variable in class org.testfx.api.FxRobotContext
- ClickRobot - Interface in org.testfx.robot
- ClickRobotImpl - Class in org.testfx.robot.impl
- ClickRobotImpl(MouseRobot, MoveRobot, SleepRobot) - Constructor for class org.testfx.robot.impl.ClickRobotImpl
- closeCurrentWindow() - Method in class org.testfx.api.FxRobot
-
Deprecated.The implementation of this method simply pushes the keys ALT+F4 which does not close the current window on all platforms.
- ColorAssert - Class in org.testfx.assertions.api
-
Assertion methods for
Colors. - ColorAssert(Color) - Constructor for class org.testfx.assertions.api.ColorAssert
- colorBlendFactor - Variable in class org.testfx.service.support.impl.PixelMatcherRgb
- ColorMatcher - Interface in org.testfx.service.support
- ColorMatchers - Class in org.testfx.matcher.base
- ColorMatchers() - Constructor for class org.testfx.matcher.base.ColorMatchers
- ColorUtils - Class in org.testfx.util
-
Contains
Colorutility methods. - ColorUtils() - Constructor for class org.testfx.util.ColorUtils
- combine(Function<Node, Set<Node>>, Function<Node, Set<Node>>) - Static method in class org.testfx.util.NodeQueryUtils
-
Returns a function that returns a
Setof allNodes that maps the given node byfunction0and then byfunction1). - combine(T, Collection<Function<T, Set<T>>>) - Static method in class org.testfx.util.NodeQueryUtils
- ComboBoxAssert<T> - Class in org.testfx.assertions.api
-
Assertion methods for
ComboBoxs. - ComboBoxAssert(ComboBox<T>) - Constructor for class org.testfx.assertions.api.ComboBoxAssert
- ComboBoxMatchers - Class in org.testfx.matcher.control
-
TestFX matchers for
ComboBoxcontrols. - ComboBoxMatchers() - Constructor for class org.testfx.matcher.control.ComboBoxMatchers
- compose(Function<StringBuilder, StringBuilder>...) - Static method in class org.testfx.util.DebugUtils
-
Composes multiple functions together into one.
- computePositionFactors(Pos) - Static method in class org.testfx.util.PointQueryUtils
-
Computes the width/height factors for the point defined by the given
position. - computePositionX(HPos) - Static method in class org.testfx.util.PointQueryUtils
- computePositionY(VPos) - Static method in class org.testfx.util.PointQueryUtils
- CONDITION_SLEEP_IN_MILLIS - Static variable in class org.testfx.util.WaitForAsyncUtils
- containsExactlyItems(ComboBox<?>, Object...) - Static method in class org.testfx.matcher.control.ComboBoxMatchers
- containsExactlyItems(T...) - Method in class org.testfx.assertions.api.AbstractComboBoxAssert
-
Verifies that the actual
ComboBoxcontains exactly the givenitemsin any order. - containsExactlyItems(T...) - Static method in class org.testfx.matcher.control.ComboBoxMatchers
-
Creates a matcher that matches all
ComboBoxes that only have all of the givenitems, regardless of the order of their appearance. - containsExactlyItemsInOrder(ComboBox<?>, Object...) - Static method in class org.testfx.matcher.control.ComboBoxMatchers
- containsExactlyItemsInOrder(T...) - Method in class org.testfx.assertions.api.AbstractComboBoxAssert
-
Verifies that the actual
ComboBoxcontains exactly the givenitemsin order. - containsExactlyItemsInOrder(T...) - Static method in class org.testfx.matcher.control.ComboBoxMatchers
-
Creates a matcher that matches all
ComboBoxes that only have all of the givenitemsin the exact order they are given. - containsItems(ComboBox<?>, Object...) - Static method in class org.testfx.matcher.control.ComboBoxMatchers
- containsItems(T...) - Method in class org.testfx.assertions.api.AbstractComboBoxAssert
-
Verifies that the actual
ComboBoxcontains at least the givenitemsin any order. - containsItems(T...) - Static method in class org.testfx.matcher.control.ComboBoxMatchers
-
Creates a matcher that matches all
ComboBoxes that have all of the givenitems, regardless of whether it also contains other items and regardless of their order of appearance. - containsItemsInOrder(ComboBox<?>, Object...) - Static method in class org.testfx.matcher.control.ComboBoxMatchers
- containsItemsInOrder(T...) - Method in class org.testfx.assertions.api.AbstractComboBoxAssert
-
Verifies that the actual
ComboBoxcontains at least the givenitemsin order. - containsItemsInOrder(T...) - Static method in class org.testfx.matcher.control.ComboBoxMatchers
-
Creates a matcher that matches all
ComboBoxes that have all of the givenitemsin the exact order they appear, regardless of whether it also contains other items before or after this exact sequence. - containsRow(Object...) - Method in class org.testfx.assertions.api.AbstractTableViewAssert
-
Verifies that the actual
TableViewcontains the given tablecellsat any row index. - containsRow(Object...) - Static method in class org.testfx.matcher.control.TableViewMatchers
-
Creates a matcher that matches all
TableViews that have at least one row that contains the given values for each column of aTableView. - containsRow(TableView<T>, Object...) - Static method in class org.testfx.matcher.control.TableViewMatchers
- containsRowAtIndex(int, Object...) - Method in class org.testfx.assertions.api.AbstractTableViewAssert
-
Verifies that the actual
TableViewcontains the given tablecellsat the givenrowIndex. - containsRowAtIndex(int, Object...) - Static method in class org.testfx.matcher.control.TableViewMatchers
-
Creates a matcher that matches all
TableViews that have a row at the givenindexthat contains the given values for each column of aTableView. - containsRowAtIndex(TableView<T>, int, Object...) - Static method in class org.testfx.matcher.control.TableViewMatchers
- context - Static variable in class org.testfx.api.FxAssert
- context - Variable in class org.testfx.api.FxRobot
- context - Static variable in class org.testfx.api.FxService
- CONTEXT - Static variable in class org.testfx.api.FxToolkit
- convertFromGlassColor(int) - Method in class org.testfx.service.adapter.impl.PrivateGlassRobotAdapter
- convertFromGlassPixels(Object) - Method in class org.testfx.service.adapter.impl.PrivateGlassRobotAdapter
- convertToAwtButton(MouseButton) - Method in class org.testfx.service.adapter.impl.AwtRobotAdapter
- convertToButtonId(MouseButton) - Method in class org.testfx.service.adapter.impl.PrivateGlassRobotAdapter
- convertToKeyCodeId(KeyCode) - Static method in class org.testfx.internal.JavaVersionAdapter
- createApplication(Class<? extends Application>) - Method in class org.testfx.toolkit.impl.ToolkitServiceImpl
- createAwtRobot() - Method in class org.testfx.service.adapter.impl.AwtRobotAdapter
- createEmptyMatchImage(Image, Image) - Method in class org.testfx.service.support.impl.PixelMatcherRgb
- createEmptyMatchImage(Image, Image) - Method in interface org.testfx.service.support.PixelMatcher
-
Creates a new
WritableImageusingimage0's width andimage1's height. - createGlassRobot() - Static method in class org.testfx.service.adapter.impl.GlassRobotAdapter
- createKeyEvent(EventType<KeyEvent>, KeyCode, String) - Method in class org.testfx.service.adapter.impl.JavafxRobotAdapter
- createMatchColor(Color, Color) - Method in class org.testfx.service.support.impl.PixelMatcherRgb
- createMatchColor(Color, Color) - Method in interface org.testfx.service.support.PixelMatcher
-
Creates a color that represents a match between the two images' pixels.
- createMouseEvent(EventType<MouseEvent>, double, double, MouseButton, int) - Method in class org.testfx.service.adapter.impl.JavafxRobotAdapter
- createNonMatchColor(Color, Color) - Method in interface org.testfx.service.support.PixelMatcher
-
Creates a color that represents a mismatch between the two images' pixels.
- createScrollEvent(int) - Method in class org.testfx.service.adapter.impl.JavafxRobotAdapter
- CSS_CLASS_SELECTOR_PREFIX - Static variable in class org.testfx.service.query.impl.NodeQueryImpl
- CSS_ID_SELECTOR_PREFIX - Static variable in class org.testfx.service.query.impl.NodeQueryImpl
- currentAttempt - Variable in class org.testfx.framework.junit.TestFXRule
- currentJavaVersion - Static variable in class org.testfx.internal.JavaVersionAdapter
- currentVersion() - Static method in class org.testfx.internal.JavaVersionAdapter
D
- DebugUtils - Class in org.testfx.util
-
Utility class for displaying additional info, running code, or capturing an image of a test whenever a test fails using
FxAssert.verifyThat(Node, Matcher)or its related methods. - DebugUtils() - Constructor for class org.testfx.util.DebugUtils
- DEFAULT - org.testfx.robot.Motion
- DEFAULT_FORMAT - Static variable in class org.testfx.service.support.impl.CaptureSupportImpl
- DEFAULT_INDENT - Static variable in class org.testfx.util.DebugUtils
-
The default indentation to use for spacing between items of the error messages, defaults to three spaces.
- DEFAULT_PHOTO_NUMBER - Static variable in class org.testfx.util.DebugUtils
- defaultImagePath() - Static method in class org.testfx.util.DebugUtils
-
Returns
DebugUtils.defaultImagePath(String, int)with "testfx-test" as the test name andgets and incrementsthe next photo number. - defaultImagePath(String) - Static method in class org.testfx.util.DebugUtils
-
Returns
() -> Paths.get(testName + " - 0.png"); - defaultImagePath(String, int) - Static method in class org.testfx.util.DebugUtils
-
Returns
() -> Paths.get(testName + " - " photoNumber + ".png"); - DefaultThreadFactory() - Constructor for class org.testfx.util.WaitForAsyncUtils.DefaultThreadFactory
- determineKeyCode(char) - Method in class org.testfx.robot.impl.WriteRobotImpl
- Dimension2DAssert - Class in org.testfx.assertions.api
-
Assertion methods for
Dimension2Ds. - Dimension2DAssert(Dimension2D) - Constructor for class org.testfx.assertions.api.Dimension2DAssert
- DIRECT - org.testfx.robot.Motion
- doesNotContainRow(Object...) - Method in class org.testfx.assertions.api.AbstractTableViewAssert
-
Verifies that the actual
TableViewdoes not contain the given tablecellsat any row index. - doesNotContainRowAtIndex(int, Object...) - Method in class org.testfx.assertions.api.AbstractTableViewAssert
-
Verifies that the actual
TableViewdoes not contain the given tablecellsat the givenrowIndex. - doesNotHaveChild(String) - Method in class org.testfx.assertions.api.AbstractNodeAssert
-
Verifies that the actual
Nodedoes not have a specific childNode. - doesNotHaveClosestNamedColor(String) - Method in class org.testfx.assertions.api.AbstractColorAssert
-
Verifies that the actual
Colordoes not have the givennamedColoras their closest named color. - doesNotHaveClosestNamedColor(Color) - Method in class org.testfx.assertions.api.AbstractColorAssert
-
Verifies that the actual
Colordoes not have the givennamedColoras their closest named color. - doesNotHaveColoredText(String) - Method in class org.testfx.assertions.api.AbstractTextFlowAssert
-
Verifies that the actual
TextFlowdoes not have the givencoloredTextMarkup. - doesNotHaveDimension(double, double) - Method in class org.testfx.assertions.api.AbstractDimension2DAssert
-
Verifies that the actual
Dimension2Ddoes not have either the givenwidthand/orheight. - doesNotHaveExactlyColoredText(String) - Method in class org.testfx.assertions.api.AbstractTextFlowAssert
-
Verifies that the actual
TextFlowdoes not have exactly the givencoloredTextMarkup. - doesNotHaveExactlyNumChildren(int) - Method in class org.testfx.assertions.api.AbstractParentAssert
-
Verifies that the actual
Parentdoes not have exactly the givenamountof children. - doesNotHaveExactlyNumItems(int) - Method in class org.testfx.assertions.api.AbstractComboBoxAssert
-
Verifies that the actual
ComboBoxdoes not have exactly the givenamountof items. - doesNotHaveExactlyNumItems(int) - Method in class org.testfx.assertions.api.AbstractListViewAssert
-
Verifies that the actual
ListViewdoes not have exactly the givenamountof items. - doesNotHaveExactlyNumRows(int) - Method in class org.testfx.assertions.api.AbstractTableViewAssert
-
Verifies that the actual
TableViewdoes not have exactly the givenamountof rows. - doesNotHaveFont(Font) - Method in class org.testfx.assertions.api.AbstractTextAssert
-
Verifies that the actual
Textdoes not have the givenfont. - doesNotHaveFontSmoothingType(FontSmoothingType) - Method in class org.testfx.assertions.api.AbstractTextAssert
-
Verifies that the actual
Textdoes not have the givensmoothingType(eitherFontSmoothingType.GRAYorFontSmoothingType.LCD). - doesNotHaveId(String) - Method in class org.testfx.assertions.api.AbstractStyleableAssert
-
Verifies that the actual
Styleabledoes not have the given CSS id. - doesNotHaveListCell(Object) - Method in class org.testfx.assertions.api.AbstractListViewAssert
-
Verifies that the actual
ListViewdoes not contain the given list cellvalue. - doesNotHavePlaceholder(Node) - Method in class org.testfx.assertions.api.AbstractListViewAssert
-
Verifies that the actual
ListViewdoes not have the givenplaceHoldernode. - doesNotHaveSelectedItem(T) - Method in class org.testfx.assertions.api.AbstractComboBoxAssert
-
Verifies that the actual
ComboBoxdoes not have the givenselectionas its' selected item. - doesNotHaveStrikethrough() - Method in class org.testfx.assertions.api.AbstractTextAssert
-
Verifies that the actual
Textdoes not have strikethrough (that is, should be drawn with a line through it). - doesNotHaveStyle(String) - Method in class org.testfx.assertions.api.AbstractStyleableAssert
-
Verifies that the actual
Styleabledoes not have the given CSS style. - doesNotHaveStyleableParent(Styleable) - Method in class org.testfx.assertions.api.AbstractStyleableAssert
-
Verifies that the actual
Styleabledoes not have the given parent. - doesNotHaveTableCell(Object) - Method in class org.testfx.assertions.api.AbstractTableViewAssert
-
Verifies that the actual
TableViewdoes not contain the given table cellexpectedValue. - doesNotHaveText(String) - Method in class org.testfx.assertions.api.AbstractLabeledAssert
-
Verifies that the actual
Labeleddoes not have exactly the giventext. - doesNotHaveText(String) - Method in class org.testfx.assertions.api.AbstractMenuItemAssert
-
Verifies that the actual
Menudoes not have exactly the giventext. - doesNotHaveText(String) - Method in class org.testfx.assertions.api.AbstractTextAssert
-
Verifies that the actual
Textdoes not have exactly the giventext. - doesNotHaveText(String) - Method in class org.testfx.assertions.api.AbstractTextFlowAssert
-
Verifies that the actual
TextFlowdoes not have exactly the giventext(the result of combining all of its text-based children's text together). - doesNotHaveText(String) - Method in class org.testfx.assertions.api.AbstractTextInputControlAssert
-
Verifies that the actual
TextInputControldoes not have exactly the giventext. - doesNotHaveText(Matcher<String>) - Method in class org.testfx.assertions.api.AbstractLabeledAssert
-
Verifies that the actual
Labeledis not matched by the givenmatcher. - doesNotHaveText(Matcher<String>) - Method in class org.testfx.assertions.api.AbstractMenuItemAssert
-
Verifies that the actual
MenuItemis not matched by the givenmatcher. - doesNotHaveText(Matcher<String>) - Method in class org.testfx.assertions.api.AbstractTextAssert
-
Verifies that the actual
Textis not matched by the givenmatcher. - doesNotHaveText(Matcher<String>) - Method in class org.testfx.assertions.api.AbstractTextInputControlAssert
-
Verifies that the actual
TextInputControlis not matched by the givenmatcher. - doesNotHaveTypeSelector(String) - Method in class org.testfx.assertions.api.AbstractStyleableAssert
-
Verifies that the actual
Styleabledoes not have the given type selector. - doesNotHaveVisiblePlaceholder(Node) - Method in class org.testfx.assertions.api.AbstractListViewAssert
-
Verifies that the actual
ListViewdoes not have the given visibleplaceHolder. - doubleClickOn(double, double, MouseButton...) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse directly to the point returned from
FxRobotInterface.point(double, double), double clicks the given buttons, and returns itself for method chaining. - doubleClickOn(double, double, Motion, MouseButton...) - Method in class org.testfx.api.FxRobot
- doubleClickOn(double, double, Motion, MouseButton...) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse using the given
motion(see:Motionto the point returned fromFxRobotInterface.point(double, double), double clicks the given buttons, and returns itself for method chaining. - doubleClickOn(String, MouseButton...) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse directly to the point returned from
FxRobotInterface.point(String), double clicks the given buttons, and returns itself for method chaining. - doubleClickOn(String, Motion, MouseButton...) - Method in class org.testfx.api.FxRobot
- doubleClickOn(String, Motion, MouseButton...) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse using the given
motion(see:Motionto the point returned fromFxRobotInterface.point(String), double clicks the given buttons, and returns itself for method chaining. - doubleClickOn(Predicate<T>, MouseButton...) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse directly to the point returned from
FxRobotInterface.point(Predicate), double clicks the given buttons, and returns itself for method chaining. - doubleClickOn(Predicate<T>, Motion, MouseButton...) - Method in class org.testfx.api.FxRobot
- doubleClickOn(Predicate<T>, Motion, MouseButton...) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse using the given
motion(see:Motionto the point returned fromFxRobotInterface.point(Predicate), double clicks the given buttons, and returns itself for method chaining. - doubleClickOn(Bounds, MouseButton...) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse directly to the point returned from
FxRobotInterface.point(Bounds), double clicks the given buttons, and returns itself for method chaining. - doubleClickOn(Bounds, Motion, MouseButton...) - Method in class org.testfx.api.FxRobot
- doubleClickOn(Bounds, Motion, MouseButton...) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse using the given
motion(see:Motionto the point returned fromFxRobotInterface.point(Bounds), double clicks the given buttons, and returns itself for method chaining. - doubleClickOn(Point2D, MouseButton...) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse directly to the point returned from
FxRobotInterface.point(Point2D), double clicks the given buttons, and returns itself for method chaining. - doubleClickOn(Point2D, Motion, MouseButton...) - Method in class org.testfx.api.FxRobot
- doubleClickOn(Point2D, Motion, MouseButton...) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse using the given
motion(see:Motionto the point returned fromFxRobotInterface.point(Point2D), double clicks the given buttons, and returns itself for method chaining. - doubleClickOn(MouseButton...) - Method in class org.testfx.api.FxRobot
- doubleClickOn(MouseButton...) - Method in interface org.testfx.api.FxRobotInterface
-
Calls
ClickRobot.doubleClickOn(MouseButton...)and returns itself for more method chaining. - doubleClickOn(MouseButton...) - Method in interface org.testfx.robot.ClickRobot
-
Double-clicks whatever is under the mouse.
- doubleClickOn(MouseButton...) - Method in class org.testfx.robot.impl.ClickRobotImpl
- doubleClickOn(Node, MouseButton...) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse directly to the point returned from
FxRobotInterface.point(Node), double clicks the given buttons, and returns itself for method chaining. - doubleClickOn(Node, Motion, MouseButton...) - Method in class org.testfx.api.FxRobot
- doubleClickOn(Node, Motion, MouseButton...) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse using the given
motion(see:Motionto the point returned fromFxRobotInterface.point(Node), double clicks the given buttons, and returns itself for method chaining. - doubleClickOn(Scene, MouseButton...) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse directly to the point returned from
FxRobotInterface.point(Scene), double clicks the given buttons, and returns itself for method chaining. - doubleClickOn(Scene, Motion, MouseButton...) - Method in class org.testfx.api.FxRobot
- doubleClickOn(Scene, Motion, MouseButton...) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse using the given
motion(see:Motionto the point returned fromFxRobotInterface.point(Scene), double clicks the given buttons, and returns itself for method chaining. - doubleClickOn(Window, MouseButton...) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse directly to the point returned from
FxRobotInterface.point(Window), double clicks the given buttons, and returns itself for method chaining. - doubleClickOn(Window, Motion, MouseButton...) - Method in class org.testfx.api.FxRobot
- doubleClickOn(Window, Motion, MouseButton...) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse using the given
motion(see:Motionto the point returned fromFxRobotInterface.point(Window), double clicks the given buttons, and returns itself for method chaining. - doubleClickOn(Matcher<T>, MouseButton...) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse directly to the point returned from
FxRobotInterface.point(Matcher), double clicks the given buttons, and returns itself for method chaining. - doubleClickOn(Matcher<T>, Motion, MouseButton...) - Method in class org.testfx.api.FxRobot
- doubleClickOn(Matcher<T>, Motion, MouseButton...) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse using the given
motion(see:Motionto the point returned fromFxRobotInterface.point(Matcher), double clicks the given buttons, and returns itself for method chaining. - doubleClickOn(PointQuery, MouseButton...) - Method in interface org.testfx.api.FxRobotInterface
-
Calls
ClickRobot.doubleClickOn(PointQuery, Motion, MouseButton...)and returns itself for method chaining. - doubleClickOn(PointQuery, MouseButton...) - Method in interface org.testfx.robot.ClickRobot
-
Moves the mouse directly to the location specified by the given
PointQuery.query()and double-clicks whatever is under it. - doubleClickOn(PointQuery, Motion, MouseButton...) - Method in class org.testfx.api.FxRobot
- doubleClickOn(PointQuery, Motion, MouseButton...) - Method in interface org.testfx.api.FxRobotInterface
-
Calls
ClickRobot.doubleClickOn(PointQuery, Motion, MouseButton...)and returns itself for method chaining. - doubleClickOn(PointQuery, Motion, MouseButton...) - Method in interface org.testfx.robot.ClickRobot
-
Moves the mouse to the location specified by the given
PointQuery.query()using the specifiedmotion(see:Motionand double-clicks whatever is under it. - doubleClickOn(PointQuery, Motion, MouseButton...) - Method in class org.testfx.robot.impl.ClickRobotImpl
- drag(double, double, MouseButton...) - Method in class org.testfx.api.FxRobot
- drag(double, double, MouseButton...) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse to the point returned from
FxRobotInterface.point(double, double), presses the given buttons, and returns itself for method chaining. - drag(String, MouseButton...) - Method in class org.testfx.api.FxRobot
- drag(String, MouseButton...) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse to the point returned from
FxRobotInterface.point(String), presses the given buttons, and returns itself for method chaining. - drag(Predicate<T>, MouseButton...) - Method in class org.testfx.api.FxRobot
- drag(Predicate<T>, MouseButton...) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse to the point returned from
FxRobotInterface.point(Predicate), presses the given buttons, and returns itself for method chaining. - drag(Bounds, MouseButton...) - Method in class org.testfx.api.FxRobot
- drag(Bounds, MouseButton...) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse to the point returned from
FxRobotInterface.point(Bounds), presses the given buttons, and returns itself for method chaining. - drag(Point2D, MouseButton...) - Method in class org.testfx.api.FxRobot
- drag(Point2D, MouseButton...) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse to the point returned from
FxRobotInterface.point(Point2D), presses the given buttons, and returns itself for method chaining. - drag(MouseButton...) - Method in class org.testfx.api.FxRobot
- drag(MouseButton...) - Method in interface org.testfx.api.FxRobotInterface
-
Calls
DragRobot.drag(MouseButton...)and returns itself for more method chaining. - drag(MouseButton...) - Method in interface org.testfx.robot.DragRobot
-
Presses the given mouse button(s) on whatever is under the mouse's current location.
- drag(MouseButton...) - Method in class org.testfx.robot.impl.DragRobotImpl
- drag(Node, MouseButton...) - Method in class org.testfx.api.FxRobot
- drag(Node, MouseButton...) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse to the point returned from
FxRobotInterface.point(Node), presses the given buttons, and returns itself for method chaining. - drag(Scene, MouseButton...) - Method in class org.testfx.api.FxRobot
- drag(Scene, MouseButton...) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse to the point returned from
FxRobotInterface.point(Scene), presses the given buttons, and returns itself for method chaining. - drag(Window, MouseButton...) - Method in class org.testfx.api.FxRobot
- drag(Window, MouseButton...) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse to the point returned from
FxRobotInterface.point(Window), presses the given buttons, and returns itself for method chaining. - drag(Matcher<T>, MouseButton...) - Method in class org.testfx.api.FxRobot
- drag(Matcher<T>, MouseButton...) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse to the point returned from
FxRobotInterface.point(Matcher), presses the given buttons, and returns itself for method chaining. - drag(PointQuery, MouseButton...) - Method in class org.testfx.api.FxRobot
- drag(PointQuery, MouseButton...) - Method in interface org.testfx.api.FxRobotInterface
-
Calls
DragRobot.drag(PointQuery, MouseButton...)and returns itself for more method chaining. - drag(PointQuery, MouseButton...) - Method in interface org.testfx.robot.DragRobot
-
Moves the mouse to the location specified by the given
PointQuery.query()and then presses the given mouse button(s) on whatever is under the mouse's new location. - drag(PointQuery, MouseButton...) - Method in class org.testfx.robot.impl.DragRobotImpl
- dragRobot - Variable in class org.testfx.api.FxRobotContext
- DragRobot - Interface in org.testfx.robot
- DragRobotImpl - Class in org.testfx.robot.impl
- DragRobotImpl(MouseRobot, MoveRobot) - Constructor for class org.testfx.robot.impl.DragRobotImpl
- drop() - Method in class org.testfx.api.FxRobot
- drop() - Method in interface org.testfx.api.FxRobotInterface
-
Calls
DragRobot.drop()and returns itself for more method chaining. - drop() - Method in interface org.testfx.robot.DragRobot
-
Releases the mouse at its' current position.
- drop() - Method in class org.testfx.robot.impl.DragRobotImpl
- dropBy(double, double) - Method in class org.testfx.api.FxRobot
- dropBy(double, double) - Method in interface org.testfx.api.FxRobotInterface
-
Calls
DragRobot.dropBy(double, double)and returns itself for more method chaining. - dropBy(double, double) - Method in interface org.testfx.robot.DragRobot
-
Moves the mouse horizontally by
xand vertically byybefore releasing the mouse. - dropBy(double, double) - Method in class org.testfx.robot.impl.DragRobotImpl
- dropTo(double, double) - Method in class org.testfx.api.FxRobot
- dropTo(double, double) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse to the point returned from
FxRobotInterface.point(double, double), releases the buttons that were pressed inFxRobotInterface.drag(MouseButton...)- orFxRobotInterface.press(MouseButton...)-related methods, and returns itself for method chaining. - dropTo(String) - Method in class org.testfx.api.FxRobot
- dropTo(String) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse to the point returned from
FxRobotInterface.point(String), releases the buttons that were pressed inFxRobotInterface.drag(MouseButton...)- orFxRobotInterface.press(MouseButton...)-related methods, and returns itself for method chaining. - dropTo(Predicate<T>) - Method in class org.testfx.api.FxRobot
- dropTo(Predicate<T>) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse to the point returned from
FxRobotInterface.point(Predicate), releases the buttons that were pressed inFxRobotInterface.drag(MouseButton...)- orFxRobotInterface.press(MouseButton...)-related methods, and returns itself for method chaining. - dropTo(Bounds) - Method in class org.testfx.api.FxRobot
- dropTo(Bounds) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse to the point returned from
FxRobotInterface.point(Bounds), releases the buttons that were pressed inFxRobotInterface.drag(MouseButton...)- orFxRobotInterface.press(MouseButton...)-related methods, and returns itself for method chaining. - dropTo(Point2D) - Method in class org.testfx.api.FxRobot
- dropTo(Point2D) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse to the point returned from
FxRobotInterface.point(Point2D), releases the buttons that were pressed inFxRobotInterface.drag(MouseButton...)- orFxRobotInterface.press(MouseButton...)-related methods, and returns itself for method chaining. - dropTo(Node) - Method in class org.testfx.api.FxRobot
- dropTo(Node) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse to the point returned from
FxRobotInterface.point(Node), releases the buttons that were pressed inFxRobotInterface.drag(MouseButton...)- orFxRobotInterface.press(MouseButton...)-related methods, and returns itself for method chaining. - dropTo(Scene) - Method in class org.testfx.api.FxRobot
- dropTo(Scene) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse to the point returned from
FxRobotInterface.point(Scene), releases the buttons that were pressed inFxRobotInterface.drag(MouseButton...)- orFxRobotInterface.press(MouseButton...)-related methods, and returns itself for method chaining. - dropTo(Window) - Method in class org.testfx.api.FxRobot
- dropTo(Window) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse to the point returned from
FxRobotInterface.point(Window), releases the buttons that were pressed inFxRobotInterface.drag(MouseButton...)- orFxRobotInterface.press(MouseButton...)-related methods, and returns itself for method chaining. - dropTo(Matcher<T>) - Method in class org.testfx.api.FxRobot
- dropTo(Matcher<T>) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse to the point returned from
FxRobotInterface.point(Matcher), releases the buttons that were pressed inFxRobotInterface.drag(MouseButton...)- orFxRobotInterface.press(MouseButton...)-related methods, and returns itself for method chaining. - dropTo(PointQuery) - Method in class org.testfx.api.FxRobot
- dropTo(PointQuery) - Method in interface org.testfx.api.FxRobotInterface
-
Calls
DragRobot.dropTo(PointQuery)and returns itself for more method chaining. - dropTo(PointQuery) - Method in interface org.testfx.robot.DragRobot
-
Moves the mouse to the location specified by the given
PointQuery.query()and then releases the mouse. - dropTo(PointQuery) - Method in class org.testfx.robot.impl.DragRobotImpl
E
- EmptyNodeQueryException - Exception in org.testfx.service.query
- EmptyNodeQueryException(String) - Constructor for exception org.testfx.service.query.EmptyNodeQueryException
- eraseText(int) - Method in class org.testfx.api.FxRobot
- eraseText(int) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Calls
TypeRobot.type(KeyCode, int)withKeyCode.BACK_SPACEand returns itself for more method chaining. - errors - Variable in class org.testfx.framework.junit.TestFXRule
- events - Variable in class org.testfx.service.support.FiredEvents
- exception - Variable in class org.testfx.util.WaitForAsyncUtils.ASyncFXCallable
-
The unhandled exception.
- EXCEPTIONS - Static variable in class org.testfx.util.WaitForAsyncUtils
- ExceptionWrapper() - Constructor for class org.testfx.framework.junit5.utils.FXUtils.ExceptionWrapper
- EXECUTOR_SERVICE - Static variable in class org.testfx.util.WaitForAsyncUtils
- externalResource(Statement) - Method in class org.testfx.framework.junit.ApplicationRule
F
- fetchCallableBounds() - Method in class org.testfx.service.query.impl.CallableBoundsPointQuery
- fetchTargetWindow() - Method in class org.testfx.robot.impl.WriteRobotImpl
- fetchWindowsByProximityTo(Window) - Method in class org.testfx.service.finder.impl.WindowFinderImpl
- fetchWindowsInQueue() - Method in class org.testfx.service.finder.impl.WindowFinderImpl
- filterKeyCodes(KeyCodeCombination) - Method in class org.testfx.robot.impl.TypeRobotImpl
- firedEvents - Variable in class org.testfx.api.FxToolkitContext
- FiredEvents - Class in org.testfx.service.support
-
Stores a list of events that have been fired since the start of a test; useful for debugging.
- FiredEvents(Stage) - Constructor for class org.testfx.service.support.FiredEvents
- FIRST_MAJOR_VERSION_ORDINAL - Static variable in enum org.testfx.internal.JavaVersionAdapter.JavaVersion
- from(Throwable[]) - Static method in exception org.testfx.framework.junit.TestFXRule.RetryException
- from(Collection<Node>) - Method in class org.testfx.api.FxRobot
- from(Collection<Node>) - Method in interface org.testfx.api.FxRobotInterface
-
Calls
NodeFinder.from(Collection)and returns itself for method chaining. - from(Collection<Node>) - Method in class org.testfx.service.finder.impl.NodeFinderImpl
- from(Collection<Node>) - Method in interface org.testfx.service.finder.NodeFinder
-
Returns a
NodeQuerythat stores the given parentNodes collection. - from(Collection<Node>) - Method in class org.testfx.service.query.impl.NodeQueryImpl
- from(Collection<Node>) - Method in interface org.testfx.service.query.NodeQuery
-
Stores all given
parentNodeswithin this NodeQuery. - from(Node...) - Method in class org.testfx.api.FxRobot
- from(Node...) - Method in interface org.testfx.api.FxRobotInterface
-
Calls
NodeFinder.from(Node...)and returns itself for method chaining. - from(Node...) - Method in class org.testfx.service.finder.impl.NodeFinderImpl
- from(Node...) - Method in interface org.testfx.service.finder.NodeFinder
-
Returns a
NodeQuerythat stores the given parentNodes - from(Node...) - Method in class org.testfx.service.query.impl.NodeQueryImpl
- from(Node...) - Method in interface org.testfx.service.query.NodeQuery
-
Stores all given
parentNodeswithin this NodeQuery. - from(NodeQuery) - Method in class org.testfx.api.FxRobot
- from(NodeQuery) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Calls
NodeFinder.from(NodeQuery)and returns itself for method chaining. - from(NodeQuery) - Method in class org.testfx.service.finder.impl.NodeFinderImpl
- from(NodeQuery) - Method in interface org.testfx.service.finder.NodeFinder
-
Returns a new
NodeQuerythat stores all the parentNodes from the given nodeQuery (essentially, it creates a copy/clone). - fromAll() - Method in class org.testfx.api.FxRobot
- fromAll() - Method in interface org.testfx.api.FxRobotInterface
-
Calls
NodeFinder.fromAll()and returns itself for method chaining. - fromAll() - Method in class org.testfx.service.finder.impl.NodeFinderImpl
- fromAll() - Method in interface org.testfx.service.finder.NodeFinder
-
Returns a
NodeQuerythat stores all the root nodes of all windows viaWindowFinder.listTargetWindows() - fromInverseMatcher(Matcher<? extends T>) - Static method in class org.testfx.assertions.impl.Adapter
- fromMatcher(Matcher<? extends T>) - Static method in class org.testfx.assertions.impl.Adapter
- fromPopupControl(PopupControl) - Static method in class org.testfx.util.NodeQueryUtils
- fromScene(Scene) - Static method in class org.testfx.util.NodeQueryUtils
- fromStage(Stage) - Static method in class org.testfx.util.NodeQueryUtils
- fromWindow(Window) - Static method in class org.testfx.util.NodeQueryUtils
- FxAssert - Class in org.testfx.api
-
All TestFX tests should use
FxAssert.verifyThat(Node, Matcher, Function)when writing tests, so that the developer can useDebugUtilsto provide additional info as to why a test failed. - FxAssert() - Constructor for class org.testfx.api.FxAssert
- FxAssertContext - Class in org.testfx.api
-
Stores contextual information for
FxAssert: aNodeFinder, which defaults toFxServiceContext.getNodeFinder()aCaptureSupport, which defaults toFxServiceContext.getCaptureSupport() - FxAssertContext() - Constructor for class org.testfx.api.FxAssertContext
- FxRobot - Class in org.testfx.api
- FxRobot() - Constructor for class org.testfx.api.FxRobot
-
Constructs all robot-related implementations and sets
FxRobot.targetPos(Pos)toPos.CENTER. - FxRobotContext - Class in org.testfx.api
-
Stores the robot implementations, the window and node finders, position calculators, and capture support for
FxRobot. - FxRobotContext() - Constructor for class org.testfx.api.FxRobotContext
- FxRobotException - Exception in org.testfx.api
- FxRobotException(String) - Constructor for exception org.testfx.api.FxRobotException
- FxRobotInterface - Interface in org.testfx.api
-
Wrapper-like interface that makes it easier to chain together multiple robot methods while adding a number of convenience methods, such as finding a given node, scene or window via a
PointQuery, aPredicate, or aMatcher. - FxService - Class in org.testfx.api
-
Wrapper class that holds a static
FxServiceContextviaFxService.serviceContext()that is lazily created. - FxService() - Constructor for class org.testfx.api.FxService
- FxServiceContext - Class in org.testfx.api
- FxServiceContext() - Constructor for class org.testfx.api.FxServiceContext
- FxToolkit - Class in org.testfx.api
-
Responsible for setup and cleanup of JavaFX fixtures that need the JavaFX thread.
- FxToolkit() - Constructor for class org.testfx.api.FxToolkit
- FxToolkitContext - Class in org.testfx.api
-
Stores the contextual information for
FxToolkit: the primary stage future theApplicationas aClassobject the application's arguments the registeredStagethe timeout limit for launching an application the timeout limit for setting up a component - FxToolkitContext() - Constructor for class org.testfx.api.FxToolkitContext
- FXUtils - Class in org.testfx.framework.junit5.utils
-
Small tool to execute/call JavaFX GUI-related code from potentially non-JavaFX thread (equivalent to old: SwingUtilities.invokeLater(...) ...
- FXUtils() - Constructor for class org.testfx.framework.junit5.utils.FXUtils
- FXUtils.ExceptionWrapper - Class in org.testfx.framework.junit5.utils
- FXUtils.RunnableWithReturn<R> - Class in org.testfx.framework.junit5.utils
G
- GeneralMatchers - Class in org.testfx.matcher.base
- GeneralMatchers() - Constructor for class org.testfx.matcher.base.GeneralMatchers
- GeometryMatchers - Class in org.testfx.matcher.base
-
TestFX matchers for
Dimension2Dinstances. - GeometryMatchers() - Constructor for class org.testfx.matcher.base.GeometryMatchers
- get() - Method in class org.testfx.util.WaitForAsyncUtils.ASyncFXCallable
- get(long, TimeUnit) - Method in class org.testfx.util.WaitForAsyncUtils.ASyncFXCallable
- getActual(Matcher<? extends T>, T) - Static method in class org.testfx.assertions.impl.Adapter
- getApplicationArgs() - Method in class org.testfx.api.FxToolkitContext
- getApplicationClass() - Method in class org.testfx.api.FxToolkitContext
- getBaseRobot() - Method in class org.testfx.api.FxRobotContext
- getBaseRobot() - Method in class org.testfx.api.FxServiceContext
- getBounds() - Method in class org.testfx.service.query.impl.BoundsPointQuery
- getBoundsLocator() - Method in class org.testfx.api.FxRobotContext
- getCapturePixelColor(Point2D) - Method in class org.testfx.service.adapter.impl.AwtRobotAdapter
- getCapturePixelColor(Point2D) - Method in class org.testfx.service.adapter.impl.JavafxRobotAdapter
- getCapturePixelColor(Point2D) - Method in class org.testfx.service.adapter.impl.PrivateGlassRobotAdapter
- getCapturePixelColor(Point2D) - Method in class org.testfx.service.adapter.impl.PublicGlassRobotAdapter
- getCapturePixelColor(Point2D) - Method in interface org.testfx.service.adapter.RobotAdapter
-
Gets the color of a pixel at the given JavaFx coordinates.
- getCaptureRegion(Rectangle2D) - Method in class org.testfx.service.adapter.impl.AwtRobotAdapter
- getCaptureRegion(Rectangle2D) - Method in class org.testfx.service.adapter.impl.GlassRobotAdapter
- getCaptureRegion(Rectangle2D) - Method in class org.testfx.service.adapter.impl.JavafxRobotAdapter
- getCaptureRegion(Rectangle2D) - Method in interface org.testfx.service.adapter.RobotAdapter
-
Captures a region of the screen.
- getCaptureRegionRaw(Rectangle2D) - Method in class org.testfx.service.adapter.impl.AwtRobotAdapter
- getCaptureRegionRaw(Rectangle2D) - Method in class org.testfx.service.adapter.impl.GlassRobotAdapter
- getCaptureSupport() - Method in class org.testfx.api.FxAssertContext
- getCaptureSupport() - Method in class org.testfx.api.FxRobotContext
- getCaptureSupport() - Method in class org.testfx.api.FxServiceContext
- getCheckException() - Static method in class org.testfx.util.WaitForAsyncUtils
-
Pops an exception from the stack and adds an entry in the stack trace to notify the user that this is not the original place of the exception.
- getClickRobot() - Method in class org.testfx.api.FxRobotContext
- getClosestNamedColor(int, int, int) - Static method in class org.testfx.util.ColorUtils
-
Returns the named color that is closest to the given color, supplied as an RGB color value.
- getClosestNamedColor(Integer) - Static method in class org.testfx.util.ColorUtils
-
Returns the named color that is closest to the given hex code color value.
- getClosestNamedColor(Color) - Static method in class org.testfx.util.ColorUtils
-
Returns the named color that is closest to the given
color. - getColoredTextMarkup(TextFlow, boolean) - Static method in class org.testfx.matcher.control.TextFlowMatchers
- getColorText(Color) - Static method in class org.testfx.matcher.base.ColorMatchers
- getDragRobot() - Method in class org.testfx.api.FxRobotContext
- getErrorMessage(Matcher<? extends T>, T, boolean) - Static method in class org.testfx.assertions.impl.Adapter
- getEvents() - Method in class org.testfx.service.support.FiredEvents
- getEventTarget(Scene) - Method in class org.testfx.service.adapter.impl.JavafxRobotAdapter
- getFiredEvents() - Method in class org.testfx.api.FxToolkitContext
- getHostServices() - Method in class org.testfx.framework.junit5.ApplicationTest
-
Deprecated.
- getImage() - Method in interface org.testfx.service.support.Capture
- getItemsString(ComboBox<?>) - Static method in class org.testfx.matcher.control.ComboBoxMatchers
- getItemsString(ListView<?>) - Static method in class org.testfx.matcher.control.ListViewMatchers
- getKeyboardRobot() - Method in class org.testfx.api.FxRobotContext
- getLaunchTimeoutInMillis() - Method in class org.testfx.api.FxToolkitContext
- getMajorVersion() - Method in enum org.testfx.internal.JavaVersionAdapter.JavaVersion
- getMatchFactor() - Method in class org.testfx.service.support.PixelMatcherResult
-
Gets the percentage of pixels that matched between the two original images.
- getMatchImage() - Method in class org.testfx.service.support.PixelMatcherResult
-
Gets the image whose pixels indicate matches and mismatches between the two original images.
- getMatchPixels() - Method in class org.testfx.service.support.PixelMatcherResult
-
Gets the total number of pixels that matched between the two original images.
- getMouseLocation() - Method in class org.testfx.service.adapter.impl.AwtRobotAdapter
- getMouseLocation() - Method in class org.testfx.service.adapter.impl.JavafxRobotAdapter
- getMouseLocation() - Method in class org.testfx.service.adapter.impl.PrivateGlassRobotAdapter
- getMouseLocation() - Method in class org.testfx.service.adapter.impl.PublicGlassRobotAdapter
- getMouseLocation() - Method in interface org.testfx.service.adapter.RobotAdapter
-
Returns the current position of the cursor in JavaFx coordinates
- getMouseRobot() - Method in class org.testfx.api.FxRobotContext
- getMoveRobot() - Method in class org.testfx.api.FxRobotContext
- getNamedColor(int, int, int) - Static method in class org.testfx.util.ColorUtils
-
Returns an
Optionalwith a value of the named color that has exactly the given RGB color value, if it exists. - getNamedColor(Integer) - Static method in class org.testfx.util.ColorUtils
-
Returns the named color that is exactly equal to the given hex code color value.
- getNamedColor(String) - Static method in class org.testfx.util.ColorUtils
-
Returns an
Optionalwith a value of the namedColorthat has the givenname, if it exists. - getNamedColor(Color) - Static method in class org.testfx.util.ColorUtils
-
Returns an
Optionalwith a value of the namedColorthat is equal to the givencolor, if it exists. - getNodeFinder() - Method in class org.testfx.api.FxAssertContext
- getNodeFinder() - Method in class org.testfx.api.FxRobotContext
- getNodeFinder() - Method in class org.testfx.api.FxServiceContext
- getNonMatchFactor() - Method in class org.testfx.service.support.PixelMatcherResult
-
Gets the percentage of pixels that did not match between the two original images.
- getNonMatchPixels() - Method in class org.testfx.service.support.PixelMatcherResult
-
Gets the total number of pixels that did not match between the two original images.
- getOffset() - Method in class org.testfx.service.query.impl.PointQueryBase
- getOffset() - Method in interface org.testfx.service.query.PointQuery
- getOs() - Static method in class org.testfx.internal.PlatformAdapter
-
Gets the operating system.
- getParameters() - Method in class org.testfx.framework.junit5.ApplicationTest
-
Deprecated.
- getPlaceHolderDescription(Node, boolean) - Static method in class org.testfx.matcher.control.ListViewMatchers
- getPointLocator() - Method in class org.testfx.api.FxRobotContext
- getPointPosition() - Method in class org.testfx.api.FxRobotContext
- getPosition() - Method in class org.testfx.service.query.impl.PointQueryBase
- getPosition() - Method in interface org.testfx.service.query.PointQuery
- getPressedButtons() - Method in class org.testfx.robot.impl.MouseRobotImpl
- getPressedButtons() - Method in interface org.testfx.robot.MouseRobot
-
Gets the mouse buttons that have been pressed but not yet released.
- getPressedKeys() - Method in class org.testfx.robot.impl.KeyboardRobotImpl
- getPressedKeys() - Method in interface org.testfx.robot.KeyboardRobot
-
Gets the keys that have been pressed and not yet released.
- getPrimaryStageFuture() - Method in class org.testfx.api.FxToolkitContext
- getRegisteredStage() - Method in class org.testfx.api.FxToolkitContext
- getReturnValue() - Method in class org.testfx.framework.junit5.utils.FXUtils.RunnableWithReturn
- getRobot() - Method in class org.testfx.service.adapter.impl.GlassRobotAdapter
- getRowValues(TableView<?>, int) - Static method in class org.testfx.matcher.control.TableViewMatchers
- getScreenCapture(Rectangle2D, boolean) - Method in class org.testfx.service.adapter.impl.GlassRobotAdapter
- getScreenCapture(Rectangle2D, boolean) - Method in class org.testfx.service.adapter.impl.PrivateGlassRobotAdapter
- getScreenCapture(Rectangle2D, boolean) - Method in class org.testfx.service.adapter.impl.PublicGlassRobotAdapter
- getScreenScaleX() - Static method in class org.testfx.internal.JavaVersionAdapter
- getScreenScaleY() - Static method in class org.testfx.internal.JavaVersionAdapter
- getScrollRobot() - Method in class org.testfx.api.FxRobotContext
- getSetupTimeoutInMillis() - Method in class org.testfx.api.FxToolkitContext
- getSleepRobot() - Method in class org.testfx.api.FxRobotContext
- getText(TextFlow) - Static method in class org.testfx.matcher.control.TextFlowMatchers
- getTotalPixels() - Method in class org.testfx.service.support.PixelMatcherResult
-
Gets the total number of pixels in the match image.
- getTypeRobot() - Method in class org.testfx.api.FxRobotContext
- getVersionForMajor(int) - Static method in class org.testfx.internal.JavaVersionAdapter
- getWindowFinder() - Method in class org.testfx.api.FxRobotContext
- getWindowFinder() - Method in class org.testfx.api.FxServiceContext
- getWindows() - Static method in class org.testfx.internal.JavaVersionAdapter
- getWriteRobot() - Method in class org.testfx.api.FxRobotContext
- GIF - org.testfx.service.support.CaptureFileFormat
- glassRobot - Variable in class org.testfx.service.adapter.impl.GlassRobotAdapter
- GlassRobotAdapter - Class in org.testfx.service.adapter.impl
- GlassRobotAdapter() - Constructor for class org.testfx.service.adapter.impl.GlassRobotAdapter
H
- handleCommonRuntimeExceptions(RuntimeException) - Static method in class org.testfx.api.FxToolkit
- hasAnyChild() - Method in class org.testfx.assertions.api.AbstractParentAssert
-
Verifies that the actual
Parenthas at least one child. - hasCellValue(Cell, Object) - Static method in class org.testfx.matcher.control.ListViewMatchers
- hasCellValue(Cell, Object) - Static method in class org.testfx.matcher.control.TableViewMatchers
- hasChild() - Static method in class org.testfx.matcher.base.ParentMatchers
-
Creates a matcher that matches all
Parents that have at least one child. - hasChild(String) - Method in class org.testfx.assertions.api.AbstractNodeAssert
-
Verifies that the actual
Nodehas a specific childNode. - hasChild(String) - Static method in class org.testfx.matcher.base.NodeMatchers
-
Creates a matcher that matches all
Nodes that have at least one child node that is found viaNodeQuery.lookup(String). - hasChild(Node, String) - Static method in class org.testfx.matcher.base.NodeMatchers
- hasChildren(int) - Static method in class org.testfx.matcher.base.ParentMatchers
-
Creates a matcher that matches all
Parents that have exactlyamountchildren. - hasChildren(int, String) - Static method in class org.testfx.matcher.base.NodeMatchers
-
Creates a matcher that matches all
Nodes that have exactlyamountchild nodes that are found viaNodeQuery.lookup(String). - hasChildren(Node, int, String) - Static method in class org.testfx.matcher.base.NodeMatchers
- hasClosestNamedColor(String) - Method in class org.testfx.assertions.api.AbstractColorAssert
-
Verifies that the actual
Colorhas the givennamedColoras their closest named color. - hasClosestNamedColor(String) - Static method in class org.testfx.matcher.base.ColorMatchers
-
Creates a matcher that matches all
Colors that have the given named colorStringas their closest JavaFX named color. - hasClosestNamedColor(Color) - Method in class org.testfx.assertions.api.AbstractColorAssert
-
Verifies that the actual
Colorhas the givennamedColoras their closest named color. - hasClosestNamedColor(Color) - Static method in class org.testfx.matcher.base.ColorMatchers
-
Creates a matcher that matches all
Colors that are exactly equal to the given JavaFX namedColor. - hasColoredText(String) - Method in class org.testfx.assertions.api.AbstractTextFlowAssert
-
Verifies that the actual
TextFlowhas the givencoloredTextMarkup. - hasColoredText(String) - Static method in class org.testfx.matcher.control.TextFlowMatchers
-
Allows one to verify both the content and color of the text that makes up a TextFlow.
- hasColoredText(TextFlow, String, boolean) - Static method in class org.testfx.matcher.control.TextFlowMatchers
- hasDimension(double, double) - Method in class org.testfx.assertions.api.AbstractDimension2DAssert
-
Verifies that the actual
Dimension2Dhas the givenwidthandheight. - hasDimension(double, double) - Static method in class org.testfx.matcher.base.GeometryMatchers
-
Creates a
TypeSafeMatcherthat matches when a givenDimension2D's width and height equal the given width and height. - hasDimension(Dimension2D, double, double) - Static method in class org.testfx.matcher.base.GeometryMatchers
- hasExactlyChildren(int, String) - Method in class org.testfx.assertions.api.AbstractNodeAssert
-
Verifies that the actual
Nodehas exactly the givenamountof children that are looked up by the givenquery, which is passed to is passed toNodeQuery.lookup(String). - hasExactlyColoredText(String) - Method in class org.testfx.assertions.api.AbstractTextFlowAssert
-
Verifies that the actual
TextFlowhas exactly the givencoloredTextMarkup. - hasExactlyColoredText(String) - Static method in class org.testfx.matcher.control.TextFlowMatchers
-
Allows one to verify both the content and color of the text that makes up a TextFlow.
- hasExactlyNumChildren(int) - Method in class org.testfx.assertions.api.AbstractParentAssert
-
Verifies that the actual
Parenthas exactly the givenamountof children. - hasExactlyNumItems(int) - Method in class org.testfx.assertions.api.AbstractComboBoxAssert
-
Verifies that the actual
ComboBoxhas exactly the givenamountof items. - hasExactlyNumItems(int) - Method in class org.testfx.assertions.api.AbstractListViewAssert
-
Verifies that the actual
ListViewhas exactly the givenamountof items. - hasExactlyNumRows(int) - Method in class org.testfx.assertions.api.AbstractTableViewAssert
-
Verifies that the actual
TableViewhas exactly the givenamountof rows. - hasFont(Font) - Method in class org.testfx.assertions.api.AbstractTextAssert
-
Verifies that the actual
Texthas the givenfont. - hasFont(Font) - Static method in class org.testfx.matcher.control.TextMatchers
-
Creates a matcher that matches all
Texts that have the givenfont. - hasFontSmoothingType(FontSmoothingType) - Method in class org.testfx.assertions.api.AbstractTextAssert
-
Verifies that the actual
Texthas the givensmoothingType(eitherFontSmoothingType.GRAYorFontSmoothingType.LCD). - hasFontSmoothingType(FontSmoothingType) - Static method in class org.testfx.matcher.control.TextMatchers
-
Creates a matcher that matches all
Texts that have the givensmoothingType(eitherFontSmoothingType.GRAYorFontSmoothingType.LCD). - hasId(String) - Method in class org.testfx.assertions.api.AbstractStyleableAssert
-
Verifies that the actual
Styleablehas the given CSS id. - hasId(String) - Static method in class org.testfx.matcher.base.StyleableMatchers
-
Creates a matcher that matches all
Styleableobjects that have the givenidas their CSS id. - hasId(String) - Static method in class org.testfx.util.NodeQueryUtils
-
Returns a predicate that returns true if the node's id equals the given
id. - hasItems(int) - Static method in class org.testfx.matcher.control.ComboBoxMatchers
-
Creates a matcher that matches all
ComboBoxes that have exactlyamountitems. - hasItems(int) - Static method in class org.testfx.matcher.control.ListViewMatchers
-
Creates a matcher that matches all
ListViews that have exactlyamountitems (i.e. - hasItems(int) - Static method in class org.testfx.matcher.control.TableViewMatchers
-
Deprecated.Use
TableViewMatchers.hasNumRows(int amount)instead. - hasItemValue(Object, Object) - Static method in class org.testfx.matcher.control.TableViewMatchers
- hasListCell(Object) - Method in class org.testfx.assertions.api.AbstractListViewAssert
-
Verifies that the actual
ListViewcontains the given list cellvalue. - hasListCell(Object) - Static method in class org.testfx.matcher.control.ListViewMatchers
-
Creates a matcher that matches all
ListViews that have one cell that equals the givenvalue. - hasListCell(ListView, Object) - Static method in class org.testfx.matcher.control.ListViewMatchers
- hasNoChildren() - Method in class org.testfx.assertions.api.AbstractParentAssert
-
Verifies that the actual
Parenthas no children. - hasNodeText(Node, String) - Static method in class org.testfx.util.NodeQueryUtils
- hasNumRows(int) - Static method in class org.testfx.matcher.control.TableViewMatchers
-
Creates a matcher that matches all
TableViews that have exactlyamountrows. - hasPlaceholder(ListView, Node) - Static method in class org.testfx.matcher.control.ListViewMatchers
- hasPlaceholder(Node) - Method in class org.testfx.assertions.api.AbstractListViewAssert
-
Verifies that the actual
ListViewhas the givenplaceHoldernode. - hasPlaceholder(Node) - Static method in class org.testfx.matcher.control.ListViewMatchers
-
Creates a matcher that matches
ListViews that have the givenplaceHolder. - hasSelectedItem(ComboBox<?>, T) - Static method in class org.testfx.matcher.control.ComboBoxMatchers
- hasSelectedItem(ListView<?>, Object) - Static method in class org.testfx.matcher.control.ListViewMatchers
- hasSelectedItem(T) - Method in class org.testfx.assertions.api.AbstractComboBoxAssert
-
Verifies that the actual
ComboBoxhas the givenselectionas its' selected item. - hasSelectedItem(T) - Static method in class org.testfx.matcher.control.ComboBoxMatchers
-
Creates a matcher that matches all
ComboBoxes that have givenselectionas its selected item. - hasSelectedRow(Object) - Static method in class org.testfx.matcher.control.ListViewMatchers
-
Creates a matcher that matches
ListViews that have the given value within their selection. - hasStageTitle(Stage, String) - Method in class org.testfx.service.finder.impl.WindowFinderImpl
- hasStageTitlePredicate(String) - Method in class org.testfx.service.finder.impl.WindowFinderImpl
- hasStrikethrough() - Method in class org.testfx.assertions.api.AbstractTextAssert
-
Verifies that the actual
Texthas strikethrough (that is, should be drawn with a line through it). - hasStrikethrough(boolean) - Static method in class org.testfx.matcher.control.TextMatchers
-
Creates a matcher that matches all
Texts that have strikethrough (that is, they should be drawn with a line through them). - hasStyle(String) - Method in class org.testfx.assertions.api.AbstractStyleableAssert
-
Verifies that the actual
Styleablehas the given CSS style. - hasStyle(String) - Static method in class org.testfx.matcher.base.StyleableMatchers
-
Creates a matcher that matches all
Styleableobjects that have the givenstyleas their CSS style. - hasStyleableParent(Styleable) - Method in class org.testfx.assertions.api.AbstractStyleableAssert
-
Verifies that the actual
Styleablehas the given parent. - hasStyleableParent(Styleable) - Static method in class org.testfx.matcher.base.StyleableMatchers
-
Creates a matcher that matches all
Styleableobjects that have the givenparentas their styleable parent. - hasTableCell(Object) - Method in class org.testfx.assertions.api.AbstractTableViewAssert
-
Verifies that the actual
TableViewcontains the given table cellexpectedValue. - hasTableCell(Object) - Static method in class org.testfx.matcher.control.TableViewMatchers
-
Creates a matcher that matches all
TableViews that has aTableCellwhose value orvalue.toString()equals the given value. - hasTableCell(TableView, Object) - Static method in class org.testfx.matcher.control.TableViewMatchers
- hasText(String) - Method in class org.testfx.assertions.api.AbstractLabeledAssert
-
Verifies that the actual
Labeledhas exactly the giventext. - hasText(String) - Method in class org.testfx.assertions.api.AbstractMenuItemAssert
-
Verifies that the actual
MenuItemhas exactly the giventext. - hasText(String) - Method in class org.testfx.assertions.api.AbstractTextAssert
-
Verifies that the actual
Texthas exactly the giventext. - hasText(String) - Method in class org.testfx.assertions.api.AbstractTextFlowAssert
-
Verifies that the actual
TextFlowhas exactly the giventext(the result of combining all of its text-based children's text together). - hasText(String) - Method in class org.testfx.assertions.api.AbstractTextInputControlAssert
-
Verifies that the actual
TextInputControlhas exactly the giventext. - hasText(String) - Static method in class org.testfx.matcher.control.LabeledMatchers
-
Creates a matcher that matches all
Labeledobjects that have the giventextas their text. - hasText(String) - Static method in class org.testfx.matcher.control.MenuItemMatchers
-
Creates a matcher that matches all
MenuItemobjects that have the giventextas their text in MenuItem. - hasText(String) - Static method in class org.testfx.matcher.control.TextFlowMatchers
-
Creates a matcher that matches all (
TextFlows whose "text" (the result of combining all of itsTextchildren'stexttogether) equals the givenstring. - hasText(String) - Static method in class org.testfx.matcher.control.TextInputControlMatchers
-
Creates a matcher that matches all
TextInputControls that have text equal to the giventext. - hasText(String) - Static method in class org.testfx.matcher.control.TextMatchers
-
Creates a matcher that matches all
Texts whose text equals the giventext. - hasText(String) - Static method in class org.testfx.util.NodeQueryUtils
-
Returns a predicate that returns true if the node is a
Label,TextInputControl, or any of their subclasses whose text equals the giventext. - hasText(TextFlow, String) - Static method in class org.testfx.matcher.control.TextFlowMatchers
- hasText(Matcher<String>) - Method in class org.testfx.assertions.api.AbstractLabeledAssert
-
Verifies that the actual
Labeledis matched by the givenmatcher. - hasText(Matcher<String>) - Method in class org.testfx.assertions.api.AbstractMenuItemAssert
-
Verifies that the actual
MenuItemis matched by the givenmatcher. - hasText(Matcher<String>) - Method in class org.testfx.assertions.api.AbstractTextAssert
-
Verifies that the actual
Textis matched by the givenmatcher. - hasText(Matcher<String>) - Method in class org.testfx.assertions.api.AbstractTextInputControlAssert
-
Verifies that the actual
TextInputControlis matched by the givenmatcher. - hasText(Matcher<String>) - Static method in class org.testfx.matcher.control.LabeledMatchers
-
Creates a matcher that matches all
Labeledobjects whose text matches the given matcher. - hasText(Matcher<String>) - Static method in class org.testfx.matcher.control.MenuItemMatchers
-
Creates a matcher that matches all
MenuItemobjects whose text matches the given matcher. - hasText(Matcher<String>) - Static method in class org.testfx.matcher.control.TextInputControlMatchers
-
Creates a matcher that matches all
TextInputControls that have text that matches the givenmatcher. - hasText(Matcher<String>) - Static method in class org.testfx.matcher.control.TextMatchers
-
Creates a matcher that matches all
Texts whose text matches the givenmatcher. - hasTypeSelector(String) - Method in class org.testfx.assertions.api.AbstractStyleableAssert
-
Verifies that the actual
Styleablehas the given type selector. - hasTypeSelector(String) - Static method in class org.testfx.matcher.base.StyleableMatchers
-
Creates a matcher that matches all
Styleableobjects that have the giventypeSelectoras their type selector. - hasVisiblePlaceholder(ListView, Node) - Static method in class org.testfx.matcher.control.ListViewMatchers
- hasVisiblePlaceholder(Node) - Method in class org.testfx.assertions.api.AbstractListViewAssert
-
Verifies that the actual
ListViewhas the givenplaceHoldernode and that the node is visible. - hasVisiblePlaceholder(Node) - Static method in class org.testfx.matcher.control.ListViewMatchers
-
Creates a matcher that matches
ListViews that have the given visibleplaceHolder. - hideStage() - Static method in class org.testfx.api.FxToolkit
-
Runs on the
JavaFX Application Thread: Hides the registered stage viaWindow.hide()and returns once finished. - HORIZONTAL_FIRST - org.testfx.robot.Motion
I
- informedErrorMessage(String, boolean, boolean, FxRobot, boolean, boolean) - Static method in class org.testfx.util.DebugUtils
-
Convenience method for
DebugUtils.insertHeader(String)using "Context:" as the header text and then, viaDebugUtils.insertContent(String, Object), composesDebugUtils.showKeysPressedAtTestFailure(FxRobot),DebugUtils.showMouseButtonsPressedAtTestFailure(FxRobot), andDebugUtils.showFiredEvents()together in their given order, depending on what the booleans are. - informedErrorMessage(FxRobot) - Static method in class org.testfx.util.DebugUtils
-
Convenience method for
DebugUtils.informedErrorMessage(String, boolean, boolean, FxRobot, boolean, boolean)with all booleans set totrueand the header text set to"Context:". - informedErrorMessage(FxRobot, String) - Static method in class org.testfx.util.DebugUtils
-
Convenience method for
DebugUtils.informedErrorMessage(String, boolean, boolean, FxRobot, boolean, boolean)with all booleans set totrue. - init - Variable in class org.testfx.framework.junit5.ApplicationExtension.AnnotationBasedApplicationFixture
- init() - Method in class org.testfx.framework.junit.ApplicationAdapter
- init() - Method in interface org.testfx.framework.junit.ApplicationFixture
- init() - Method in class org.testfx.framework.junit.ApplicationRule
- init() - Method in class org.testfx.framework.junit.ApplicationTest
- init() - Method in class org.testfx.framework.junit5.ApplicationAdapter
- init() - Method in class org.testfx.framework.junit5.ApplicationExtension.AnnotationBasedApplicationFixture
- init() - Method in interface org.testfx.framework.junit5.ApplicationFixture
- init() - Method in class org.testfx.framework.junit5.ApplicationTest
- init(Application) - Method in interface org.testfx.toolkit.ApplicationService
- init(Application) - Method in class org.testfx.toolkit.impl.ApplicationServiceImpl
- Init - Annotation Type in org.testfx.framework.junit5
- initialized - Variable in class org.testfx.framework.junit.TestFXRule
- initMonocleHeadless() - Method in class org.testfx.toolkit.impl.ApplicationLauncherImpl
- insertContent(String, Iterable<?>) - Static method in class org.testfx.util.DebugUtils
-
Inserts the heading on a newline followed by two default indents followed by the given
contentHeading. - insertContent(String, Iterable<?>, String) - Static method in class org.testfx.util.DebugUtils
-
Inserts the heading on a newline followed by two of the given
indentsfollowed by the givencontentHeading. - insertContent(String, Object) - Static method in class org.testfx.util.DebugUtils
-
Inserts the heading on a newline followed by two default indents followed by the given
contentHeading. - insertContent(String, Object[]) - Static method in class org.testfx.util.DebugUtils
-
Inserts the heading on a newline followed by two default indents followed by the given
contentHeading. - insertContent(String, Object[], String) - Static method in class org.testfx.util.DebugUtils
-
Inserts the heading on a newline followed by two of the given indents followed by the given
contentHeading. - insertContent(String, Object, String) - Static method in class org.testfx.util.DebugUtils
-
Inserts the heading on a newline followed by two of the given
indentsfollowed by the givencontentHeading. - insertContent(String, Stream<?>) - Static method in class org.testfx.util.DebugUtils
-
Inserts the heading on a newline followed by two default indents followed by the given
contentHeading. - insertContent(String, Stream<?>, String) - Static method in class org.testfx.util.DebugUtils
-
Inserts the heading on a newline followed by two of the given indents followed by the given
contentHeading. - insertHeader(String) - Static method in class org.testfx.util.DebugUtils
-
Inserts a header on a newline followed by the default indent; useful for specifying a section in the error message.
- insertHeader(String, String) - Static method in class org.testfx.util.DebugUtils
-
Inserts a header on a newline followed by the given
indent; useful for specifying a section in the error message. - interact(Runnable) - Method in class org.testfx.api.FxRobot
- interact(Runnable) - Method in interface org.testfx.api.FxRobotInterface
-
Calls a runnable on the FX application thread and waits for it and consecutive events to execute.
- interact(Callable<T>) - Method in class org.testfx.api.FxRobot
- interact(Callable<T>) - Method in interface org.testfx.api.FxRobotInterface
-
Calls a callable on the FX application thread and waits for it and consecutive events to execute.
- interactNoWait(Runnable) - Method in class org.testfx.api.FxRobot
- interactNoWait(Runnable) - Method in interface org.testfx.api.FxRobotInterface
-
Calls a runnable on the FX application thread and waits for it to execute.
- interactNoWait(Callable<T>) - Method in class org.testfx.api.FxRobot
- interactNoWait(Callable<T>) - Method in interface org.testfx.api.FxRobotInterface
-
Calls a callable on the FX application thread and waits for it to execute.
- interceptTestMethod(InvocationInterceptor.Invocation<Void>, ReflectiveInvocationContext<Method>, ExtensionContext) - Method in class org.testfx.framework.junit5.JavaFXInterceptorUtils.JavaFxInterceptor
- interceptTestMethod(InvocationInterceptor.Invocation<Void>, ReflectiveInvocationContext<Method>, ExtensionContext) - Method in class org.testfx.framework.junit5.JavaFXInterceptorUtils.SelectiveJavaFxInterceptor
- internalAfter() - Method in class org.testfx.framework.junit.ApplicationTest
- internalAfter() - Method in class org.testfx.framework.junit5.ApplicationTest
- internalBefore() - Method in class org.testfx.framework.junit.ApplicationTest
- internalBefore() - Method in class org.testfx.framework.junit5.ApplicationTest
- internalRunnable - Variable in class org.testfx.framework.junit5.utils.FXUtils.RunnableWithReturn
- interpolatePointBetween(Point2D, Point2D, double) - Method in class org.testfx.robot.impl.MoveRobotImpl
- interpolatePointsBetween(Point2D, Point2D, int) - Method in class org.testfx.robot.impl.MoveRobotImpl
- interpolateValuesBetween(double, double, double) - Method in class org.testfx.robot.impl.MoveRobotImpl
- interrupt() - Method in class org.testfx.api.FxRobot
- interrupt() - Method in interface org.testfx.api.FxRobotInterface
-
Calls
WaitForAsyncUtils.waitForFxEvents()and returns itself for method chaining. - interrupt(int) - Method in class org.testfx.api.FxRobot
- interrupt(int) - Method in interface org.testfx.api.FxRobotInterface
-
Calls
WaitForAsyncUtils.waitForFxEvents(int)and returns itself for method chaining. - intersectBounds(Bounds, Bounds) - Method in class org.testfx.service.locator.impl.BoundsLocatorImpl
- intersectBounds(Bounds, Bounds) - Static method in class org.testfx.util.BoundsQueryUtils
- isActive() - Method in interface org.testfx.osgi.service.TestFx
- isAltDown - Variable in class org.testfx.service.adapter.impl.JavafxRobotAdapter
- isButton1Pressed - Variable in class org.testfx.service.adapter.impl.JavafxRobotAdapter
- isButton2Pressed - Variable in class org.testfx.service.adapter.impl.JavafxRobotAdapter
- isButton3Pressed - Variable in class org.testfx.service.adapter.impl.JavafxRobotAdapter
- isCancelButton() - Method in class org.testfx.assertions.api.AbstractButtonAssert
-
Verifies that the actual
Buttonis a cancel button. - isCancelButton() - Static method in class org.testfx.matcher.control.ButtonMatchers
-
Creates a matcher that matches all
Buttons that are cancel buttons. - isColor(String) - Method in class org.testfx.assertions.api.AbstractColorAssert
-
Verifies that the actual
Coloris exactly equal to the given named color. - isColor(String) - Static method in class org.testfx.matcher.base.ColorMatchers
-
Creates a matcher that matches all
Colors that are exactly equal to the given JavaFX named colorString. - isColor(Color) - Method in class org.testfx.assertions.api.AbstractColorAssert
-
Verifies that the actual
Coloris exactly equal to the givencolor. - isColor(Color) - Static method in class org.testfx.matcher.base.ColorMatchers
-
Creates a matcher that matches all
Colors that are exactly equal to the givencolor. - isColor(Color, ColorMatcher) - Method in class org.testfx.assertions.api.AbstractColorAssert
-
Verifies that the actual
Coloris matched by the givencolorwith respect to the givencolorMatcher. - isColor(Color, ColorMatcher) - Static method in class org.testfx.matcher.base.ColorMatchers
-
Creates a matcher that matches all
Colors that match the givencolorwith respect to the givencolorMatcher. - isControlDown - Variable in class org.testfx.service.adapter.impl.JavafxRobotAdapter
- isCssSelector(String) - Static method in class org.testfx.service.query.impl.NodeQueryImpl
- isDefaultButton() - Method in class org.testfx.assertions.api.AbstractButtonAssert
-
Verifies that the actual
Buttonis a default button. - isDefaultButton() - Static method in class org.testfx.matcher.control.ButtonMatchers
-
Creates a matcher that matches all
Buttons that are default buttons. - isDisabled() - Method in class org.testfx.assertions.api.AbstractNodeAssert
-
Verifies that the actual
Nodeis disabled. - isDisabled() - Static method in class org.testfx.matcher.base.NodeMatchers
-
Creates a matcher that matches all disabled
Nodes (i.e. - isEmpty() - Method in class org.testfx.assertions.api.AbstractListViewAssert
-
Verifies that the actual
ListViewis empty (does not contain any items). - isEmpty() - Static method in class org.testfx.matcher.control.ListViewMatchers
-
Creates a matcher that matches all
ListViews that have no items (i.e. - isEnabled() - Method in class org.testfx.assertions.api.AbstractNodeAssert
-
Verifies that the actual
Nodeis enabled. - isEnabled() - Static method in class org.testfx.matcher.base.NodeMatchers
-
Creates a matcher that matches all enabled
Nodes (i.e. - isFocused() - Method in class org.testfx.assertions.api.AbstractNodeAssert
-
Verifies that the actual
Nodehas focus. - isFocused() - Method in class org.testfx.assertions.api.AbstractWindowAssert
-
Verifies that the actual
Windowis focused. - isFocused() - Static method in class org.testfx.matcher.base.NodeMatchers
-
Creates a matcher that matches all focused
Nodes (i.e. - isFocused() - Static method in class org.testfx.matcher.base.WindowMatchers
-
A matcher checking if a window currently has the focus.
- isFXApplicationThreadRunning() - Static method in class org.testfx.api.FxToolkit
-
Detects if the JavaFx Application Thread is currently running.
- isInvisible() - Method in class org.testfx.assertions.api.AbstractNodeAssert
-
Verifies that the actual
Nodeis not visible. - isInvisible() - Static method in class org.testfx.matcher.base.NodeMatchers
-
Creates a matcher that matches all invisible
Nodes. - isJava11Compatible() - Method in enum org.testfx.internal.JavaVersionAdapter.JavaVersion
- isJava8() - Method in enum org.testfx.internal.JavaVersionAdapter.JavaVersion
- isJava9Compatible() - Method in enum org.testfx.internal.JavaVersionAdapter.JavaVersion
- isMetaDown - Variable in class org.testfx.service.adapter.impl.JavafxRobotAdapter
- isNodeVisible(Node) - Static method in class org.testfx.util.NodeQueryUtils
- isNodeWithinSceneBounds(Node) - Static method in class org.testfx.util.NodeQueryUtils
- isNotCancelButton() - Method in class org.testfx.assertions.api.AbstractButtonAssert
-
Verifies that the actual
Buttonis not a cancel button. - isNotColor(String) - Method in class org.testfx.assertions.api.AbstractColorAssert
-
Verifies that the actual
Coloris not exactly equal to the givennamedColor. - isNotColor(Color) - Method in class org.testfx.assertions.api.AbstractColorAssert
-
Verifies that the actual
Coloris not exactly equal to the givencolor. - isNotColor(Color, ColorMatcher) - Method in class org.testfx.assertions.api.AbstractColorAssert
-
Verifies that the actual
Coloris not matched by the givencolorwith respect to the givencolorMatcher. - isNotDefaultButton() - Method in class org.testfx.assertions.api.AbstractButtonAssert
-
Verifies that the actual
Buttonis not a default button. - isNotEmpty() - Method in class org.testfx.assertions.api.AbstractListViewAssert
-
Verifies that the actual
ListViewis not empty (contains at least one item). - isNotFocused() - Method in class org.testfx.assertions.api.AbstractNodeAssert
-
Verifies that the actual
Nodedoes not have focus. - isNotFocused() - Method in class org.testfx.assertions.api.AbstractWindowAssert
-
Verifies that the actual
Windowis not focused. - isNotFocused() - Static method in class org.testfx.matcher.base.NodeMatchers
-
Creates a matcher that matches all focused
Nodes (i.e. - isNotFocused() - Static method in class org.testfx.matcher.base.WindowMatchers
-
A matcher checking if a window is currently not focused.
- isNotNull() - Static method in class org.testfx.matcher.base.NodeMatchers
-
Creates a matcher that matches all non-null
Nodes. - isNotShowing() - Method in class org.testfx.assertions.api.AbstractWindowAssert
-
Verifies that the actual
Windowis not showing. - isNotShowing() - Static method in class org.testfx.matcher.base.WindowMatchers
-
A matcher checking if a window is currently not showing.
- isNotUnderlined() - Method in class org.testfx.assertions.api.AbstractTextAssert
-
Verifies that the actual
Textis not underlined (that is, should be drawn with a line below it). - isNotVisible(Node) - Static method in class org.testfx.internal.JavaVersionAdapter
- isNull() - Static method in class org.testfx.matcher.base.NodeMatchers
-
Creates a matcher that matches all null
Nodes. - isOwnerOf(Window, Window) - Method in class org.testfx.service.finder.impl.WindowFinderImpl
- isShiftDown - Variable in class org.testfx.service.adapter.impl.JavafxRobotAdapter
- isShowing() - Method in class org.testfx.assertions.api.AbstractWindowAssert
-
Verifies that the actual
Windowis showing. - isShowing() - Static method in class org.testfx.matcher.base.WindowMatchers
-
A matcher checking if a window is currently showing.
- isUnderlined() - Method in class org.testfx.assertions.api.AbstractTextAssert
-
Verifies that the actual
Textis underlined (that is, should be drawn with a line below it). - isUnderlined(boolean) - Static method in class org.testfx.matcher.control.TextMatchers
-
Creates a matcher that matches all
Texts that are underlined (that is, they should be drawn with a line below them). - isVisible() - Method in class org.testfx.assertions.api.AbstractNodeAssert
-
Verifies that the actual
Nodeis visible. - isVisible() - Static method in class org.testfx.matcher.base.NodeMatchers
-
Creates a matcher that matches all visible
Nodes. - isVisible() - Static method in class org.testfx.util.NodeQueryUtils
-
Returns a predicate that returns true if the given node is visible, the given tree is visible, or the node's local bounds are within its scene's bounds
J
- JavaFxInterceptor() - Constructor for class org.testfx.framework.junit5.JavaFXInterceptorUtils.JavaFxInterceptor
- JavaFXInterceptorUtils - Class in org.testfx.framework.junit5
-
Simple JUnit 5 extension to ensure that
@Teststatements are executed in the JavaFX UI thread. - JavaFXInterceptorUtils() - Constructor for class org.testfx.framework.junit5.JavaFXInterceptorUtils
- JavaFXInterceptorUtils.JavaFxInterceptor - Class in org.testfx.framework.junit5
-
Simple JUnit 5 extension to ensure that
@Teststatements are executed in the JavaFX UI thread. - JavaFXInterceptorUtils.SelectiveJavaFxInterceptor - Class in org.testfx.framework.junit5
-
Simple JUnit 5 extension to ensure that
@Teststatements are executed in the JavaFX UI thread. - javafxRobotAdapter - Variable in class org.testfx.robot.impl.BaseRobotImpl
- JavafxRobotAdapter - Class in org.testfx.service.adapter.impl
-
A
RobotAdapterimplementation that uses the only the JavaFX public API. - JavafxRobotAdapter() - Constructor for class org.testfx.service.adapter.impl.JavafxRobotAdapter
- JavaVersion() - Constructor for enum org.testfx.internal.JavaVersionAdapter.JavaVersion
- JavaVersionAdapter - Class in org.testfx.internal
-
Provides a consistent API regardless of what Java version (8+) is used.
- JavaVersionAdapter() - Constructor for class org.testfx.internal.JavaVersionAdapter
- JavaVersionAdapter.JavaVersion - Enum in org.testfx.internal
-
An enumeration of Java versions.
K
- keepJavaFxAlive() - Static method in class org.testfx.framework.junit5.utils.FXUtils
-
If you run into any situation where all of your scenes end, the thread managing all of this will just peter out.
- keyboardRobot - Variable in class org.testfx.api.FxRobotContext
- keyboardRobot - Variable in class org.testfx.robot.impl.TypeRobotImpl
- KeyboardRobot - Interface in org.testfx.robot
- KeyboardRobotImpl - Class in org.testfx.robot.impl
- KeyboardRobotImpl(BaseRobot) - Constructor for class org.testfx.robot.impl.KeyboardRobotImpl
- keyPress(KeyCode) - Method in class org.testfx.service.adapter.impl.AwtRobotAdapter
- keyPress(KeyCode) - Method in class org.testfx.service.adapter.impl.JavafxRobotAdapter
- keyPress(KeyCode) - Method in class org.testfx.service.adapter.impl.PrivateGlassRobotAdapter
- keyPress(KeyCode) - Method in class org.testfx.service.adapter.impl.PublicGlassRobotAdapter
- keyPress(KeyCode) - Method in interface org.testfx.service.adapter.RobotAdapter
-
Function used to make the robot press a key.
- keyRelease(KeyCode) - Method in class org.testfx.service.adapter.impl.AwtRobotAdapter
- keyRelease(KeyCode) - Method in class org.testfx.service.adapter.impl.JavafxRobotAdapter
- keyRelease(KeyCode) - Method in class org.testfx.service.adapter.impl.PrivateGlassRobotAdapter
- keyRelease(KeyCode) - Method in class org.testfx.service.adapter.impl.PublicGlassRobotAdapter
- keyRelease(KeyCode) - Method in interface org.testfx.service.adapter.RobotAdapter
-
Function used to make the robot release a key.
- keyType(KeyCode, String) - Method in class org.testfx.service.adapter.impl.JavafxRobotAdapter
L
- LabeledAssert - Class in org.testfx.assertions.api
-
Assertion methods for
Labeleds. - LabeledAssert(Labeled) - Constructor for class org.testfx.assertions.api.LabeledAssert
- LabeledMatchers - Class in org.testfx.matcher.control
-
TestFX matchers for
Labeledcontrols. - LabeledMatchers() - Constructor for class org.testfx.matcher.control.LabeledMatchers
- lastButtonPressed - Variable in class org.testfx.service.adapter.impl.JavafxRobotAdapter
- lastTargetWindow - Variable in class org.testfx.service.finder.impl.WindowFinderImpl
- launch(Class<? extends Application>, String...) - Static method in class org.testfx.framework.junit.ApplicationTest
- launch(Class<? extends Application>, String...) - Static method in class org.testfx.framework.junit5.ApplicationTest
- launch(Class<? extends Application>, String...) - Method in interface org.testfx.toolkit.ApplicationLauncher
-
Configures a few necessary System properties before launching the application with the given arguments.
- launch(Class<? extends Application>, String...) - Method in class org.testfx.toolkit.impl.ApplicationLauncherImpl
- launchTimeoutInMillis - Variable in class org.testfx.api.FxToolkitContext
-
The number of milliseconds before timing out launch-related components.
- lerp(double, double, double) - Static method in class org.testfx.util.PointQueryUtils
- limitToVisibleBounds(Bounds, Scene) - Method in class org.testfx.service.locator.impl.BoundsLocatorImpl
- limitToVisibleBounds(Bounds, Scene) - Static method in class org.testfx.util.BoundsQueryUtils
- limitValueBetween(double, double, double) - Method in class org.testfx.robot.impl.MoveRobotImpl
- listTargetWindows() - Method in class org.testfx.api.FxRobot
- listTargetWindows() - Method in interface org.testfx.api.FxRobotInterface
-
Calls
WindowFinder.listTargetWindows()and returns itself for method chaining. - listTargetWindows() - Method in class org.testfx.service.finder.impl.WindowFinderImpl
- listTargetWindows() - Method in interface org.testfx.service.finder.WindowFinder
-
Returns a list of windows that are ordered by proximity to the last target window.
- ListViewAssert<T> - Class in org.testfx.assertions.api
-
Assertion methods for
ListViews. - ListViewAssert(ListView<T>) - Constructor for class org.testfx.assertions.api.ListViewAssert
- ListViewMatchers - Class in org.testfx.matcher.control
-
TestFX matchers for
ListViewcontrols. - ListViewMatchers() - Constructor for class org.testfx.matcher.control.ListViewMatchers
- listWindows() - Method in class org.testfx.api.FxRobot
- listWindows() - Method in interface org.testfx.api.FxRobotInterface
-
Calls
WindowFinder.listWindows()()} and returns itself for method chaining. - listWindows() - Method in class org.testfx.service.finder.impl.WindowFinderImpl
- listWindows() - Method in interface org.testfx.service.finder.WindowFinder
- loadImage(Path) - Method in interface org.testfx.service.support.CaptureSupport
-
Loads the image file from the given path.
- loadImage(Path) - Method in class org.testfx.service.support.impl.CaptureSupportImpl
- lock - Variable in class org.testfx.framework.junit5.utils.FXUtils.RunnableWithReturn
- lookup(String) - Method in class org.testfx.api.FxRobot
- lookup(String) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Calls
NodeFinder.lookup(String)and returns itself for method chaining. - lookup(String) - Method in class org.testfx.service.finder.impl.NodeFinderImpl
- lookup(String) - Method in interface org.testfx.service.finder.NodeFinder
-
Returns a
NodeQuerythat stores all the root nodes that meet the given query - lookup(String) - Method in class org.testfx.service.query.impl.NodeQueryImpl
- lookup(String) - Method in interface org.testfx.service.query.NodeQuery
-
Sifts through stored nodes by their id ("#id"), their class (".class"), or the text it has ("text"), depending on the query used, and keeps only those
Nodes that meet the query. - lookup(Function<Node, Set<Node>>) - Method in class org.testfx.service.query.impl.NodeQueryImpl
- lookup(Function<Node, Set<Node>>) - Method in interface org.testfx.service.query.NodeQuery
-
Sifts through stored nodes and uses
functionto determine which nodes to keep and which to remove. - lookup(Predicate<T>) - Method in class org.testfx.api.FxRobot
- lookup(Predicate<T>) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Calls
NodeFinder.lookup(Predicate)and returns itself for method chaining. - lookup(Predicate<T>) - Method in class org.testfx.service.finder.impl.NodeFinderImpl
- lookup(Predicate<T>) - Method in interface org.testfx.service.finder.NodeFinder
-
Returns a
NodeQuerythat stores all the root nodes that pass the given predicate - lookup(Predicate<T>) - Method in class org.testfx.service.query.impl.NodeQueryImpl
- lookup(Predicate<T>) - Method in interface org.testfx.service.query.NodeQuery
-
Sifts through stored nodes and keeps only those
Nodes that pass the givenpredicate. - lookup(Matcher<T>) - Method in class org.testfx.api.FxRobot
- lookup(Matcher<T>) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Calls
NodeFinder.lookup(Matcher)and returns itself for method chaining. - lookup(Matcher<T>) - Method in class org.testfx.service.finder.impl.NodeFinderImpl
- lookup(Matcher<T>) - Method in interface org.testfx.service.finder.NodeFinder
-
Returns a
NodeQuerythat stores all the root nodes that match the given matcher. - lookup(Matcher<T>) - Method in class org.testfx.service.query.impl.NodeQueryImpl
- lookup(Matcher<T>) - Method in interface org.testfx.service.query.NodeQuery
-
Sifts through stored nodes and keeps only those
Nodes that match the given matcher. - lookupWithPredicate(Node, Predicate<Node>) - Static method in class org.testfx.util.NodeQueryUtils
- lookupWithSelector(Node, String) - Static method in class org.testfx.util.NodeQueryUtils
M
- MAC - org.testfx.internal.PlatformAdapter.OS
- makeSceneBounds(Scene) - Static method in class org.testfx.util.BoundsQueryUtils
- mapToRect2D(Bounds) - Static method in class org.testfx.util.DebugUtils
- mapToRect2D(Window) - Static method in class org.testfx.util.DebugUtils
- match(Predicate<T>) - Method in class org.testfx.service.query.impl.NodeQueryImpl
- match(Predicate<T>) - Method in interface org.testfx.service.query.NodeQuery
-
Sifts through stored nodes and keeps only those
Nodes that pass the given predicate. - match(Image, Image) - Method in class org.testfx.service.support.impl.PixelMatcherBase
- match(Image, Image) - Method in interface org.testfx.service.support.PixelMatcher
-
Returns a
PixelMatcherResultthat indicates how similar/dissimilar the two images were. - match(Matcher<T>) - Method in class org.testfx.service.query.impl.NodeQueryImpl
- match(Matcher<T>) - Method in interface org.testfx.service.query.NodeQuery
-
Sifts through stored nodes and keeps only those
Nodes that match the given matcher. - matchColors(Color, Color) - Method in interface org.testfx.service.support.ColorMatcher
-
Returns true if
color0is close enough tocolor1as determined by a color distance/factor. - matchColors(Color, Color) - Method in class org.testfx.service.support.impl.PixelMatcherRgb
- matchesMatcher(Matcher<Node>) - Static method in class org.testfx.util.NodeQueryUtils
-
Returns a predicate that returns true if the given node matches the given
matcher. - matchesNodeMatcher(Node, Matcher) - Static method in class org.testfx.util.NodeQueryUtils
- matchFactor - Variable in class org.testfx.service.support.PixelMatcherResult
- matchImage - Variable in class org.testfx.service.support.PixelMatcherResult
- matchImages(Image, Image, PixelMatcher) - Method in interface org.testfx.service.support.CaptureSupport
-
Compares two images and returns a
PixelMatcherResultthat defines the how similar/dissimilar one was from the other. - matchImages(Image, Image, PixelMatcher) - Method in class org.testfx.service.support.impl.CaptureSupportImpl
- matchPixels - Variable in class org.testfx.service.support.PixelMatcherResult
- matchSubSequenceInOrder(ComboBox<?>, int, Object...) - Static method in class org.testfx.matcher.control.ComboBoxMatchers
-
If startIndex = 0, this method effectively matches the entire sequence.
- MAX_POINT_OFFSET_COUNT - Static variable in class org.testfx.robot.impl.MoveRobotImpl
- MenuItemAssert - Class in org.testfx.assertions.api
-
Assertion methods for
MenuItems. - MenuItemAssert(MenuItem) - Constructor for class org.testfx.assertions.api.MenuItemAssert
- MenuItemMatchers - Class in org.testfx.matcher.control
-
TestFX matchers for
MenuItemcontrols. - MenuItemMatchers() - Constructor for class org.testfx.matcher.control.MenuItemMatchers
- MIN_POINT_OFFSET_COUNT - Static variable in class org.testfx.robot.impl.MoveRobotImpl
- minColorDistSq - Variable in class org.testfx.service.support.impl.PixelMatcherRgb
- MISSING_LIBGTK_3_0_USER_MESSAGE - Static variable in class org.testfx.api.FxToolkit
- Motion - Enum in org.testfx.robot
-
Enumeration holding the three simplest types of motion between two 2D points a = (x₁, y₁) and b = (x₂, y₂).
- Motion() - Constructor for enum org.testfx.robot.Motion
- mouseClick(MouseButton) - Method in class org.testfx.service.adapter.impl.JavafxRobotAdapter
- mouseClick(MouseButton, int) - Method in class org.testfx.service.adapter.impl.JavafxRobotAdapter
- mouseDrag(MouseButton) - Method in class org.testfx.service.adapter.impl.JavafxRobotAdapter
- mouseMove(Point2D) - Method in class org.testfx.service.adapter.impl.AwtRobotAdapter
- mouseMove(Point2D) - Method in class org.testfx.service.adapter.impl.JavafxRobotAdapter
- mouseMove(Point2D) - Method in class org.testfx.service.adapter.impl.PrivateGlassRobotAdapter
- mouseMove(Point2D) - Method in class org.testfx.service.adapter.impl.PublicGlassRobotAdapter
- mouseMove(Point2D) - Method in interface org.testfx.service.adapter.RobotAdapter
-
Moves the mouse cursor to the given position in JavaFx coordinates
- mousePress(MouseButton) - Method in class org.testfx.service.adapter.impl.AwtRobotAdapter
- mousePress(MouseButton) - Method in class org.testfx.service.adapter.impl.JavafxRobotAdapter
- mousePress(MouseButton) - Method in class org.testfx.service.adapter.impl.PrivateGlassRobotAdapter
- mousePress(MouseButton) - Method in class org.testfx.service.adapter.impl.PublicGlassRobotAdapter
- mousePress(MouseButton) - Method in interface org.testfx.service.adapter.RobotAdapter
-
Makes the robot press a mouse button.
- mousePress(MouseButton, int) - Method in class org.testfx.service.adapter.impl.JavafxRobotAdapter
- mouseRelease(MouseButton) - Method in class org.testfx.service.adapter.impl.AwtRobotAdapter
- mouseRelease(MouseButton) - Method in class org.testfx.service.adapter.impl.JavafxRobotAdapter
- mouseRelease(MouseButton) - Method in class org.testfx.service.adapter.impl.PrivateGlassRobotAdapter
- mouseRelease(MouseButton) - Method in class org.testfx.service.adapter.impl.PublicGlassRobotAdapter
- mouseRelease(MouseButton) - Method in interface org.testfx.service.adapter.RobotAdapter
-
Makes the robot release a mouse button.
- mouseRelease(MouseButton, int) - Method in class org.testfx.service.adapter.impl.JavafxRobotAdapter
- mouseRobot - Variable in class org.testfx.api.FxRobotContext
- mouseRobot - Variable in class org.testfx.robot.impl.ClickRobotImpl
- mouseRobot - Variable in class org.testfx.robot.impl.DragRobotImpl
- mouseRobot - Variable in class org.testfx.robot.impl.MoveRobotImpl
- mouseRobot - Variable in class org.testfx.robot.impl.ScrollRobotImpl
- MouseRobot - Interface in org.testfx.robot
- MouseRobotImpl - Class in org.testfx.robot.impl
- MouseRobotImpl(BaseRobot) - Constructor for class org.testfx.robot.impl.MouseRobotImpl
- mouseWheel(int) - Method in class org.testfx.service.adapter.impl.AwtRobotAdapter
- mouseWheel(int) - Method in class org.testfx.service.adapter.impl.GlassRobotAdapter
- mouseWheel(int) - Method in class org.testfx.service.adapter.impl.JavafxRobotAdapter
- mouseWheel(int) - Method in interface org.testfx.service.adapter.RobotAdapter
-
Makes the robot to simulate a action of the mouse wheel.
Negative values indicate movement up/away from the user, positive values indicate movement down/towards the user. - move(Point2D) - Method in class org.testfx.robot.impl.MouseRobotImpl
- move(Point2D) - Method in interface org.testfx.robot.MouseRobot
-
Moves the mouse to the given location.
- moveBy(double, double) - Method in interface org.testfx.api.FxRobotInterface
-
Calls
MoveRobot.moveBy(double, double)and returns itself for more method chaining. - moveBy(double, double) - Method in interface org.testfx.robot.MoveRobot
-
Moves the mouse directly (see:
Motion.DIRECTfrom the current location to the given (x,y) location. - moveBy(double, double, Motion) - Method in class org.testfx.api.FxRobot
- moveBy(double, double, Motion) - Method in interface org.testfx.api.FxRobotInterface
-
Calls
MoveRobot.moveBy(double, double, Motion)and returns itself for more method chaining. - moveBy(double, double, Motion) - Method in class org.testfx.robot.impl.MoveRobotImpl
- moveBy(double, double, Motion) - Method in interface org.testfx.robot.MoveRobot
-
Moves the mouse from the current location to the given (
x,y) location. - moveMouse(Point2D) - Method in interface org.testfx.robot.BaseRobot
- moveMouse(Point2D) - Method in class org.testfx.robot.impl.BaseRobotImpl
- moveMouseStepwiseBetween(Point2D, Point2D, Motion) - Method in class org.testfx.robot.impl.MoveRobotImpl
- moveNoWait(Point2D) - Method in class org.testfx.robot.impl.MouseRobotImpl
- moveNoWait(Point2D) - Method in interface org.testfx.robot.MouseRobot
-
Moves the mouse to the given location.
- moveRobot - Variable in class org.testfx.api.FxRobotContext
- moveRobot - Variable in class org.testfx.robot.impl.ClickRobotImpl
- moveRobot - Variable in class org.testfx.robot.impl.DragRobotImpl
- MoveRobot - Interface in org.testfx.robot
- MoveRobotImpl - Class in org.testfx.robot.impl
- MoveRobotImpl(BaseRobot, MouseRobot, SleepRobot) - Constructor for class org.testfx.robot.impl.MoveRobotImpl
- moveTo(double, double) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse directly to the point returned from
FxRobotInterface.point(double, double)and returns itself for method chaining. - moveTo(double, double, Motion) - Method in class org.testfx.api.FxRobot
- moveTo(double, double, Motion) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse using the given
motion(see:Motionto the point returned fromFxRobotInterface.point(double, double)and returns itself for method chaining. - moveTo(String) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse directly to the point returned from
FxRobotInterface.point(String)and returns itself for method chaining. - moveTo(String, Motion) - Method in class org.testfx.api.FxRobot
- moveTo(String, Motion) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse using the given
motion(see:Motionto the point returned fromFxRobotInterface.point(String)and returns itself for method chaining. - moveTo(Predicate<T>) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse directly to the point returned from
FxRobotInterface.point(Predicate)and returns itself for method chaining. - moveTo(Predicate<T>, Motion) - Method in class org.testfx.api.FxRobot
- moveTo(Predicate<T>, Motion) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse using the given
motion(see:Motionto the point returned fromFxRobotInterface.point(Predicate)and returns itself for method chaining. - moveTo(Bounds) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse directly to the center of the given
Boundsand returns itself for method chaining. - moveTo(Bounds, Motion) - Method in class org.testfx.api.FxRobot
- moveTo(Bounds, Motion) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse using the given
motion(see:Motionto the point returned fromFxRobotInterface.point(Bounds)and returns itself for method chaining. - moveTo(Point2D) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse directly to the point returned from
FxRobotInterface.point(Point2D)and returns itself for method chaining. - moveTo(Point2D, Motion) - Method in class org.testfx.api.FxRobot
- moveTo(Point2D, Motion) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse using the given
motion(see:Motionto the point returned fromFxRobotInterface.point(Point2D)and returns itself for method chaining. - moveTo(Node) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse directly to the center of the given
Nodeand returns itself for method chaining. - moveTo(Node, Point2D) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse directly to the point returned from
FxRobotInterface.point(Node), with the given offset from the center of the givenNode, and returns itself for method chaining. - moveTo(Node, Pos, Point2D, Motion) - Method in class org.testfx.api.FxRobot
- moveTo(Node, Pos, Point2D, Motion) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse using the given
motion(see:Motionto the point returned fromFxRobotInterface.point(Node), with the given offset (from theoffsetReferencePos, and returns itself for method chaining. - moveTo(Node, Motion) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse using the given
motion(see:Motionto the center of the givenNodeand returns itself for method chaining. - moveTo(Scene) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse directly to the center of the given
Sceneand returns itself for method chaining. - moveTo(Scene, Motion) - Method in class org.testfx.api.FxRobot
- moveTo(Scene, Motion) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse using the given
motion(see:Motionto the point returned fromFxRobotInterface.point(Scene)and returns itself for method chaining. - moveTo(Window) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse directly to the center of the given
Windowand returns itself for method chaining. - moveTo(Window, Motion) - Method in class org.testfx.api.FxRobot
- moveTo(Window, Motion) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse using the given
motion(see:Motionto the point returned fromFxRobotInterface.point(Window)and returns itself for method chaining. - moveTo(Matcher<T>) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse directly to the point returned from
FxRobotInterface.point(Matcher)and returns itself for method chaining. - moveTo(Matcher<T>, Motion) - Method in class org.testfx.api.FxRobot
- moveTo(Matcher<T>, Motion) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse using the given
motion(see:Motionto the point returned fromFxRobotInterface.point(Matcher)and returns itself for method chaining. - moveTo(PointQuery) - Method in interface org.testfx.api.FxRobotInterface
-
Calls
MoveRobot.moveTo(PointQuery)and returns itself for more method chaining. - moveTo(PointQuery) - Method in interface org.testfx.robot.MoveRobot
-
Moves the mouse directly to the (x,y) position specified by the given
PointQuery.query(). - moveTo(PointQuery, Motion) - Method in class org.testfx.api.FxRobot
- moveTo(PointQuery, Motion) - Method in interface org.testfx.api.FxRobotInterface
-
Calls
MoveRobot.moveTo(PointQuery, Motion)and returns itself for more method chaining. - moveTo(PointQuery, Motion) - Method in class org.testfx.robot.impl.MoveRobotImpl
- moveTo(PointQuery, Motion) - Method in interface org.testfx.robot.MoveRobot
-
Moves the mouse to the (x,y) position specified by the given
PointQuery.query()using the specifiedmotion(see:Motion) and clicks whatever is under it.
N
- NAMED_COLORS - Static variable in class org.testfx.util.ColorUtils
- newThread(Runnable) - Method in class org.testfx.util.WaitForAsyncUtils.DefaultThreadFactory
- node - Variable in class org.testfx.service.query.impl.PointQueryBase
- NodeAssert - Class in org.testfx.assertions.api
-
Assertion methods for
Nodes. - NodeAssert(Node) - Constructor for class org.testfx.assertions.api.NodeAssert
- nodeBounds(Node) - Static method in class org.testfx.util.BoundsQueryUtils
-
Retrieve the logical bounds (geom) of a Node.
- nodeBoundsInLocal(Node) - Static method in class org.testfx.util.BoundsQueryUtils
-
Retrieve the physical untransformed bounds (geom + effect + clip) of a Node.
- nodeBoundsInParent(Node) - Static method in class org.testfx.util.BoundsQueryUtils
-
Retrieve the physical transformed bounds (geom + effect + clip + transform) of a Node.
- nodeBoundsInScene(Node) - Static method in class org.testfx.util.BoundsQueryUtils
-
Retrieves the physical untransformed bounds (geom + effect + clip) of a Node before transforming that to the node's Scene's coordinate system.
- nodeFinder - Variable in class org.testfx.api.FxAssertContext
- nodeFinder - Variable in class org.testfx.api.FxRobotContext
- nodeFinder - Variable in class org.testfx.api.FxServiceContext
- NodeFinder - Interface in org.testfx.service.finder
- NodeFinderImpl - Class in org.testfx.service.finder.impl
- NodeFinderImpl(WindowFinder) - Constructor for class org.testfx.service.finder.impl.NodeFinderImpl
- NodeMatchers - Class in org.testfx.matcher.base
-
TestFX matchers for
Nodeinstances. - NodeMatchers() - Constructor for class org.testfx.matcher.base.NodeMatchers
- NodeQuery - Interface in org.testfx.service.query
- NodeQueryImpl - Class in org.testfx.service.query.impl
- NodeQueryImpl() - Constructor for class org.testfx.service.query.impl.NodeQueryImpl
- NodeQueryUtils - Class in org.testfx.util
- NodeQueryUtils() - Constructor for class org.testfx.util.NodeQueryUtils
- notifyPreloader(Preloader.PreloaderNotification) - Method in class org.testfx.framework.junit5.ApplicationTest
-
Deprecated.
- nth(int) - Method in class org.testfx.service.query.impl.NodeQueryImpl
- nth(int) - Method in interface org.testfx.service.query.NodeQuery
-
Keeps the nth
Nodein stored nodes and removes all others.
O
- offset - Variable in class org.testfx.service.query.impl.PointQueryBase
- offset(String, double, double) - Method in class org.testfx.api.FxRobot
- offset(String, double, double) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Calls
FxRobotInterface.point(String)and sets the query's offset by the given offset values. - offset(String, Point2D) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Calls
FxRobotInterface.point(String)and sets the query's offset by the given offset point (where the point's x-component is the offsetX, and the point's y-component is the offsetY). - offset(Predicate<T>, double, double) - Method in class org.testfx.api.FxRobot
- offset(Predicate<T>, double, double) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Calls
FxRobotInterface.point(Predicate)and sets the query's offset by the given offset values. - offset(Predicate<T>, Point2D) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Calls
FxRobotInterface.point(Predicate)and sets the query's offset by the given offset point (where the point's x-component is the offsetX, and the point's y-component is the offsetY). - offset(Bounds, double, double) - Method in class org.testfx.api.FxRobot
- offset(Bounds, double, double) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Calls
FxRobotInterface.point(Bounds)and sets the query's offset by the given offset values. - offset(Bounds, Point2D) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Calls
FxRobotInterface.point(Bounds)and sets the query's offset by the given offset point (where the point's x-component is the offsetX, and the point's y-component is the offsetY). - offset(Point2D, double, double) - Method in class org.testfx.api.FxRobot
- offset(Point2D, double, double) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Calls
FxRobotInterface.point(Point2D)and sets the query's offset by the given offset values. - offset(Point2D, Point2D) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Calls
FxRobotInterface.point(Point2D)and sets the query's offset by the given offset point (where the point's x-component is the offsetX, and the point's y-component is the offsetY). - offset(Node, double, double) - Method in class org.testfx.api.FxRobot
- offset(Node, double, double) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Calls
FxRobotInterface.point(Node)and sets the query's offset by the given offset values. - offset(Node, Point2D) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Calls
FxRobotInterface.point(Node)and sets the query's offset by the given offset point (where the point's x-component is the offsetX, and the point's y-component is the offsetY). - offset(Node, Pos, double, double) - Method in class org.testfx.api.FxRobot
- offset(Node, Pos, double, double) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Calls
FxRobotInterface.point(Node)and sets the query's offset by the given offset values where the offset is computed with respect to the given offset reference position. - offset(Node, Pos, Point2D) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Calls
FxRobotInterface.point(Node)and sets the query's offset by the given offset point (where the point's x-component is the offsetX, and the point's y-component is the offsetY) where the offset is computed with respect to the given offset reference position. - offset(Scene, double, double) - Method in class org.testfx.api.FxRobot
- offset(Scene, double, double) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Calls
FxRobotInterface.point(Scene)and sets the query's offset by the given offset values. - offset(Scene, Point2D) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Calls
FxRobotInterface.point(Scene)and sets the query's offset by the given offset offset point (where the point's x-component is the offsetX, and the point's y-component is the offsetY). - offset(Window, double, double) - Method in class org.testfx.api.FxRobot
- offset(Window, double, double) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Calls
FxRobotInterface.point(Window)and sets the query's offset by the given offset values. - offset(Window, Point2D) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Calls
FxRobotInterface.point(Window)and sets the query's offset by the given offset point (where the point's x-component is the offsetX, and the point's y-component is the offsetY). - offset(Matcher<T>, double, double) - Method in class org.testfx.api.FxRobot
- offset(Matcher<T>, double, double) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Calls
FxRobotInterface.point(Matcher)and sets the query's offset by the given offset values. - offset(Matcher<T>, Point2D) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Calls
FxRobotInterface.point(Matcher)and sets the query's offset by the given offset point (where the point's x-component is the offsetX, and the point's y-component is the offsetY). - onNode(Node) - Method in class org.testfx.service.query.impl.PointQueryBase
- onNode(Node) - Method in interface org.testfx.service.query.PointQuery
- orderWindowsByProximityTo(Window, List<Window>) - Method in class org.testfx.service.finder.impl.WindowFinderImpl
- ordinal(int) - Static method in class org.testfx.service.query.impl.NodeQueryImpl
-
https://stackoverflow.com/a/6810409/3634630
- org.testfx.api - package org.testfx.api
- org.testfx.assertions.api - package org.testfx.assertions.api
- org.testfx.assertions.impl - package org.testfx.assertions.impl
- org.testfx.framework.junit - package org.testfx.framework.junit
- org.testfx.framework.junit5 - package org.testfx.framework.junit5
- org.testfx.framework.junit5.utils - package org.testfx.framework.junit5.utils
- org.testfx.internal - package org.testfx.internal
- org.testfx.matcher.base - package org.testfx.matcher.base
- org.testfx.matcher.control - package org.testfx.matcher.control
- org.testfx.osgi - package org.testfx.osgi
- org.testfx.osgi.service - package org.testfx.osgi.service
- org.testfx.robot - package org.testfx.robot
- org.testfx.robot.impl - package org.testfx.robot.impl
- org.testfx.service.adapter - package org.testfx.service.adapter
- org.testfx.service.adapter.impl - package org.testfx.service.adapter.impl
- org.testfx.service.finder - package org.testfx.service.finder
- org.testfx.service.finder.impl - package org.testfx.service.finder.impl
- org.testfx.service.locator - package org.testfx.service.locator
- org.testfx.service.locator.impl - package org.testfx.service.locator.impl
- org.testfx.service.query - package org.testfx.service.query
- org.testfx.service.query.impl - package org.testfx.service.query.impl
- org.testfx.service.support - package org.testfx.service.support
- org.testfx.service.support.impl - package org.testfx.service.support.impl
- org.testfx.toolkit - package org.testfx.toolkit
- org.testfx.toolkit.impl - package org.testfx.toolkit.impl
- org.testfx.util - package org.testfx.util
- os - Static variable in class org.testfx.internal.PlatformAdapter
-
Stores the operating system we are running on.
- OS() - Constructor for enum org.testfx.internal.PlatformAdapter.OS
- OS_SPECIFIC_SHORTCUT - Static variable in class org.testfx.robot.impl.KeyboardRobotImpl
-
This key is sent depending on the platform via the Robot to Java.
P
- PAINT_COLLECTOR - Static variable in class org.testfx.util.WaitForAsyncUtils
- ParentAssert - Class in org.testfx.assertions.api
-
Assertion methods for
Parents. - ParentAssert(Parent) - Constructor for class org.testfx.assertions.api.ParentAssert
- ParentMatchers - Class in org.testfx.matcher.base
-
TestFX matchers for
Parentnodes. - ParentMatchers() - Constructor for class org.testfx.matcher.base.ParentMatchers
- parentNodes - Variable in class org.testfx.service.query.impl.NodeQueryImpl
- PixelMatcher - Interface in org.testfx.service.support
- PixelMatcherBase - Class in org.testfx.service.support.impl
- PixelMatcherBase() - Constructor for class org.testfx.service.support.impl.PixelMatcherBase
- PixelMatcherResult - Class in org.testfx.service.support
-
Indicates how similar/dissimilar two images were on a pixel-to-pixel comparison level via
PixelMatcher.match(Image, Image). - PixelMatcherResult(Image, long, long) - Constructor for class org.testfx.service.support.PixelMatcherResult
- PixelMatcherRgb - Class in org.testfx.service.support.impl
- PixelMatcherRgb() - Constructor for class org.testfx.service.support.impl.PixelMatcherRgb
- PixelMatcherRgb(double, double) - Constructor for class org.testfx.service.support.impl.PixelMatcherRgb
- PlatformAdapter - Class in org.testfx.internal
-
Provides an API for platform specific features.
- PlatformAdapter() - Constructor for class org.testfx.internal.PlatformAdapter
- PlatformAdapter.OS - Enum in org.testfx.internal
- PNG - org.testfx.service.support.CaptureFileFormat
- point(double, double) - Method in class org.testfx.api.FxRobot
- point(double, double) - Method in interface org.testfx.api.FxRobotInterface
-
Calls
PointLocator.point(Point2D)usingnew Point2D(x, y)and sets thePointQuery'sPointQuery.getPosition()toFxRobotContext.getPointPosition(). - point(String) - Method in class org.testfx.api.FxRobot
- point(String) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Tries to find a given node via
FxRobotInterface.lookup(String)before callingFxRobotInterface.point(Node), throwing aFxRobotExceptionif no node is found. - point(Predicate<T>) - Method in class org.testfx.api.FxRobot
- point(Predicate<T>) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Tries to find a given node via
FxRobotInterface.lookup(Predicate)before callingFxRobotInterface.point(Node), throwing aFxRobotExceptionif no node is found. - point(Bounds) - Method in class org.testfx.api.FxRobot
- point(Bounds) - Method in interface org.testfx.api.FxRobotInterface
-
Calls
PointLocator.point(Bounds)and sets thePointQuery'sPointQuery.getPosition()toFxRobotContext.getPointPosition(). - point(Bounds) - Method in class org.testfx.service.locator.impl.PointLocatorImpl
- point(Bounds) - Method in interface org.testfx.service.locator.PointLocator
- point(Point2D) - Method in class org.testfx.api.FxRobot
- point(Point2D) - Method in interface org.testfx.api.FxRobotInterface
-
Calls
PointLocator.point(Point2D)and sets thePointQuery'sPointQuery.getPosition()toFxRobotContext.getPointPosition(). - point(Point2D) - Method in class org.testfx.service.locator.impl.PointLocatorImpl
- point(Point2D) - Method in interface org.testfx.service.locator.PointLocator
- point(Node) - Method in class org.testfx.api.FxRobot
- point(Node) - Method in interface org.testfx.api.FxRobotInterface
-
Calls
PointLocator.point(Node)and sets thePointQuery'sPointQuery.getPosition()toFxRobotContext.getPointPosition(). - point(Node) - Method in class org.testfx.service.locator.impl.PointLocatorImpl
- point(Node) - Method in interface org.testfx.service.locator.PointLocator
-
Returns the center of the given
Nodein screen coordinates. - point(Scene) - Method in class org.testfx.api.FxRobot
- point(Scene) - Method in interface org.testfx.api.FxRobotInterface
-
Calls
PointLocator.point(Scene)and sets thePointQuery'sPointQuery.getPosition()toFxRobotContext.getPointPosition(). - point(Scene) - Method in class org.testfx.service.locator.impl.PointLocatorImpl
- point(Scene) - Method in interface org.testfx.service.locator.PointLocator
- point(Window) - Method in class org.testfx.api.FxRobot
- point(Window) - Method in interface org.testfx.api.FxRobotInterface
-
Calls
PointLocator.point(Window)and sets thePointQuery'sPointQuery.getPosition()toFxRobotContext.getPointPosition(). - point(Window) - Method in class org.testfx.service.locator.impl.PointLocatorImpl
- point(Window) - Method in interface org.testfx.service.locator.PointLocator
- point(Matcher<T>) - Method in class org.testfx.api.FxRobot
- point(Matcher<T>) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Tries to find a given node via
FxRobotInterface.lookup(Matcher)before callingFxRobotInterface.point(Node), throwing aFxRobotExceptionif no node is found. - pointLocator - Variable in class org.testfx.api.FxRobotContext
- PointLocator - Interface in org.testfx.service.locator
-
Interface for constructing
PointQueryobjects that can be used to return a specific point (in terms of the screen) somewhere in the bounds of the provided object. - PointLocatorImpl - Class in org.testfx.service.locator.impl
- PointLocatorImpl(BoundsLocator) - Constructor for class org.testfx.service.locator.impl.PointLocatorImpl
- pointOfVisibleNode(String) - Method in class org.testfx.api.FxRobot
- pointOfVisibleNode(Predicate<T>) - Method in class org.testfx.api.FxRobot
- pointOfVisibleNode(Matcher<T>) - Method in class org.testfx.api.FxRobot
- pointPosition - Variable in class org.testfx.api.FxRobotContext
- PointQuery - Interface in org.testfx.service.query
-
Used to calculate a position within a given
Bounds. - PointQueryBase - Class in org.testfx.service.query.impl
- PointQueryBase() - Constructor for class org.testfx.service.query.impl.PointQueryBase
- PointQueryUtils - Class in org.testfx.util
- PointQueryUtils() - Constructor for class org.testfx.util.PointQueryUtils
- position - Variable in class org.testfx.service.query.impl.PointQueryBase
- postProcessTestInstance(Object, ExtensionContext) - Method in class org.testfx.framework.junit5.ApplicationExtension
- press(KeyCode...) - Method in class org.testfx.api.FxRobot
- press(KeyCode...) - Method in interface org.testfx.api.FxRobotInterface
-
Calls
KeyboardRobot.press(KeyCode...)and returns itself for method chaining. - press(KeyCode...) - Method in class org.testfx.robot.impl.KeyboardRobotImpl
- press(KeyCode...) - Method in interface org.testfx.robot.KeyboardRobot
-
Presses the given keys, until explicitly released via
KeyboardRobot.release(KeyCode...). - press(MouseButton...) - Method in class org.testfx.api.FxRobot
- press(MouseButton...) - Method in interface org.testfx.api.FxRobotInterface
-
Presses and holds mouse buttons.
- press(MouseButton...) - Method in class org.testfx.robot.impl.MouseRobotImpl
- press(MouseButton...) - Method in interface org.testfx.robot.MouseRobot
-
Presses the given mouse buttons, until explicitly released via
MouseRobot.release(MouseButton...). - pressButton(MouseButton) - Method in class org.testfx.robot.impl.MouseRobotImpl
- pressedButtons - Variable in class org.testfx.robot.impl.MouseRobotImpl
- pressedKeys - Variable in class org.testfx.robot.impl.KeyboardRobotImpl
- pressKey(KeyCode) - Method in class org.testfx.robot.impl.KeyboardRobotImpl
- pressKeyboard(KeyCode) - Method in interface org.testfx.robot.BaseRobot
- pressKeyboard(KeyCode) - Method in class org.testfx.robot.impl.BaseRobotImpl
- pressMouse(MouseButton) - Method in interface org.testfx.robot.BaseRobot
- pressMouse(MouseButton) - Method in class org.testfx.robot.impl.BaseRobotImpl
- pressNoWait(KeyCode...) - Method in class org.testfx.robot.impl.KeyboardRobotImpl
- pressNoWait(KeyCode...) - Method in interface org.testfx.robot.KeyboardRobot
-
Presses the given keys, until explicitly released via
KeyboardRobot.release(KeyCode...). - pressNoWait(MouseButton...) - Method in class org.testfx.robot.impl.MouseRobotImpl
- pressNoWait(MouseButton...) - Method in interface org.testfx.robot.MouseRobot
-
Presses the given mouse buttons, until explicitly released via
MouseRobot.release(MouseButton...). - PRIMARY_STAGE_FUTURE - Static variable in class org.testfx.toolkit.PrimaryStageApplication
- PrimaryStageApplication - Class in org.testfx.toolkit
-
The main application used during tests when a developer is not testing his/her own subclass of
Application. - PrimaryStageApplication() - Constructor for class org.testfx.toolkit.PrimaryStageApplication
- primaryStageFuture - Variable in class org.testfx.api.FxToolkitContext
-
The
Future<Stage>that can run listeners when completed. - printException - Static variable in class org.testfx.util.WaitForAsyncUtils
-
If true any exceptions encountered during execution of the
asyncmethods will be printed to stderr. - printException(Throwable, StackTraceElement[]) - Static method in class org.testfx.util.WaitForAsyncUtils
- printTrace(StackTraceElement[]) - Static method in class org.testfx.util.WaitForAsyncUtils
-
Returns a
Stringcontaining the printed stacktrace. - PrivateGlassRobotAdapter - Class in org.testfx.service.adapter.impl
-
RobotAdapterimplementation that uses the privatecom.sun.glass.ui.GlassRobotimplementation to support JavaFX versions before 11. - PrivateGlassRobotAdapter() - Constructor for class org.testfx.service.adapter.impl.PrivateGlassRobotAdapter
- PublicGlassRobotAdapter - Class in org.testfx.service.adapter.impl
-
RobotAdapterimplementation that uses the publicRobotAPI added in JavaFX 11. - PublicGlassRobotAdapter() - Constructor for class org.testfx.service.adapter.impl.PublicGlassRobotAdapter
- publicRobot - Static variable in class org.testfx.service.adapter.impl.GlassRobotAdapter
- push(KeyCode...) - Method in class org.testfx.api.FxRobot
- push(KeyCode...) - Method in interface org.testfx.api.FxRobotInterface
-
Calls
TypeRobot.push(KeyCode...)and returns itself for more method chaining. - push(KeyCode...) - Method in class org.testfx.robot.impl.TypeRobotImpl
- push(KeyCode...) - Method in interface org.testfx.robot.TypeRobot
-
Pushes a given key combination.
- push(KeyCodeCombination) - Method in class org.testfx.api.FxRobot
- push(KeyCodeCombination) - Method in interface org.testfx.api.FxRobotInterface
-
Calls
TypeRobot.push(KeyCodeCombination)and returns itself for more method chaining. - push(KeyCodeCombination) - Method in class org.testfx.robot.impl.TypeRobotImpl
- push(KeyCodeCombination) - Method in interface org.testfx.robot.TypeRobot
-
Pushes a given key combination.
- pushKeyCode(KeyCode) - Method in class org.testfx.robot.impl.TypeRobotImpl
- pushKeyCodeCombination(KeyCode...) - Method in class org.testfx.robot.impl.TypeRobotImpl
- pushKeyCodeCombination(KeyCodeCombination) - Method in class org.testfx.robot.impl.TypeRobotImpl
Q
- query() - Method in interface org.testfx.service.query.BoundsQuery
- query() - Method in class org.testfx.service.query.impl.BoundsPointQuery
- query() - Method in class org.testfx.service.query.impl.CallableBoundsPointQuery
- query() - Method in class org.testfx.service.query.impl.NodeQueryImpl
- query() - Method in interface org.testfx.service.query.NodeQuery
-
Executes this
NodeQueryand returns the firstNodefound that matches this query. - query() - Method in interface org.testfx.service.query.PointQuery
- queryAll() - Method in class org.testfx.service.query.impl.NodeQueryImpl
- queryAll() - Method in interface org.testfx.service.query.NodeQuery
-
Executes this
NodeQueryand returns theSetof all theNodes that match this query. - queryAllAs(Class<T>) - Method in class org.testfx.service.query.impl.NodeQueryImpl
- queryAllAs(Class<T>) - Method in interface org.testfx.service.query.NodeQuery
-
Type-safe version of
NodeQuery.queryAll()that executes thisNodeQueryand returns theSetof all theNodes that match this query. - queryAs(Class<T>) - Method in class org.testfx.service.query.impl.NodeQueryImpl
- queryAs(Class<T>) - Method in interface org.testfx.service.query.NodeQuery
-
Type-safe version of
NodeQuery.query()that executes thisNodeQueryand returns the firstNodefound that matches this query. - queryButton() - Method in interface org.testfx.service.query.NodeQuery
-
Executes this
NodeQueryand returns the firstButtonfound that matches this query. - queryComboBox() - Method in interface org.testfx.service.query.NodeQuery
-
Executes this
NodeQueryand returns the firstComboBoxfound that matches this query. - queryDescriptors - Variable in class org.testfx.service.query.impl.NodeQueryImpl
- queryLabeled() - Method in interface org.testfx.service.query.NodeQuery
-
Executes this
NodeQueryand returns the firstLabeledfound that matches this query. - queryListView() - Method in interface org.testfx.service.query.NodeQuery
-
Executes this
NodeQueryand returns the firstListViewfound that matches this query. - queryMotion() - Method in class org.testfx.service.query.impl.PointQueryBase
- queryMotion() - Method in interface org.testfx.service.query.PointQuery
- queryNode(NodeQuery, String) - Method in class org.testfx.api.FxRobot
- queryParent() - Method in interface org.testfx.service.query.NodeQuery
-
Executes this
NodeQueryand returns the firstParentfound that matches this query. - queryTableView() - Method in interface org.testfx.service.query.NodeQuery
-
Executes this
NodeQueryand returns the firstTableViewfound that matches this query. - queryText() - Method in interface org.testfx.service.query.NodeQuery
-
Executes this
NodeQueryand returns the firstTextfound that matches this query. - queryTextFlow() - Method in interface org.testfx.service.query.NodeQuery
-
Executes this
NodeQueryand returns the firstTextFlowfound that matches this query. - queryTextInputControl() - Method in interface org.testfx.service.query.NodeQuery
-
Executes this
NodeQueryand returns the firstTextInputControlfound that matches this query. - queryVisibleNode(NodeQuery, String) - Method in class org.testfx.api.FxRobot
R
- readImageFromStream(InputStream) - Method in class org.testfx.service.support.impl.CaptureSupportImpl
- registerApplicationParameters(Application, String...) - Method in class org.testfx.toolkit.impl.ToolkitServiceImpl
- registeredStage - Variable in class org.testfx.api.FxToolkitContext
- registerException(Throwable) - Static method in class org.testfx.util.WaitForAsyncUtils
-
Used to add an exception on the stack.
- registerPrimaryStage() - Static method in class org.testfx.api.FxToolkit
-
Sets up the
PrimaryStageApplicationto use in tests, prevents it from shutting down when the last window is closed, and returns theStagefromApplication.start(Stage). - registerStage(Supplier<Stage>) - Static method in class org.testfx.api.FxToolkit
-
Runs the stageSupplier on the
JavaFX Application Thread, registers the supplied stage, and returns that stage. - release(KeyCode...) - Method in class org.testfx.api.FxRobot
- release(KeyCode...) - Method in interface org.testfx.api.FxRobotInterface
-
Calls
KeyboardRobot.press(KeyCode...)and returns itself for method chaining. - release(KeyCode...) - Method in class org.testfx.robot.impl.KeyboardRobotImpl
- release(KeyCode...) - Method in interface org.testfx.robot.KeyboardRobot
-
Releases the given keys.
- release(MouseButton...) - Method in class org.testfx.api.FxRobot
- release(MouseButton...) - Method in interface org.testfx.api.FxRobotInterface
-
Releases pressed mouse buttons.
- release(MouseButton...) - Method in class org.testfx.robot.impl.MouseRobotImpl
- release(MouseButton...) - Method in interface org.testfx.robot.MouseRobot
-
Releases the given mouse buttons.
- releaseButton(MouseButton) - Method in class org.testfx.robot.impl.MouseRobotImpl
- releaseKey(KeyCode) - Method in class org.testfx.robot.impl.KeyboardRobotImpl
- releaseKeyboard(KeyCode) - Method in interface org.testfx.robot.BaseRobot
- releaseKeyboard(KeyCode) - Method in class org.testfx.robot.impl.BaseRobotImpl
- releaseMouse(MouseButton) - Method in interface org.testfx.robot.BaseRobot
- releaseMouse(MouseButton) - Method in class org.testfx.robot.impl.BaseRobotImpl
- releaseNoWait(KeyCode...) - Method in class org.testfx.robot.impl.KeyboardRobotImpl
- releaseNoWait(KeyCode...) - Method in interface org.testfx.robot.KeyboardRobot
-
Releases the given keys.
- releaseNoWait(MouseButton...) - Method in class org.testfx.robot.impl.MouseRobotImpl
- releaseNoWait(MouseButton...) - Method in interface org.testfx.robot.MouseRobot
-
Releases the given mouse buttons.
- removeListener - Variable in class org.testfx.service.support.FiredEvents
- resolveParameter(ParameterContext, ExtensionContext) - Method in class org.testfx.framework.junit5.ApplicationExtension
- RETRIEVAL_TIMEOUT_IN_MILLIS - Static variable in class org.testfx.service.adapter.impl.GlassRobotAdapter
- retrieveMouse() - Method in interface org.testfx.robot.BaseRobot
- retrieveMouse() - Method in class org.testfx.robot.impl.BaseRobotImpl
- retrieveOwnerOf(Window) - Method in class org.testfx.service.finder.impl.WindowFinderImpl
- retryCount - Variable in class org.testfx.framework.junit.TestFXRule
- RetryException(String) - Constructor for exception org.testfx.framework.junit.TestFXRule.RetryException
- returnValue - Variable in class org.testfx.framework.junit5.utils.FXUtils.RunnableWithReturn
- rightClickOn() - Method in class org.testfx.api.FxRobot
- rightClickOn() - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Clicks the
MouseButton.SECONDARYbutton and returns itself for method chaining. - rightClickOn(double, double) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse directly to the given coordinates, clicks the
MouseButton.SECONDARYbutton, and returns itself for method chaining. - rightClickOn(double, double, Motion) - Method in class org.testfx.api.FxRobot
- rightClickOn(double, double, Motion) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse using the given
motion(see:Motionto the given coordinates, clicks theMouseButton.SECONDARYbutton, and returns itself for method chaining. - rightClickOn(String) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse directly to the point returned from
FxRobotInterface.point(String), clicks theMouseButton.SECONDARYbutton, and returns itself for method chaining. - rightClickOn(String, Motion) - Method in class org.testfx.api.FxRobot
- rightClickOn(String, Motion) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse using the given
motion(see:Motionto the point returned fromFxRobotInterface.point(String), clicks theMouseButton.SECONDARYbutton, and returns itself for method chaining. - rightClickOn(Predicate<T>) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse directly to the point returned from
FxRobotInterface.point(Predicate), clicks theMouseButton.SECONDARYbutton, and returns itself for method chaining. - rightClickOn(Predicate<T>, Motion) - Method in class org.testfx.api.FxRobot
- rightClickOn(Predicate<T>, Motion) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse using the given
motion(see:Motionto the point returned fromFxRobotInterface.point(Predicate), clicks theMouseButton.SECONDARYbutton, and returns itself for method chaining. - rightClickOn(Bounds) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse directly to the point returned from
FxRobotInterface.point(Bounds), clicks theMouseButton.SECONDARYbutton, and returns itself for method chaining. - rightClickOn(Bounds, Motion) - Method in class org.testfx.api.FxRobot
- rightClickOn(Bounds, Motion) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse using the given
motion(see:Motionto the point returned fromFxRobotInterface.point(Bounds), clicks theMouseButton.SECONDARYbutton, and returns itself for method chaining. - rightClickOn(Point2D) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse to the point returned from
FxRobotInterface.point(Point2D), clicks theMouseButton.SECONDARYbutton, and returns itself for method chaining. - rightClickOn(Point2D, Motion) - Method in class org.testfx.api.FxRobot
- rightClickOn(Point2D, Motion) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse using the given
motion(see:Motionto the point returned fromFxRobotInterface.point(Point2D), clicks theMouseButton.SECONDARYbutton, and returns itself for method chaining. - rightClickOn(Node) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse directly to the point returned from
FxRobotInterface.point(Node), clicks theMouseButton.SECONDARYbutton, and returns itself for method chaining. - rightClickOn(Node, Motion) - Method in class org.testfx.api.FxRobot
- rightClickOn(Node, Motion) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse using the given
motion(see:Motionto the point returned fromFxRobotInterface.point(Node), clicks theMouseButton.SECONDARYbutton, and returns itself for method chaining. - rightClickOn(Scene) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse directly to the point returned from
FxRobotInterface.point(Scene), clicks theMouseButton.SECONDARYbutton, and returns itself for method chaining. - rightClickOn(Scene, Motion) - Method in class org.testfx.api.FxRobot
- rightClickOn(Scene, Motion) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse using the given
motion(see:Motionto the point returned fromFxRobotInterface.point(Scene), clicks theMouseButton.SECONDARYbutton, and returns itself for method chaining. - rightClickOn(Window) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse directly to the point returned from
FxRobotInterface.point(Window), clicks theMouseButton.SECONDARYbutton, and returns itself for method chaining. - rightClickOn(Window, Motion) - Method in class org.testfx.api.FxRobot
- rightClickOn(Window, Motion) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse using the given
motion(see:Motionto the point returned fromFxRobotInterface.point(Window), clicks theMouseButton.SECONDARYbutton, and returns itself for method chaining. - rightClickOn(Matcher<T>) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse directly to the point returned from
FxRobotInterface.point(Matcher), clicks theMouseButton.SECONDARYbutton, and returns itself for method chaining. - rightClickOn(Matcher<T>, Motion) - Method in class org.testfx.api.FxRobot
- rightClickOn(Matcher<T>, Motion) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse using the given
motion(see:Motionto the point returned fromFxRobotInterface.point(Matcher), clicks theMouseButton.SECONDARYbutton, and returns itself for method chaining. - rightClickOn(PointQuery) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse directly to the point returned from
PointQuery.query(), clicks theMouseButton.SECONDARYbutton and returns itself for method chaining. - rightClickOn(PointQuery, Motion) - Method in class org.testfx.api.FxRobot
- rightClickOn(PointQuery, Motion) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Moves mouse using the given
motion(see:Motionto the point returned fromPointQuery.query(), clicks theMouseButton.SECONDARYbutton and returns itself for method chaining. - robotAdapter - Variable in class org.testfx.robot.impl.BaseRobotImpl
- RobotAdapter<T> - Interface in org.testfx.service.adapter
-
The common interface for all RobotAdapters.
These are the minimum set of functions required from a robot to provide the full functionality use in the higher level api. - robotContext() - Method in class org.testfx.api.FxRobot
-
Returns the internal context.
- robotCreate() - Method in class org.testfx.service.adapter.impl.AwtRobotAdapter
- robotCreate() - Method in class org.testfx.service.adapter.impl.JavafxRobotAdapter
- robotCreate() - Method in class org.testfx.service.adapter.impl.PrivateGlassRobotAdapter
- robotCreate() - Method in class org.testfx.service.adapter.impl.PublicGlassRobotAdapter
- robotCreate() - Method in interface org.testfx.service.adapter.RobotAdapter
-
Creates a robot.
- robotCreate(Scene) - Method in class org.testfx.service.adapter.impl.JavafxRobotAdapter
- robotDestroy() - Method in class org.testfx.service.adapter.impl.AwtRobotAdapter
- robotDestroy() - Method in class org.testfx.service.adapter.impl.JavafxRobotAdapter
- robotDestroy() - Method in class org.testfx.service.adapter.impl.PrivateGlassRobotAdapter
- robotDestroy() - Method in class org.testfx.service.adapter.impl.PublicGlassRobotAdapter
- robotDestroy() - Method in interface org.testfx.service.adapter.RobotAdapter
-
Destroys the robot
- rootNode(Node) - Method in class org.testfx.api.FxRobot
- rootNode(Node) - Method in interface org.testfx.api.FxRobotInterface
-
Calls
NodeFinder.rootNode(Node)and returns itself for method chaining. - rootNode(Node) - Method in class org.testfx.service.finder.impl.NodeFinderImpl
- rootNode(Node) - Method in interface org.testfx.service.finder.NodeFinder
-
Returns the node's scene's root node
- rootNode(Scene) - Method in class org.testfx.api.FxRobot
- rootNode(Scene) - Method in interface org.testfx.api.FxRobotInterface
-
Calls
NodeFinder.rootNode(Scene)and returns itself for method chaining. - rootNode(Scene) - Method in class org.testfx.service.finder.impl.NodeFinderImpl
- rootNode(Scene) - Method in interface org.testfx.service.finder.NodeFinder
-
Returns the scene's root node
- rootNode(Window) - Method in class org.testfx.api.FxRobot
- rootNode(Window) - Method in interface org.testfx.api.FxRobotInterface
-
Calls
NodeFinder.rootNode(Window)and returns itself for method chaining. - rootNode(Window) - Method in class org.testfx.service.finder.impl.NodeFinderImpl
- rootNode(Window) - Method in interface org.testfx.service.finder.NodeFinder
-
Returns the window's scene's root node.
- rootOfPopupControl(PopupControl...) - Static method in class org.testfx.util.NodeQueryUtils
-
Returns a set of the given popup controls' scenes' root nodes.
- rootOfScene(Scene...) - Static method in class org.testfx.util.NodeQueryUtils
-
Returns a set of the given scenes' root nodes.
- rootOfStage(Stage...) - Static method in class org.testfx.util.NodeQueryUtils
-
Returns a set of the given stages' scenes' root nodes.
- rootOfWindow(Window...) - Static method in class org.testfx.util.NodeQueryUtils
-
Returns a set of the given windows' scenes' root nodes.
- rootsOfWindows() - Method in class org.testfx.service.finder.impl.NodeFinderImpl
- rootsOfWindows(Collection<Window>) - Static method in class org.testfx.util.NodeQueryUtils
-
Returns a set of the given windows' scenes' root nodes.
- run() - Method in class org.testfx.framework.junit5.utils.FXUtils.RunnableWithReturn
- runAndWait(Runnable) - Static method in class org.testfx.framework.junit5.utils.FXUtils
-
Invokes a Runnable in JFX Thread and waits while it's finished.
- runAndWait(Supplier<R>) - Static method in class org.testfx.framework.junit5.utils.FXUtils
-
Invokes a Runnable in JFX Thread and waits while it's finished.
- runAndWait(T, Function<T, R>) - Static method in class org.testfx.framework.junit5.utils.FXUtils
-
Invokes a Runnable in JFX Thread and waits while it's finished.
- runCode(Runnable) - Static method in class org.testfx.util.DebugUtils
-
Ignores the given
StringBuilderand just runs the given code block. - runFX(Runnable) - Static method in class org.testfx.framework.junit5.utils.FXUtils
- RunnableWithReturn(Supplier<R>) - Constructor for class org.testfx.framework.junit5.utils.FXUtils.RunnableWithReturn
- runOnFxThread(Runnable) - Static method in class org.testfx.util.WaitForAsyncUtils
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
- saveImage(Image, CaptureFileFormat, Path) - Method in interface org.testfx.service.support.CaptureSupport
-
Saves the given image, with a provided fileformat to the given path.
- saveImage(Image, CaptureFileFormat, 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
- scaleInverseRect(Point2D) - Method in class org.testfx.service.adapter.impl.AwtRobotAdapter
- scaleRect(Rectangle2D) - Method in class org.testfx.service.adapter.impl.AwtRobotAdapter
- scaleRequired() - Method in class org.testfx.service.adapter.impl.AwtRobotAdapter
- scene - Variable in class org.testfx.service.adapter.impl.JavafxRobotAdapter
- sceneMouseX - Variable in class org.testfx.service.adapter.impl.JavafxRobotAdapter
- sceneMouseY - Variable in class org.testfx.service.adapter.impl.JavafxRobotAdapter
- screenMouseX - Variable in class org.testfx.service.adapter.impl.JavafxRobotAdapter
- screenMouseY - Variable in class org.testfx.service.adapter.impl.JavafxRobotAdapter
- 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 arguments1anddirectionand 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 arguments1anddirectionand returns itself for more method chaining. - SCROLL_ONE_DOWN_OR_RIGHT - Static variable in class org.testfx.robot.impl.ScrollRobotImpl
- SCROLL_ONE_UP_OR_LEFT - Static variable in class org.testfx.robot.impl.ScrollRobotImpl
- 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 - Variable in class org.testfx.api.FxRobotContext
- 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). - SelectiveJavaFxInterceptor() - Constructor for class org.testfx.framework.junit5.JavaFXInterceptorUtils.SelectiveJavaFxInterceptor
- SELECTOR_LIST_CELL - Static variable in class org.testfx.matcher.control.ListViewMatchers
- SELECTOR_TABLE_CELL - Static variable in class org.testfx.matcher.control.TableViewMatchers
- SEMAPHORE_LOOPS_COUNT - Static variable in class org.testfx.util.WaitForAsyncUtils
- SEMAPHORE_SLEEP_IN_MILLIS - Static variable in class org.testfx.util.WaitForAsyncUtils
- serialVersionUID - Static variable in exception org.testfx.api.FxRobotException
- serialVersionUID - Static variable in exception org.testfx.service.locator.BoundsLocatorException
- serialVersionUID - Static variable in exception org.testfx.service.query.EmptyNodeQueryException
- SERVICE - Static variable in class org.testfx.api.FxToolkit
- serviceContext() - Static method in class org.testfx.api.FxService
- serviceRegistration - Variable in class org.testfx.osgi.Activator
- 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
- setException(Throwable) - Method in class org.testfx.util.WaitForAsyncUtils.ASyncFXCallable
-
Called to handle exceptions during run().
- setField(Object, Field, Object) - Method in class org.testfx.framework.junit5.ApplicationExtension
- 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
- setup() - Static method in class org.testfx.util.WaitForAsyncUtils
-
Needs to be called to setup WaitForAsyncUtils before the first use.
- 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
FuturewhoseFuture.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
FuturewhoseFuture.get()returns the created application. - setupFixture(Runnable) - Static method in class org.testfx.api.FxToolkit
-
Runs the given
runnableon theJavaFX Application Threadand 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
callableon theJavaFX Application Threadand 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
sceneSupplieron 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 Threadand returns aFuturewhoseFuture.get()returns the given scene. - setupSceneRoot(Supplier<Parent>) - Static method in class org.testfx.api.FxToolkit
-
Runs the
sceneRootSupplieron 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 aFuturewhoseFuture.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
stageConsumeron theJavaFX Application Threadand 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 Threadand returns aFuturewhoseFuture.get()returns that stage. - setupTimeoutInMillis - Variable in class org.testfx.api.FxToolkitContext
-
The number of milliseconds before timing out setup-related components.
- 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 theMouseButtons 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.
- SLEEP_AFTER_CHARACTER_IN_MILLIS - Static variable in class org.testfx.robot.impl.WriteRobotImpl
- SLEEP_AFTER_DOUBLE_CLICK_IN_MILLIS - Static variable in class org.testfx.robot.impl.ClickRobotImpl
- SLEEP_AFTER_KEY_CODE_IN_MILLIS - Static variable in class org.testfx.robot.impl.TypeRobotImpl
- SLEEP_AFTER_MOVEMENT_STEP_IN_MILLIS - Static variable in class org.testfx.robot.impl.MoveRobotImpl
- sleepRobot - Variable in class org.testfx.api.FxRobotContext
- sleepRobot - Variable in class org.testfx.robot.impl.ClickRobotImpl
- sleepRobot - Variable in class org.testfx.robot.impl.MoveRobotImpl
- sleepRobot - Variable in class org.testfx.robot.impl.TypeRobotImpl
- sleepRobot - Variable in class org.testfx.robot.impl.WriteRobotImpl
- SleepRobot - Interface in org.testfx.robot
- SleepRobotImpl - Class in org.testfx.robot.impl
- SleepRobotImpl() - Constructor for class org.testfx.robot.impl.SleepRobotImpl
- snapshotNodeToImage(Node) - Method in class org.testfx.service.support.impl.CaptureSupportImpl
- stackTraceAsString(Throwable) - Static method in exception org.testfx.framework.junit.TestFXRule.RetryException
- stage - Variable in class org.testfx.framework.junit.ApplicationRule
- start - Variable in class org.testfx.framework.junit.ApplicationRule
- start - Variable in class org.testfx.framework.junit5.ApplicationExtension.AnnotationBasedApplicationFixture
- 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.framework.junit.ApplicationAdapter
- start(Stage) - Method in interface org.testfx.framework.junit.ApplicationFixture
- start(Stage) - Method in class org.testfx.framework.junit.ApplicationRule
- start(Stage) - Method in class org.testfx.framework.junit.ApplicationTest
- start(Stage) - Method in class org.testfx.framework.junit5.ApplicationAdapter
- start(Stage) - Method in class org.testfx.framework.junit5.ApplicationExtension.AnnotationBasedApplicationFixture
- start(Stage) - Method in interface org.testfx.framework.junit5.ApplicationFixture
- start(Stage) - Method in class org.testfx.framework.junit5.ApplicationTest
- start(Stage) - Method in class org.testfx.toolkit.PrimaryStageApplication
- start(BundleContext) - Method in class org.testfx.osgi.Activator
- Start - Annotation Type in org.testfx.framework.junit5
- starting(Description) - Method in class org.testfx.framework.junit.TestFXRule
- stop - Variable in class org.testfx.framework.junit.ApplicationRule
- stop - Variable in class org.testfx.framework.junit5.ApplicationExtension.AnnotationBasedApplicationFixture
- stop() - Method in class org.testfx.framework.junit.ApplicationAdapter
- stop() - Method in interface org.testfx.framework.junit.ApplicationFixture
- stop() - Method in class org.testfx.framework.junit.ApplicationRule
- stop() - Method in class org.testfx.framework.junit.ApplicationTest
- stop() - Method in class org.testfx.framework.junit5.ApplicationAdapter
- stop() - Method in class org.testfx.framework.junit5.ApplicationExtension.AnnotationBasedApplicationFixture
- stop() - Method in interface org.testfx.framework.junit5.ApplicationFixture
- stop() - Method in class org.testfx.framework.junit5.ApplicationTest
- 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
- Stop - Annotation Type in org.testfx.framework.junit5
- stopStoringFiredEvents() - Method in class org.testfx.service.support.FiredEvents
- StyleableAssert - Class in org.testfx.assertions.api
-
Assertion methods for
Styleableobjects. - StyleableAssert(Styleable) - Constructor for class org.testfx.assertions.api.StyleableAssert
- StyleableMatchers - Class in org.testfx.matcher.base
-
TestFX matchers for
Styleableobjects. - StyleableMatchers() - Constructor for class org.testfx.matcher.base.StyleableMatchers
- supportsParameter(ParameterContext, ExtensionContext) - Method in class org.testfx.framework.junit5.ApplicationExtension
T
- t - Variable in class org.testfx.framework.junit5.utils.FXUtils.ExceptionWrapper
- TableViewAssert<T> - Class in org.testfx.assertions.api
-
Assertion methods for
TableViews. - TableViewAssert(TableView<T>) - Constructor for class org.testfx.assertions.api.TableViewAssert
- TableViewMatchers - Class in org.testfx.matcher.control
-
TestFX matchers for
TableViewcontrols. - TableViewMatchers() - Constructor for class org.testfx.matcher.control.TableViewMatchers
- targetPos(Pos) - Method in class org.testfx.api.FxRobot
- targetPos(Pos) - Method in interface org.testfx.api.FxRobotInterface
-
Stores the given position as the position to be used in all
point()-related methods such asFxRobotInterface.point(Node)andFxRobotInterface.point(Point2D), and returns itself for method chaining. - targetWindow() - Method in class org.testfx.api.FxRobot
- targetWindow() - Method in interface org.testfx.api.FxRobotInterface
-
Calls
WindowFinder.targetWindow()and returns itself for method chaining. - targetWindow() - Method in class org.testfx.service.finder.impl.WindowFinderImpl
- targetWindow() - Method in interface org.testfx.service.finder.WindowFinder
-
Returns the last stored target window.
- targetWindow(int) - Method in class org.testfx.api.FxRobot
- targetWindow(int) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Calls
WindowFinder.targetWindow(int)and returns itself for method chaining. - targetWindow(int) - Method in class org.testfx.service.finder.impl.WindowFinderImpl
- targetWindow(int) - Method in interface org.testfx.service.finder.WindowFinder
-
Stores the window returned from
WindowFinder.window(int)as the new last target window. - targetWindow(String) - Method in class org.testfx.api.FxRobot
- targetWindow(String) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Calls
WindowFinder.targetWindow(String)and returns itself for method chaining. - targetWindow(String) - Method in class org.testfx.service.finder.impl.WindowFinderImpl
- targetWindow(String) - Method in interface org.testfx.service.finder.WindowFinder
-
Stores the stage whose title matches the given regex as the new last target window.
- targetWindow(Predicate<Window>) - Method in class org.testfx.api.FxRobot
- targetWindow(Predicate<Window>) - Method in interface org.testfx.api.FxRobotInterface
-
Calls
WindowFinder.targetWindow(Predicate)and returns itself for method chaining. - targetWindow(Predicate<Window>) - Method in class org.testfx.service.finder.impl.WindowFinderImpl
- targetWindow(Predicate<Window>) - Method in interface org.testfx.service.finder.WindowFinder
-
Stores the first window that is closes by proximity to the last stored target window and passes the given predicate as the new last target window or throws a
NoSuchElementExceptionif none exist. - targetWindow(Pattern) - Method in class org.testfx.api.FxRobot
- targetWindow(Pattern) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Calls
WindowFinder.targetWindow(Pattern)and returns itself for method chaining. - targetWindow(Pattern) - Method in class org.testfx.service.finder.impl.WindowFinderImpl
- targetWindow(Pattern) - Method in interface org.testfx.service.finder.WindowFinder
-
Stores the stage whose title matches the given regex as the new last target window.
- targetWindow(Node) - Method in class org.testfx.api.FxRobot
- targetWindow(Node) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Calls
WindowFinder.targetWindow(Node)and returns itself for method chaining. - targetWindow(Node) - Method in class org.testfx.service.finder.impl.WindowFinderImpl
- targetWindow(Node) - Method in interface org.testfx.service.finder.WindowFinder
-
Stores the given node's scene's window as the new last target window.
- targetWindow(Scene) - Method in class org.testfx.api.FxRobot
- targetWindow(Scene) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Calls
WindowFinder.targetWindow(Scene)and returns itself for method chaining. - targetWindow(Scene) - Method in class org.testfx.service.finder.impl.WindowFinderImpl
- targetWindow(Scene) - Method in interface org.testfx.service.finder.WindowFinder
-
Stores the given scene's window as the new last target window.
- targetWindow(Window) - Method in class org.testfx.api.FxRobot
- targetWindow(Window) - Method in interface org.testfx.api.FxRobotInterface
-
Calls
WindowFinder.targetWindow(Window)and returns itself for method chaining. - targetWindow(Window) - Method in class org.testfx.service.finder.impl.WindowFinderImpl
- targetWindow(Window) - Method in interface org.testfx.service.finder.WindowFinder
-
Stores the given window as the target window.
- TestFx - Interface in org.testfx.osgi.service
-
Always returns true once the TestFx core bundle has been resolved and this interface has therefore been registered as a service.
- TestFx - Annotation Type in org.testfx.framework.junit5
-
extension of JUnits @Test annotation to indicate that a particular test should be explicitly executed within the JavaFX thread.
- TestFXRule - Class in org.testfx.framework.junit
-
Optional JUnit rule that can be used to ensure the JavaFX platform has been initialized before UI tests are run.
- TestFXRule() - Constructor for class org.testfx.framework.junit.TestFXRule
- TestFXRule(int) - Constructor for class org.testfx.framework.junit.TestFXRule
- TestFXRule.RetryException - Exception in org.testfx.framework.junit
- testInstance - Variable in class org.testfx.framework.junit5.ApplicationExtension.AnnotationBasedApplicationFixture
- TextAssert - Class in org.testfx.assertions.api
-
Assertion methods for
Texts. - TextAssert(Text) - Constructor for class org.testfx.assertions.api.TextAssert
- TextFlowAssert - Class in org.testfx.assertions.api
-
Assertion methods for
TextFlows. - TextFlowAssert(TextFlow) - Constructor for class org.testfx.assertions.api.TextFlowAssert
- TextFlowMatchers - Class in org.testfx.matcher.control
-
TestFX matchers for
TextFlowcontrols. - TextFlowMatchers() - Constructor for class org.testfx.matcher.control.TextFlowMatchers
- TextInputControlAssert - Class in org.testfx.assertions.api
-
Assertion methods for
TextInputControls. - TextInputControlAssert(TextInputControl) - Constructor for class org.testfx.assertions.api.TextInputControlAssert
- TextInputControlMatchers - Class in org.testfx.matcher.control
-
TestFX matchers for
TextInputControlcontrols. - TextInputControlMatchers() - Constructor for class org.testfx.matcher.control.TextInputControlMatchers
- TextMatchers - Class in org.testfx.matcher.control
-
TestFX matchers for
Textnodes. - TextMatchers() - Constructor for class org.testfx.matcher.control.TextMatchers
- threadCount - Variable in class org.testfx.util.WaitForAsyncUtils.DefaultThreadFactory
- throwException - Variable in class org.testfx.util.WaitForAsyncUtils.ASyncFXCallable
-
If true, exceptions will be added to the internal stack.
- toNode(String) - Static method in class org.testfx.api.FxAssert
- toNodeMatcher(Predicate<T>) - Static method in class org.testfx.api.FxAssert
- toNodeSet(String) - Static method in class org.testfx.api.FxAssert
- toolkitContext() - Static method in class org.testfx.api.FxToolkit
-
Returns the internal context.
- ToolkitService - Interface in org.testfx.toolkit
-
Interface that handles setting up an
Application,Stage,Scene, orrootNodeand application cleanup on theJavaFX Application Thread. - ToolkitServiceImpl - Class in org.testfx.toolkit.impl
- ToolkitServiceImpl(ApplicationLauncher, ApplicationService) - Constructor for class org.testfx.toolkit.impl.ToolkitServiceImpl
- toString() - Method in enum org.testfx.internal.JavaVersionAdapter.JavaVersion
- toString() - Method in class org.testfx.service.query.impl.NodeQueryImpl
- toString() - Method in class org.testfx.service.query.impl.PointQueryBase
- totalPixels - Variable in class org.testfx.service.support.PixelMatcherResult
- toText(ObservableList<Node>) - Static method in class org.testfx.matcher.base.ParentMatchers
- toText(TableView<?>) - Static method in class org.testfx.matcher.control.TableViewMatchers
-
Returns a textual representation of all rows of the given
tableView. - toText(TableView<?>, int) - Static method in class org.testfx.matcher.control.TableViewMatchers
-
Returns a textual representation of one row (specified by
rowIndex) of the giventableView. - toText(Font) - Static method in class org.testfx.matcher.control.TextMatchers
- toVersion(String) - Static method in class org.testfx.internal.JavaVersionAdapter
- trace - Variable in class org.testfx.util.WaitForAsyncUtils.ASyncFXCallable
-
Holds the stacktrace of the caller, for printing, if an Exception occurs.
- TRACE_FETCH - Static variable in class org.testfx.util.WaitForAsyncUtils
-
If true exceptions will be printed when they are fetched by a caller.
- transformException(Throwable) - Method in class org.testfx.util.WaitForAsyncUtils.ASyncFXCallable
-
Transforms am exception to be a throwable.
- translateBounds(Bounds, double, double) - Method in class org.testfx.service.locator.impl.BoundsLocatorImpl
- translateBounds(Bounds, Point2D) - Static method in class org.testfx.util.BoundsQueryUtils
- tryQuery() - Method in class org.testfx.service.query.impl.NodeQueryImpl
- tryQuery() - Method in interface org.testfx.service.query.NodeQuery
-
Executes this
NodeQueryand returns anOptionalthat either contains the firstNodefound that matches this query or nothing (e.g. - tryQueryAs(Class<T>) - Method in class org.testfx.service.query.impl.NodeQueryImpl
- tryQueryAs(Class<T>) - Method in interface org.testfx.service.query.NodeQuery
-
Type-safe version of
NodeQuery.tryQuery()that executes thisNodeQueryand returns anOptionalthat either contains the firstNodefound that matches this query or nothing (e.g. - type(KeyCode...) - Method in class org.testfx.api.FxRobot
- type(KeyCode...) - Method in interface org.testfx.api.FxRobotInterface
-
Calls
TypeRobot.type(KeyCode...)and returns itself for more method chaining. - type(KeyCode...) - Method in class org.testfx.robot.impl.TypeRobotImpl
- type(KeyCode...) - Method in interface org.testfx.robot.TypeRobot
-
Types given keys one after the other.
- type(KeyCode, int) - Method in class org.testfx.api.FxRobot
- type(KeyCode, int) - Method in interface org.testfx.api.FxRobotInterface
-
Calls
TypeRobot.type(KeyCode, int)and returns itself for more method chaining. - type(KeyCode, int) - Method in class org.testfx.robot.impl.TypeRobotImpl
- type(KeyCode, int) - Method in interface org.testfx.robot.TypeRobot
-
Types a given key multiple times.
- typeCharacterInScene(char, Scene) - Method in class org.testfx.robot.impl.WriteRobotImpl
- typeKeyboard(Scene, KeyCode, String) - Method in interface org.testfx.robot.BaseRobot
- typeKeyboard(Scene, KeyCode, String) - Method in class org.testfx.robot.impl.BaseRobotImpl
- typeRobot - Variable in class org.testfx.api.FxRobotContext
- TypeRobot - Interface in org.testfx.robot
- TypeRobotImpl - Class in org.testfx.robot.impl
- TypeRobotImpl(KeyboardRobot, SleepRobot) - Constructor for class org.testfx.robot.impl.TypeRobotImpl
- typeSafeMatcher(Class<T>, String, Function<S, String>, Predicate<T>) - Static method in class org.testfx.matcher.base.GeneralMatchers
-
Creates a matcher that matches when the passed-in object is not null, is an instance of the given type, and the given
predicatereturns true when that object is passed into it. - typeSafeMatcher(Class<T>, String, Predicate<T>) - Static method in class org.testfx.matcher.base.GeneralMatchers
-
Creates a matcher that matches when the passed-in object is not null, is an instance of the given type, and the given
predicatereturns true when that object is passed into it.
U
- UNIX - org.testfx.internal.PlatformAdapter.OS
- UNSUPPORTED_OPERATION_CALLING_CLASS - Static variable in class org.testfx.api.FxToolkit
- UNSUPPORTED_OPERATION_ERROR_MESSAGE - Static variable in class org.testfx.api.FxToolkit
- useRobot() - Method in class org.testfx.service.adapter.impl.AwtRobotAdapter
V
- validateInitMethod(Method) - Method in class org.testfx.framework.junit5.ApplicationExtension
- validateStartMethod(Method) - Method in class org.testfx.framework.junit5.ApplicationExtension
- validateStopMethod(Method) - Method in class org.testfx.framework.junit5.ApplicationExtension
- valueOf(String) - Static method in enum org.testfx.internal.JavaVersionAdapter.JavaVersion
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.testfx.internal.PlatformAdapter.OS
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.testfx.robot.Motion
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.testfx.service.support.CaptureFileFormat
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.testfx.internal.JavaVersionAdapter.JavaVersion
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.testfx.internal.PlatformAdapter.OS
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.testfx.robot.Motion
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.testfx.service.support.CaptureFileFormat
-
Returns an array containing the constants of this enum type, in the order they are declared.
- verifyThat(String, Predicate<T>) - Static method in class org.testfx.api.FxAssert
- verifyThat(String, Predicate<T>, Function<StringBuilder, StringBuilder>) - Static method in class org.testfx.api.FxAssert
- verifyThat(String, Matcher<T>) - Static method in class org.testfx.api.FxAssert
- verifyThat(String, Matcher<T>, Function<StringBuilder, StringBuilder>) - Static method in class org.testfx.api.FxAssert
- verifyThat(NodeQuery, Predicate<T>) - Static method in class org.testfx.api.FxAssert
- verifyThat(NodeQuery, Predicate<T>, Function<StringBuilder, StringBuilder>) - Static method in class org.testfx.api.FxAssert
- verifyThat(NodeQuery, Matcher<T>) - Static method in class org.testfx.api.FxAssert
- verifyThat(NodeQuery, Matcher<T>, Function<StringBuilder, StringBuilder>) - Static method in class org.testfx.api.FxAssert
- verifyThat(T, Predicate<T>) - Static method in class org.testfx.api.FxAssert
- verifyThat(T, Predicate<T>, Function<StringBuilder, StringBuilder>) - Static method in class org.testfx.api.FxAssert
- verifyThat(T, Matcher<? super T>) - Static method in class org.testfx.api.FxAssert
- verifyThat(T, Matcher<? super T>, Function<StringBuilder, StringBuilder>) - Static method in class org.testfx.api.FxAssert
- verifyThat(T, Matcher<T>) - Static method in class org.testfx.api.FxAssert
- verifyThat(T, Matcher<T>, Function<StringBuilder, StringBuilder>) - Static method in class org.testfx.api.FxAssert
- verifyThatImpl(String, T, Matcher<? super T>, Function<StringBuilder, StringBuilder>) - Static method in class org.testfx.api.FxAssert
-
Allow developer to debug a failed test (e.g.
- verifyThatIter(Iterable<T>, Matcher<Iterable<T>>) - Static method in class org.testfx.api.FxAssert
- verifyThatIter(Iterable<T>, Matcher<Iterable<T>>, Function<StringBuilder, StringBuilder>) - Static method in class org.testfx.api.FxAssert
- verifyThatIter(String, Matcher<Iterable<T>>) - Static method in class org.testfx.api.FxAssert
- verifyThatIter(String, Matcher<Iterable<T>>, Function<StringBuilder, StringBuilder>) - Static method in class org.testfx.api.FxAssert
- verifyThatIter(NodeQuery, Matcher<Iterable<T>>) - Static method in class org.testfx.api.FxAssert
- verifyThatIter(NodeQuery, Matcher<Iterable<T>>, Function<StringBuilder, StringBuilder>) - Static method in class org.testfx.api.FxAssert
- VERSION_1_1 - org.testfx.internal.JavaVersionAdapter.JavaVersion
- VERSION_1_10 - org.testfx.internal.JavaVersionAdapter.JavaVersion
- VERSION_1_2 - org.testfx.internal.JavaVersionAdapter.JavaVersion
- VERSION_1_3 - org.testfx.internal.JavaVersionAdapter.JavaVersion
- VERSION_1_4 - org.testfx.internal.JavaVersionAdapter.JavaVersion
- VERSION_1_5 - org.testfx.internal.JavaVersionAdapter.JavaVersion
- VERSION_1_6 - org.testfx.internal.JavaVersionAdapter.JavaVersion
- VERSION_1_7 - org.testfx.internal.JavaVersionAdapter.JavaVersion
- VERSION_1_8 - org.testfx.internal.JavaVersionAdapter.JavaVersion
- VERSION_1_9 - org.testfx.internal.JavaVersionAdapter.JavaVersion
- VERSION_11 - org.testfx.internal.JavaVersionAdapter.JavaVersion
- VERSION_HIGHER - org.testfx.internal.JavaVersionAdapter.JavaVersion
- versionName - Variable in enum org.testfx.internal.JavaVersionAdapter.JavaVersion
- VERTICAL_FIRST - org.testfx.robot.Motion
W
- WAIT_MILLIS - Static variable in class org.testfx.framework.junit.TestFXRule
- waitFor(long, TimeUnit, Callable<Boolean>) - Static method in class org.testfx.util.WaitForAsyncUtils
-
Waits for given
Callableto return true otherwise times out with aTimeoutException. - waitFor(long, TimeUnit, Future<T>) - Static method in class org.testfx.util.WaitForAsyncUtils
-
Waits for given
Futureto be set and returnsT, otherwise times out with aTimeoutException. - waitFor(long, TimeUnit, ObservableBooleanValue) - Static method in class org.testfx.util.WaitForAsyncUtils
-
Waits for given
ObservableBooleanValueto return true otherwise times out with aTimeoutException. - waitFor(Future<T>) - Static method in class org.testfx.util.WaitForAsyncUtils
-
Waits for the given
Futureto be set and then returns the future result of typeT. - waitForAsync(long, Runnable) - Static method in class org.testfx.util.WaitForAsyncUtils
-
Runs the given
Runnableon a newThreadand waitsmillismilliseconds for it to finish, otherwise times out with aTimeoutException. - waitForAsync(long, Callable<T>) - Static method in class org.testfx.util.WaitForAsyncUtils
-
Calls the given
Callableon a newThreadand waitsmillismilliseconds for it to finish. - waitForAsyncFx(long, Runnable) - Static method in class org.testfx.util.WaitForAsyncUtils
-
Runs the given
Runnableon the JavaFX Application Thread at some unspecified time in the future and waitsmillismilliseconds for it to finish, otherwise times out with aTimeoutException. - waitForAsyncFx(long, Callable<T>) - Static method in class org.testfx.util.WaitForAsyncUtils
-
Calls the given
Callableon the JavaFX Application Thread at some unspecified time in the future and waitsmillismilliseconds for it to finish. - WaitForAsyncUtils - Class in org.testfx.util
-
Provides static methods for handling execution on different threads.
- WaitForAsyncUtils() - Constructor for class org.testfx.util.WaitForAsyncUtils
- WaitForAsyncUtils.ASyncFXCallable<X> - Class in org.testfx.util
-
Internally used
Callablethat handles all the async stuff. - WaitForAsyncUtils.DefaultThreadFactory - Class in org.testfx.util
- waitForFxEvents() - Static method in class org.testfx.util.WaitForAsyncUtils
-
Waits for the event queue of the "JavaFX Application Thread" to be completed, as well as any new events triggered in it.
- waitForFxEvents(int) - Static method in class org.testfx.util.WaitForAsyncUtils
-
Waits up to
attemptsCountattempts for the event queue of the "JavaFX Application Thread" to be completed, as well as any new events triggered on it. - waitForMillis(long, Future<T>) - Static method in class org.testfx.util.WaitForAsyncUtils
- waitForSetup(Future<T>) - Static method in class org.testfx.api.FxToolkit
-
Waits for the given future to be set before returning or times out after
FxToolkitContext.getSetupTimeoutInMillis()is reached. - window(int) - Method in class org.testfx.api.FxRobot
- window(int) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Calls
WindowFinder.window(int)and returns itself for method chaining. - window(int) - Method in class org.testfx.service.finder.impl.WindowFinderImpl
- window(int) - Method in interface org.testfx.service.finder.WindowFinder
-
Returns the window at the given index from the list of windows that are ordered by proximity to the last stored target window.
- window(String) - Method in class org.testfx.api.FxRobot
- window(String) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Calls
WindowFinder.window(String)and returns itself for method chaining. - window(String) - Method in class org.testfx.service.finder.impl.WindowFinderImpl
- window(String) - Method in interface org.testfx.service.finder.WindowFinder
-
Returns the stage whose title matches the given regex.
- window(Predicate<Window>) - Method in class org.testfx.api.FxRobot
- window(Predicate<Window>) - Method in interface org.testfx.api.FxRobotInterface
-
Calls
WindowFinder.window(Predicate)and returns itself for method chaining. - window(Predicate<Window>) - Method in class org.testfx.service.finder.impl.WindowFinderImpl
- window(Predicate<Window>) - Method in interface org.testfx.service.finder.WindowFinder
-
Calls
WindowFinder.listTargetWindows()and returns the first window that passes the predicate or throws aNoSuchElementExceptionif none exist. - window(Pattern) - Method in class org.testfx.api.FxRobot
- window(Pattern) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Calls
WindowFinder.window(Pattern)and returns itself for method chaining. - window(Pattern) - Method in class org.testfx.service.finder.impl.WindowFinderImpl
- window(Pattern) - Method in interface org.testfx.service.finder.WindowFinder
-
Returns the stage whose title matches the given regex.
- window(Node) - Method in class org.testfx.api.FxRobot
- window(Node) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Calls
WindowFinder.window(Node)and returns itself for method chaining. - window(Node) - Method in class org.testfx.service.finder.impl.WindowFinderImpl
- window(Node) - Method in interface org.testfx.service.finder.WindowFinder
-
Returns the node's scene's window.
- window(Scene) - Method in class org.testfx.api.FxRobot
- window(Scene) - Method in interface org.testfx.api.FxRobotInterface
-
Convenience method: Calls
WindowFinder.window(Scene)and returns itself for method chaining. - window(Scene) - Method in class org.testfx.service.finder.impl.WindowFinderImpl
- window(Scene) - Method in interface org.testfx.service.finder.WindowFinder
-
Returns the scene's window.
- WindowAssert - Class in org.testfx.assertions.api
-
Assertion methods for
Windows. - WindowAssert(Window) - Constructor for class org.testfx.assertions.api.WindowAssert
- windowFinder - Variable in class org.testfx.api.FxRobotContext
- windowFinder - Variable in class org.testfx.api.FxServiceContext
- windowFinder - Variable in class org.testfx.robot.impl.WriteRobotImpl
- windowFinder - Variable in class org.testfx.service.finder.impl.NodeFinderImpl
- WindowFinder - Interface in org.testfx.service.finder
- WindowFinderImpl - Class in org.testfx.service.finder.impl
- WindowFinderImpl() - Constructor for class org.testfx.service.finder.impl.WindowFinderImpl
- WindowMatchers - Class in org.testfx.matcher.base
-
TestFX matchers for
Windowinstances. - WindowMatchers() - Constructor for class org.testfx.matcher.base.WindowMatchers
- WINDOWS - org.testfx.internal.PlatformAdapter.OS
- write(char) - Method in class org.testfx.api.FxRobot
- write(char) - Method in interface org.testfx.api.FxRobotInterface
-
Calls
WriteRobot.write(char)and returns itself for more method chaining. - write(char) - Method in class org.testfx.robot.impl.WriteRobotImpl
- write(char) - Method in interface org.testfx.robot.WriteRobot
-
Writes a given text character.
- write(String) - Method in class org.testfx.api.FxRobot
- write(String) - Method in interface org.testfx.api.FxRobotInterface
-
Calls
WriteRobot.write(String)and returns itself for more method chaining. - write(String) - Method in class org.testfx.robot.impl.WriteRobotImpl
- write(String) - Method in interface org.testfx.robot.WriteRobot
-
Writes the given text characters one after the other.
- write(String, int) - Method in class org.testfx.api.FxRobot
- write(String, int) - Method in interface org.testfx.api.FxRobotInterface
-
Calls
WriteRobot.write(String, int)and returns itself for more method chaining. - write(String, int) - Method in class org.testfx.robot.impl.WriteRobotImpl
- write(String, int) - Method in interface org.testfx.robot.WriteRobot
-
Writes the given text characters one after the other, sleeping for
sleepMillismilliseconds after each typed character. - writeImageToStream(Image, String, OutputStream) - Method in class org.testfx.service.support.impl.CaptureSupportImpl
- writeIntBufferToImage(IntBuffer, WritableImage) - Method in class org.testfx.service.adapter.impl.PrivateGlassRobotAdapter
- writeRobot - Variable in class org.testfx.api.FxRobotContext
- WriteRobot - Interface in org.testfx.robot
- WriteRobotImpl - Class in org.testfx.robot.impl
- WriteRobotImpl(BaseRobot, SleepRobot, WindowFinder) - Constructor for class org.testfx.robot.impl.WriteRobotImpl
All Classes All Packages