Package org.fest.swing.query
Class ComponentHasFocusQuery
java.lang.Object
org.fest.swing.query.ComponentHasFocusQuery
Understands an action, executed in the event dispatch thread, that indicates whether a
Component
has focus or not.- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ComponentHasFocusQuery
private ComponentHasFocusQuery()
-
-
Method Details
-
hasFocus
Indicates whether the givenhas input focus or not. This action is executed in the event dispatch thread.Component- Parameters:
component- the givenComponent.- Returns:
trueif the givenComponenthas input focus,falseotherwise.- See Also:
-