Package docking
Class DefaultFocusOwnerProvider
- java.lang.Object
-
- docking.DefaultFocusOwnerProvider
-
- All Implemented Interfaces:
FocusOwnerProvider
public class DefaultFocusOwnerProvider extends java.lang.Object implements FocusOwnerProvider
Uses Java's default focus manager to provide the focus owner.
-
-
Constructor Summary
Constructors Constructor Description DefaultFocusOwnerProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.Window
getActiveWindow()
Returns the active windowjava.awt.Component
getFocusOwner()
Returns the current focus owner
-
-
-
Method Detail
-
getFocusOwner
public java.awt.Component getFocusOwner()
Description copied from interface:FocusOwnerProvider
Returns the current focus owner- Specified by:
getFocusOwner
in interfaceFocusOwnerProvider
- Returns:
- the current focus owner
-
getActiveWindow
public java.awt.Window getActiveWindow()
Description copied from interface:FocusOwnerProvider
Returns the active window- Specified by:
getActiveWindow
in interfaceFocusOwnerProvider
- Returns:
- the active window
-
-