Package | Description |
---|---|
bibliothek.gui |
The high level interfaces of the framework and the most often used classes.
|
bibliothek.gui.dock.control |
Classes responsible to handle some global task.
|
bibliothek.gui.dock.control.focus |
The focus sub-system is responsible for transferring the focus to the currently
active
Dockable . |
Modifier and Type | Method and Description |
---|---|
void |
DockController.setFocusedDockable(FocusRequest request)
Starts a request to set the focused
Dockable . |
Modifier and Type | Method and Description |
---|---|
protected Component |
DefaultFocusController.accept(FocusRequest request,
Dockable dockable)
Decides whether to execute or to refuse
request . |
protected void |
DefaultFocusController.execute(FocusRequest request,
Dockable dockable,
Component component)
Called if
DefaultFocusController.accept(FocusRequest, Dockable) accepted request . |
void |
DefaultFocusController.focus(FocusRequest request)
Requests focus for the
Component that is described by request . |
Modifier and Type | Class and Description |
---|---|
class |
DefaultFocusRequest
The default implementation of a
FocusRequest , the kind of
request clients usually will use. |
class |
EnsuringFocusRequest
|
class |
RepeatingFocusRequest
Ensures that a specific
Component is focused by calling
Component.requestFocus() multiple times. |
Modifier and Type | Method and Description |
---|---|
FocusRequest |
DefaultFocusRequest.grant(Component component) |
FocusRequest |
EnsuringFocusRequest.grant(Component component) |
FocusRequest |
FocusRequest.grant(Component component)
Called once this
FocusRequest is granted, this request must now call
a method like Component.requestFocusInWindow() on component . |
FocusRequest |
RepeatingFocusRequest.grant(Component component) |
Modifier and Type | Method and Description |
---|---|
void |
FocusController.focus(FocusRequest request)
Sets the
Dockable which should have the focus. |