org.assertj.swing.query
Class ComponentVisibleQuery
java.lang.Object
org.assertj.swing.query.ComponentVisibleQuery
public final class ComponentVisibleQuery
- extends Object
Indicates whether an AWT or Swing Component
is visible. This query is executed in the event dispatch thread
(EDT.)
- Author:
- Yvonne Wang, Alex Ruiz
Method Summary |
static boolean |
isVisible(Component component)
Indicates whether the given AWT or Swing Component is visible or not. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
isVisible
@RunsInEDT
public static boolean isVisible(@Nonnull
Component component)
- Indicates whether the given AWT or Swing
Component
is visible or not. This query is executed in the event
dispatch thread (EDT.)
- Parameters:
component
- the given Component
.
- Returns:
true
if the given Component
is visible, false
otherwise.- See Also:
Component.isVisible()
Copyright © 2014–2015 AssertJ. All rights reserved.