|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CVetoFocusListener
This listener is used to prevent a CDockable from loosing or gaining
the focus. Events may happen such that the framework is unable to prevent the
focus from changing, e.g. if a CDockable is closed.
Please use this listener with care, the workflow of the user may be seriously
hindered if the focus cannot be changed.
CControl.addVetoFocusListener(CVetoFocusListener),
CControl.removeVetoFocusListener(CVetoFocusListener)| Method Summary | |
|---|---|
boolean |
willGainFocus(CDockable dockable)
Called before focus is transfered to dockable. |
boolean |
willLoseFocus(CDockable dockable)
Called before focus is transfered from dockable. |
| Method Detail |
|---|
boolean willGainFocus(CDockable dockable)
dockable.
dockable - the dockable that gets the focus
true if this listener approves the action,
false to speak out a vetoboolean willLoseFocus(CDockable dockable)
dockable.
dockable - the dockable that looses the focus
true if this listener approves the action,
false to speak out a veto
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||