Package org.fest.swing.core
Class FocusOwnerFinder
java.lang.Object
org.fest.swing.core.FocusOwnerFinder
Understands lookup of a
Component
owning the input focus.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Component
Returns the focus owner.static Component
Returns the focus owner.(package private) static void
(package private) static void
replaceStrategiesWith
(FocusOwnerFinderStrategy... strategies) (package private) static List<FocusOwnerFinderStrategy>
-
Field Details
-
STRATEGIES
-
-
Constructor Details
-
FocusOwnerFinder
private FocusOwnerFinder()
-
-
Method Details
-
initializeStrategies
static void initializeStrategies() -
replaceStrategiesWith
-
strategies
-
inEdtFocusOwner
Returns the focus owner. This method is executed in the event dispatch thread.- Returns:
- the focus owner.
-
focusOwner
Returns the focus owner. Note: this method is not executed in the event dispatch thread. Callers are responsible for calling this method in the event dispatch thread.Note: This method is not executed in the event dispatch thread (EDT.) Clients are responsible for invoking this method in the EDT.
- Returns:
- the focus owner.
-