org.fest.swing.query
Class ComponentEnabledQuery
java.lang.Object
org.fest.swing.query.ComponentEnabledQuery
public final class ComponentEnabledQuery
- extends Object
Understands an action, executed in the event dispatch thread, that indicates whether a Component
is enabled or not.
- Author:
- Alex Ruiz, Yvonne Wang
- See Also:
Component.isEnabled()
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
isEnabled
public static boolean isEnabled(Component component)
- Indicates whether the given
Component is enabled or not. This action is executed in the event
dispatch thread.
- Parameters:
component - the given Component.
- Returns:
true if the given Component is enabled, false otherwise.- See Also:
Component.isEnabled()
Copyright © 2007-2010 FEST (Fixtures for Easy Software Testing). All Rights Reserved.