bibliothek.gui.dock.event
Class VetoableDockFrontendAdapter

java.lang.Object
  extended by bibliothek.gui.dock.event.VetoableDockFrontendAdapter
All Implemented Interfaces:
VetoableDockFrontendListener

public abstract class VetoableDockFrontendAdapter
extends Object
implements VetoableDockFrontendListener

Standard implementation of VetoableDockFrontendListener, does nothing in its methods.

Author:
Benjamin Sigg

Constructor Summary
VetoableDockFrontendAdapter()
           
 
Method Summary
 void hidden(VetoableDockFrontendEvent event)
          Called whenever a Dockable was hidden.
 void hiding(VetoableDockFrontendEvent event)
          Called before a Dockable 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

VetoableDockFrontendAdapter

public VetoableDockFrontendAdapter()
Method Detail

hidden

public void hidden(VetoableDockFrontendEvent event)
Description copied from interface: VetoableDockFrontendListener
Called whenever a Dockable was hidden. Other than VetoableDockFrontendListener.hiding(VetoableDockFrontendEvent) this method is always called.

Specified by:
hidden in interface VetoableDockFrontendListener
Parameters:
event - description of the element and how it got closed

hiding

public void hiding(VetoableDockFrontendEvent event)
Description copied from interface: VetoableDockFrontendListener
Called before a Dockable is hidden. This method is only called if the user tries to close the element through the close-action, meaning that DockFrontend.hide(Dockable,boolean) is called.
To abort the operation, VetoableDockFrontendEvent.cancel() can be invoked.

Specified by:
hiding in interface VetoableDockFrontendListener
Parameters:
event - description of the element to close

shown

public void shown(VetoableDockFrontendEvent event)
Description copied from interface: VetoableDockFrontendListener
Called whenever a Dockable was shown. Other than VetoableDockFrontendListener.showing(VetoableDockFrontendEvent) this method is always called.

Specified by:
shown in interface VetoableDockFrontendListener
Parameters:
event - description of the element and how it got shown

showing

public void showing(VetoableDockFrontendEvent event)
Description copied from interface: VetoableDockFrontendListener
Called before a Dockable is shown. This method is only called if the user tries to open the element through the standard way, meaning that DockFrontend.show(Dockable,boolean) is called.
To abort the operation, VetoableDockFrontendEvent.cancel() can be invoked.

Specified by:
showing in interface VetoableDockFrontendListener
Parameters:
event - description of the element to close