Class ControlVetoClosingListener
java.lang.Object
bibliothek.gui.dock.common.intern.ControlVetoClosingListener
- All Implemented Interfaces:
VetoableDockFrontendListener
@FrameworkOnly
public class ControlVetoClosingListener
extends Object
implements VetoableDockFrontendListener
A converter listening for
VetoableDockFrontendEvents and firing
new CVetoClosingEvents.- Author:
- Benjamin Sigg
-
Constructor Summary
ConstructorsConstructorDescriptionControlVetoClosingListener(CControl control, CVetoClosingListener callback) Creates a new converter. -
Method Summary
Modifier and TypeMethodDescriptionprotected CDockable[]Gets all theCDockables that are to be forwarded by this converter.voidhidden(VetoableDockFrontendEvent event) voidhiding(VetoableDockFrontendEvent event) voidshowing(VetoableDockFrontendEvent event) voidshown(VetoableDockFrontendEvent event)
-
Constructor Details
-
ControlVetoClosingListener
Creates a new converter.- Parameters:
control- the control in whose realm this converter workscallback- the listener to inform about new events
-
-
Method Details
-
hiding
- Specified by:
hidingin interfaceVetoableDockFrontendListener
-
getCDockables
Gets all theCDockables that are to be forwarded by this converter.- Parameters:
event- the source- Returns:
- the elements to forward, no event is fired if the result is empty or
null
-
showing
- Specified by:
showingin interfaceVetoableDockFrontendListener
-
shown
- Specified by:
shownin interfaceVetoableDockFrontendListener