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 given
has input focus or not. This action is executed in the event dispatch thread.Component
- Parameters:
component
- the givenComponent
.- Returns:
true
if the givenComponent
has input focus,false
otherwise.- See Also:
-