- hasAnyChild() - Method in class org.testfx.assertions.api.AbstractParentAssert
-
Verifies that the actual Parent has at least one child.
- hasChild(String) - Method in class org.testfx.assertions.api.AbstractNodeAssert
-
Verifies that the actual Node has a specific child Node.
- hasChild(String) - Static method in class org.testfx.matcher.base.NodeMatchers
-
- hasChild() - Static method in class org.testfx.matcher.base.ParentMatchers
-
Creates a matcher that matches all Parents that have at least one child.
- hasChildren(int, String) - Static method in class org.testfx.matcher.base.NodeMatchers
-
Creates a matcher that matches all
Nodes that have exactly
amount child nodes that are found
via
NodeQuery.lookup(String).
- hasChildren(int) - Static method in class org.testfx.matcher.base.ParentMatchers
-
Creates a matcher that matches all Parents that have exactly amount children.
- hasClosestNamedColor(Color) - Method in class org.testfx.assertions.api.AbstractColorAssert
-
Verifies that the actual Color has the given namedColor as their
closest named color.
- hasClosestNamedColor(String) - Method in class org.testfx.assertions.api.AbstractColorAssert
-
Verifies that the actual Color has the given namedColor as 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
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 color String
as their closest JavaFX named color.
- hasColoredText(String) - Method in class org.testfx.assertions.api.AbstractTextFlowAssert
-
Verifies that the actual TextFlow has the given coloredTextMarkup.
- 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.
- hasDimension(double, double) - Method in class org.testfx.assertions.api.AbstractDimension2DAssert
-
Verifies that the actual Dimension2D has the given width
and height.
- hasDimension(double, double) - Static method in class org.testfx.matcher.base.GeometryMatchers
-
Creates a TypeSafeMatcher that matches when a given Dimension2D's width and height
equal the given width and height.
- hasExactlyChildren(int, String) - Method in class org.testfx.assertions.api.AbstractNodeAssert
-
Verifies that the actual
Node has exactly the given
amount
of children that are looked up by the given
query, which is passed to
is passed to
NodeQuery.lookup(String).
- hasExactlyColoredText(String) - Method in class org.testfx.assertions.api.AbstractTextFlowAssert
-
Verifies that the actual TextFlow has exactly the given coloredTextMarkup.
- 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 Parent has exactly the given
amount of children.
- hasExactlyNumItems(int) - Method in class org.testfx.assertions.api.AbstractComboBoxAssert
-
Verifies that the actual ComboBox has exactly the given amount
of items.
- hasExactlyNumItems(int) - Method in class org.testfx.assertions.api.AbstractListViewAssert
-
Verifies that the actual ListView has exactly the given amount
of items.
- hasExactlyNumRows(int) - Method in class org.testfx.assertions.api.AbstractTableViewAssert
-
Verifies that the actual TableView has exactly the given amount
of rows.
- hasFont(Font) - Method in class org.testfx.assertions.api.AbstractTextAssert
-
Verifies that the actual Text has the given font.
- hasFont(Font) - Static method in class org.testfx.matcher.control.TextMatchers
-
Creates a matcher that matches all Texts that have the given font.
- hasFontSmoothingType(FontSmoothingType) - Method in class org.testfx.assertions.api.AbstractTextAssert
-
Verifies that the actual Text has the given smoothingType
(either FontSmoothingType.GRAY or FontSmoothingType.LCD).
- hasFontSmoothingType(FontSmoothingType) - Static method in class org.testfx.matcher.control.TextMatchers
-
Creates a matcher that matches all Texts that have the given smoothingType
(either FontSmoothingType.GRAY or FontSmoothingType.LCD).
- 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 exactly amount items.
- hasItems(int) - Static method in class org.testfx.matcher.control.ListViewMatchers
-
Creates a matcher that matches all ListViews that have exactly amount items (i.e.
- hasItems(int) - Static method in class org.testfx.matcher.control.TableViewMatchers
-
- hasListCell(Object) - Method in class org.testfx.assertions.api.AbstractListViewAssert
-
Verifies that the actual ListView contains the given list cell
value.
- 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 given value.
- hasNoChildren() - Method in class org.testfx.assertions.api.AbstractParentAssert
-
Verifies that the actual Parent has no children.
- hasNumRows(int) - Static method in class org.testfx.matcher.control.TableViewMatchers
-
Creates a matcher that matches all TableViews that have exactly amount rows.
- hasPlaceholder(Node) - Method in class org.testfx.assertions.api.AbstractListViewAssert
-
Verifies that the actual ListView has the given placeHolder
node.
- hasPlaceholder(Node) - Static method in class org.testfx.matcher.control.ListViewMatchers
-
Creates a matcher that matches ListViews that have the given placeHolder.
- hasSelectedItem(T) - Method in class org.testfx.assertions.api.AbstractComboBoxAssert
-
Verifies that the actual ComboBox has the given selection
as its' selected item.
- hasSelectedItem(T) - Static method in class org.testfx.matcher.control.ComboBoxMatchers
-
Creates a matcher that matches all ComboBoxes that have given selection as
its selected item.
- hasStrikethrough() - Method in class org.testfx.assertions.api.AbstractTextAssert
-
Verifies that the actual Text has 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).
- hasTableCell(Object) - Method in class org.testfx.assertions.api.AbstractTableViewAssert
-
Verifies that the actual TableView contains the given table cell
expectedValue.
- hasTableCell(Object) - Static method in class org.testfx.matcher.control.TableViewMatchers
-
Creates a matcher that matches all TableViews that has a TableCell
whose value or value.toString() equals the given value.
- hasText(String) - Method in class org.testfx.assertions.api.AbstractLabeledAssert
-
Verifies that the actual Labeled has exactly the given text.
- hasText(Matcher<String>) - Method in class org.testfx.assertions.api.AbstractLabeledAssert
-
Verifies that the actual Labeled is matched by the given matcher.
- hasText(String) - Method in class org.testfx.assertions.api.AbstractTextAssert
-
Verifies that the actual Text has exactly the given text.
- hasText(Matcher<String>) - Method in class org.testfx.assertions.api.AbstractTextAssert
-
Verifies that the actual Text is matched by the given matcher.
- hasText(String) - Method in class org.testfx.assertions.api.AbstractTextFlowAssert
-
Verifies that the actual TextFlow has exactly the given text
(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 TextInputControl has exactly the given text.
- hasText(Matcher<String>) - Method in class org.testfx.assertions.api.AbstractTextInputControlAssert
-
Verifies that the actual TextInputControl is matched by the given matcher.
- hasText(String) - Static method in class org.testfx.matcher.control.LabeledMatchers
-
Creates a matcher that matches all Labeled objects that have the given text as
their text.
- hasText(Matcher<String>) - Static method in class org.testfx.matcher.control.LabeledMatchers
-
Creates a matcher that matches all Labeled objects whose text matches the given matcher.
- hasText(String) - Static method in class org.testfx.matcher.control.MenuItemMatchers
-
Creates a matcher that matches all MenuItem objects
that have the given text as their text in MenuItem.
- hasText(Matcher<String>) - Static method in class org.testfx.matcher.control.MenuItemMatchers
-
Creates a matcher that matches all MenuItem objects whose text matches the given matcher.
- 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
its Text children's text together) equals the given string.
- hasText(String) - Static method in class org.testfx.matcher.control.TextInputControlMatchers
-
Creates a matcher that matches all TextInputControls that have text equal to the given text.
- 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 given
matcher.
- hasText(String) - Static method in class org.testfx.matcher.control.TextMatchers
-
Creates a matcher that matches all Texts whose text equals the given text.
- hasText(Matcher<String>) - Static method in class org.testfx.matcher.control.TextMatchers
-
Creates a matcher that matches all Texts whose text matches the given matcher.
- 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 given text.
- hasVisiblePlaceholder(Node) - Method in class org.testfx.assertions.api.AbstractListViewAssert
-
Verifies that the actual ListView has the given placeHolder
node 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 visible placeHolder.
- hideStage() - Static method in class org.testfx.api.FxToolkit
-
Runs on the JavaFX Application Thread: Hides the registered stage via Window.hide()
and returns once finished.