Package org.fest.swing.driver
Class WaitForComponentToShowCondition
java.lang.Object
org.fest.swing.timing.Condition
org.fest.swing.driver.WaitForComponentToShowCondition
Understands a condition that verifies that a
Component is showing on the screen.-
Field Summary
FieldsFields inherited from class org.fest.swing.timing.Condition
EMPTY_TEXT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddone()$Notification that this condition has been evaluated.booleantest()Indicates whether thein this condition is showing on the screen or not.ComponentCreates a newWaitForComponentToShowCondition.Methods inherited from class org.fest.swing.timing.Condition
descriptionAddendum, toString
-
Field Details
-
c
-
-
Constructor Details
-
WaitForComponentToShowCondition
-
-
Method Details
-
untilIsShowing
Creates a newWaitForComponentToShowCondition.- Parameters:
c- theComponentto verify.- Returns:
- the created condition.
- Throws:
NullPointerException- if theComponentisnull.
-
test
public boolean test()Indicates whether thein this condition is showing on the screen or not.Component -
done
protected void done()$Notification that this condition has been evaluated. This method is invoked by(and all overloaded methods) when this condition is evaluated (either it was satisfied or it timed-out.) This is a good place to do any necessary resource cleanup.Pause.pause(Condition)
-