public interface KeyboardFocusManagerPeer
KeyboardFocusManager.| Modifier and Type | Method and Description |
|---|---|
void |
clearGlobalFocusOwner(Window activeWindow)
Clears the current global focus owner.
|
Window |
getCurrentFocusedWindow()
Returns the currently focused window.
|
Component |
getCurrentFocusOwner()
Returns the component that currently owns the input focus.
|
void |
setCurrentFocusOwner(Component comp)
Sets the component that should become the focus owner.
|
Window getCurrentFocusedWindow()
KeyboardFocusManager#getNativeFocusedWindow()void setCurrentFocusOwner(Component comp)
comp - the component to become the focus ownerKeyboardFocusManager#setNativeFocusOwner(Component)Component getCurrentFocusOwner()
KeyboardFocusManager#getNativeFocusOwner()void clearGlobalFocusOwner(Window activeWindow)
activeWindow - KeyboardFocusManager#clearGlobalFocusOwner()