KeyboardFocusManager.
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public Window | |
| public Component | Returns: the component that currently owns the input focusReturns the component that currently owns the input focus. |
| public void | setCurrentFocusedWindow(Window
the window that should become the focused window win)Sets the window that should become the focused window. |
| public void | setCurrentFocusOwner(Component
the component to become the focus owner comp)Sets the component that should become the focus owner. |
| clearGlobalFocusOwner | back to summary |
|---|---|
| public void clearGlobalFocusOwner(Window activeWindow) Clears the current global focus owner.
| |
| getCurrentFocusedWindow | back to summary |
|---|---|
| public Window getCurrentFocusedWindow() Returns the currently focused window.
| |
| getCurrentFocusOwner | back to summary |
|---|---|
| public Component getCurrentFocusOwner() Returns the component that currently owns the input focus.
| |
| setCurrentFocusedWindow | back to summary |
|---|---|
| public void setCurrentFocusedWindow(Window win) Sets the window that should become the focused window.
| |
| setCurrentFocusOwner | back to summary |
|---|---|
| public void setCurrentFocusOwner(Component comp) Sets the component that should become the focus owner.
| |