org.fest.swing.query
Class ComponentShowingQuery

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

public final class ComponentShowingQuery
extends Object

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

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

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

Method Detail

isShowing

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

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


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