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, toString
public 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()
Condition
Pause.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–2019 AssertJ. All rights reserved.