public class WaitForComponentToShowCondition extends Condition
Component is showing on the screen.EMPTY_TEXT| Modifier and Type | Method and Description |
|---|---|
protected void |
done()
Notification that this condition has been evaluated.
|
boolean |
test()
Indicates whether the AWT or Swing
Component in this condition is showing on the screen. |
static WaitForComponentToShowCondition |
untilIsShowing(Component c)
Creates a new
WaitForComponentToShowCondition. |
descriptionAddendum, toStringpublic static WaitForComponentToShowCondition untilIsShowing(@Nonnull Component c)
WaitForComponentToShowCondition.c - the AWT or Swing Component to verify.NullPointerException - if the Component is null.public boolean test()
Component in this condition is showing on the screen.protected void done()
ConditionPause.pause(Condition) (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.Copyright © 2014 AssertJ. All rights reserved.