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 |
setCurrentFocusedWindow(Window win)
Sets the window that should become the focused window.
|
void |
setCurrentFocusOwner(Component comp)
Sets the component that should become the focus owner.
|
void setCurrentFocusedWindow(Window win)
win
- the window that should become the focused windowWindow 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()
Dracula Javadoc Sample, Made with Allan Im.