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

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

public class FlapResizeRequestHandler
extends AbstractResizeRequestHandler

A handler that can change the size of a CDockable such that it has its preferred size if its parent is a FlapDockStation

Author:
Benjamin Sigg

Constructor Summary
FlapResizeRequestHandler(FlapDockStation 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

FlapResizeRequestHandler

public FlapResizeRequestHandler(FlapDockStation station)
Creates a new handler.

Parameters:
station - the station whose children will be 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