public final class ComponentShowingQuery extends Object
Component
is showing on the screen. This query is executed in the event
dispatch thread (EDT).Component.isShowing()
Modifier and Type | Method and Description |
---|---|
static boolean |
isShowing(Component component)
Indicates whether the given AWT or Swing
Component is showing or not. |
@RunsInEDT public static boolean isShowing(@Nonnull Component component)
Component
is showing or not. This query is executed in the event
dispatch thread (EDT).component
- the given Component
.true
if the given Component
is showing, false
otherwise.Component.isShowing()
Copyright © 2014–2019 AssertJ. All rights reserved.