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

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

public class SplitResizeRequestHandler
extends AbstractResizeRequestHandler

A handle that can be used to change the layout of a SplitDockStation such that the Dimension of CDockable.getAndClearResizeRequest() is more or less respected.

Author:
Benjamin Sigg

Constructor Summary
SplitResizeRequestHandler(SplitDockStation 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

SplitResizeRequestHandler

public SplitResizeRequestHandler(SplitDockStation station)
Creates a new handler.

Parameters:
station - the station which will be updated by this handler
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