bibliothek.gui.dock.common.intern.station
Class CScreenDockStationWindowClosingStrategy

java.lang.Object
  extended by bibliothek.gui.dock.common.intern.station.CScreenDockStationWindowClosingStrategy
All Implemented Interfaces:
ScreenDockWindowClosingStrategy

public class CScreenDockStationWindowClosingStrategy
extends Object
implements ScreenDockWindowClosingStrategy

This strategy searches for a CDockable when the user wants to close an externalized dockable. It calls CDockable.setExtendedMode(ExtendedMode) with ExtendedMode.NORMALIZED.

Author:
Benjamin Sigg

Constructor Summary
CScreenDockStationWindowClosingStrategy()
           
 
Method Summary
 void closing(ScreenDockWindow window)
          Called if the user wants to close window, e.g.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CScreenDockStationWindowClosingStrategy

public CScreenDockStationWindowClosingStrategy()
Method Detail

closing

public void closing(ScreenDockWindow window)
Description copied from interface: ScreenDockWindowClosingStrategy
Called if the user wants to close window, e.g. by clicking on the "x" on a JFrame.

Specified by:
closing in interface ScreenDockWindowClosingStrategy
Parameters:
window - the window that should be closed