|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FocusVetoListener
This listener is added to the FocusController
and allows to
interrupt a change of the focus. This listener stop focus transfer
if the transfer is initialized by the framework itself. If the client calls
a method like Component.requestFocusInWindow()
then the framework
may not be able to prevent the focus change from happening.
Nested Class Summary | |
---|---|
static class |
FocusVetoListener.FocusVeto
Tells how to react on a potential change of the focus. |
Method Summary | |
---|---|
FocusVetoListener.FocusVeto |
vetoFocus(FocusController controller,
Dockable dockable)
Invoked when the focus should change because the user did something with dockable . |
FocusVetoListener.FocusVeto |
vetoFocus(FocusController controller,
DockTitle title)
Invoked when the focus should change because the user did something with title . |
Method Detail |
---|
FocusVetoListener.FocusVeto vetoFocus(FocusController controller, DockTitle title)
title
.
controller
- the controller who will change the focustitle
- the title from which the focus-change was initialized
null
FocusVetoListener.FocusVeto vetoFocus(FocusController controller, Dockable dockable)
dockable
.
controller
- the controller who will change the focusdockable
- the Dockable
from which the focus-change was initialized
null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |