|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.gui.dock.common.intern.ControlVetoClosingListener
@FrameworkOnly public class ControlVetoClosingListener
A converter listening for VetoableDockFrontendEvents and firing
new CVetoClosingEvents.
| Constructor Summary | |
|---|---|
ControlVetoClosingListener(CControl control,
CVetoClosingListener callback)
Creates a new converter. |
|
| Method Summary | |
|---|---|
protected CDockable[] |
getCDockables(VetoableDockFrontendEvent event)
Gets all the CDockables that are to be forwarded by this converter. |
void |
hidden(VetoableDockFrontendEvent event)
Called whenever a set of Dockable was hidden. |
void |
hiding(VetoableDockFrontendEvent event)
Called before a set of Dockables is hidden. |
void |
showing(VetoableDockFrontendEvent event)
Called before a Dockable is shown. |
void |
shown(VetoableDockFrontendEvent event)
Called whenever a Dockable was shown. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ControlVetoClosingListener(CControl control,
CVetoClosingListener callback)
control - the control in whose realm this converter workscallback - the listener to inform about new events| Method Detail |
|---|
public void hidden(VetoableDockFrontendEvent event)
VetoableDockFrontendListenerDockable was hidden. Other than
VetoableDockFrontendListener.hiding(VetoableDockFrontendEvent) this method is always called.
hidden in interface VetoableDockFrontendListenerevent - description of the element and how it got closedpublic void hiding(VetoableDockFrontendEvent event)
VetoableDockFrontendListenerDockables is hidden. To abort the
operation, VetoableDockFrontendEvent.cancel() can be invoked.
This method may not always be invoked for all Dockables, it
is certainly invoked if DockFrontend.hide(Dockable)
is called or if DockFrontend.setSetting(bibliothek.gui.dock.frontend.Setting, boolean).
hiding in interface VetoableDockFrontendListenerevent - description of the element to closeprotected CDockable[] getCDockables(VetoableDockFrontendEvent event)
CDockables that are to be forwarded by this converter.
event - the source
nullpublic void showing(VetoableDockFrontendEvent event)
VetoableDockFrontendListenerDockable is shown. To abort the operation,
VetoableDockFrontendEvent.cancel() can be invoked.
This method may not be called for all Dockables, it is certainly
called if a client opens a Dockable through DockFrontend.show(Dockable)
showing in interface VetoableDockFrontendListenerevent - description of the element to closepublic void shown(VetoableDockFrontendEvent event)
VetoableDockFrontendListenerDockable was shown. Other than
VetoableDockFrontendListener.showing(VetoableDockFrontendEvent) this method is always called.
shown in interface VetoableDockFrontendListenerevent - description of the element and how it got shown
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||