@FrameworkOnly public class ControlVetoFocusListener extends Object implements FocusVetoListener
DockController and forwards
all calls to a CVetoFocusListener.FocusVetoListener.FocusVeto| Constructor and Description |
|---|
ControlVetoFocusListener(CControl control,
CVetoFocusListener callback)
Creates a new veto focus listener.
|
| Modifier and Type | Method and Description |
|---|---|
FocusVetoListener.FocusVeto |
vetoFocus(FocusController controller,
Dockable dockable) |
FocusVetoListener.FocusVeto |
vetoFocus(FocusController controller,
DockTitle title) |
public ControlVetoFocusListener(CControl control, CVetoFocusListener callback)
control - the control in whose realm this listener operatescallback - the callback to be called if an event is triggeredpublic FocusVetoListener.FocusVeto vetoFocus(FocusController controller, DockTitle title)
vetoFocus in interface FocusVetoListenerpublic FocusVetoListener.FocusVeto vetoFocus(FocusController controller, Dockable dockable)
vetoFocus in interface FocusVetoListenerCopyright © 2018. All rights reserved.