Package org.testfx.assertions.api
Class AbstractWindowAssert<SELF extends AbstractWindowAssert<SELF>>
- java.lang.Object
-
- org.assertj.core.api.AbstractAssert<SELF,javafx.stage.Window>
-
- org.testfx.assertions.api.AbstractWindowAssert<SELF>
-
- All Implemented Interfaces:
org.assertj.core.api.Assert<SELF,javafx.stage.Window>,org.assertj.core.api.Descriptable<SELF>,org.assertj.core.api.ExtensionPoints<SELF,javafx.stage.Window>
- Direct Known Subclasses:
WindowAssert
public class AbstractWindowAssert<SELF extends AbstractWindowAssert<SELF>> extends org.assertj.core.api.AbstractAssert<SELF,javafx.stage.Window>Base class for allWindowassertions.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractWindowAssert(javafx.stage.Window window, java.lang.Class<?> selfType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SELFisFocused()Verifies that the actualWindowis focused.SELFisNotFocused()Verifies that the actualWindowis not focused.SELFisNotShowing()Verifies that the actualWindowis not showing.SELFisShowing()Verifies that the actualWindowis showing.-
Methods inherited from class org.assertj.core.api.AbstractAssert
actual, areEqual, asInstanceOf, asList, assertionError, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, doesNotHaveSameHashCodeAs, doesNotHaveToString, doesNotHaveToString, doesNotMatch, doesNotMatch, equals, extracting, extracting, failure, failureWithActualExpected, failWithActualExpectedAndMessage, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, hasToString, inBinary, inHexadecimal, is, isElementOfCustomAssert, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isInstanceOfSatisfying, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, matches, matches, newListAssertInstance, overridingErrorMessage, overridingErrorMessage, satisfies, satisfies, satisfies, satisfiesAnyOf, satisfiesAnyOf, satisfiesAnyOfForProxy, satisfiesForProxy, setCustomRepresentation, setDescriptionConsumer, setPrintAssertionsDescription, throwAssertionError, usingComparator, usingComparator, usingDefaultComparator, usingEquals, usingEquals, usingRecursiveAssertion, usingRecursiveAssertion, usingRecursiveComparison, usingRecursiveComparison, withFailMessage, withFailMessage, withRepresentation, withThreadDumpOnError
-
-
-
-
Method Detail
-
isShowing
public SELF isShowing()
Verifies that the actualWindowis showing.- Returns:
- this assertion object
-
isNotShowing
public SELF isNotShowing()
Verifies that the actualWindowis not showing.- Returns:
- this assertion object
-
isFocused
public SELF isFocused()
Verifies that the actualWindowis focused.- Returns:
- this assertion object
-
isNotFocused
public SELF isNotFocused()
Verifies that the actualWindowis not focused.- Returns:
- this assertion object
-
-