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

java.lang.Object
  extended by bibliothek.gui.dock.common.intern.station.AbstractResizeRequestHandler
      extended by bibliothek.gui.dock.common.intern.station.ScreenResizeRequestHandler
All Implemented Interfaces:
ResizeRequestListener

public class ScreenResizeRequestHandler
extends AbstractResizeRequestHandler

A handler which can change the size of children of a ScreenDockStation such that the preferred size of the children is met.

Author:
Benjamin Sigg

Constructor Summary
ScreenResizeRequestHandler(ScreenDockStation station)
          Creates a new handler.
 
Method Summary
 void handleResizeRequest(CControl control)
          Called when the layout of DockStations should be updated such that CDockable.getAndClearResizeRequest() is matched.
 
Methods inherited from class bibliothek.gui.dock.common.intern.station.AbstractResizeRequestHandler
getAndClearResizeRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScreenResizeRequestHandler

public ScreenResizeRequestHandler(ScreenDockStation station)
Creates a new handler.

Parameters:
station - the station whose children might get resized
Method Detail

handleResizeRequest

public void handleResizeRequest(CControl control)
Description copied from interface: ResizeRequestListener
Called when the layout of DockStations should be updated such that CDockable.getAndClearResizeRequest() is matched.

Parameters:
control - the control in whose realm the station is