bibliothek.gui.dock.layout.location
Class DefaultAsideRequest.DockStationForward

java.lang.Object
  extended by bibliothek.gui.dock.layout.location.DefaultAsideRequest.DockStationForward
All Implemented Interfaces:
DefaultAsideRequest.Forward
Enclosing class:
DefaultAsideRequest

protected static class DefaultAsideRequest.DockStationForward
extends Object
implements DefaultAsideRequest.Forward

An adapter mapping DockStation to DefaultAsideRequest.Forward.

Author:
Benjamin Sigg

Constructor Summary
DefaultAsideRequest.DockStationForward(DockStation station)
           
 
Method Summary
 void execute(AsideRequest request)
          Calls the aside method of the item represented by this DefaultAsideRequest.Forward.
 PlaceholderMap getLayout()
          Gets the layout of the current station.
 DockStation getStation()
          Gets this as DockStation, if this represents a station.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultAsideRequest.DockStationForward

public DefaultAsideRequest.DockStationForward(DockStation station)
Method Detail

getLayout

public PlaceholderMap getLayout()
Description copied from interface: DefaultAsideRequest.Forward
Gets the layout of the current station.

Specified by:
getLayout in interface DefaultAsideRequest.Forward
Returns:
the layout, may be null

execute

public void execute(AsideRequest request)
Description copied from interface: DefaultAsideRequest.Forward
Calls the aside method of the item represented by this DefaultAsideRequest.Forward.

Specified by:
execute in interface DefaultAsideRequest.Forward
Parameters:
request - information about the location of an element and of its new neighbor

getStation

public DockStation getStation()
Description copied from interface: DefaultAsideRequest.Forward
Gets this as DockStation, if this represents a station.

Specified by:
getStation in interface DefaultAsideRequest.Forward
Returns:
the station or null