org.fest.swing.query
Class ComponentVisibleQuery

java.lang.Object
  extended by org.fest.swing.query.ComponentVisibleQuery

public final class ComponentVisibleQuery
extends Object

Understands an action, executed in the event dispatch thread, that indicates whether a Component is visible or not.

Author:
Yvonne Wang, Alex Ruiz
See Also:
Component.isVisible()

Method Summary
static boolean isVisible(Component component)
          Indicates whether the given Component is visible or not.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isVisible

@RunsInEDT
public static boolean isVisible(Component component)
Indicates whether the given Component is visible or not. This action is executed in the event dispatch thread.

Parameters:
component - the given Component.
Returns:
true if the given Component is visible, false otherwise.
See Also:
Component.isVisible()


Copyright © 2007-2011 FEST (Fixtures for Easy Software Testing). All Rights Reserved.