bibliothek.gui.dock.layout.location
Class DefaultAsideRequestFactory

java.lang.Object
  extended by bibliothek.gui.dock.layout.location.DefaultAsideRequestFactory
All Implemented Interfaces:
AsideRequestFactory

public class DefaultAsideRequestFactory
extends Object
implements AsideRequestFactory

This factory creates new instances of DefaultAsideRequest.

Author:
Benjamin Sigg

Constructor Summary
DefaultAsideRequestFactory(DockProperties properties)
          Creates the new factory
 
Method Summary
 AsideRequest createAsideRequest(DockableProperty location, Dockable dockable)
          Creates a new AsideRequest for dockable.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultAsideRequestFactory

public DefaultAsideRequestFactory(DockProperties properties)
Creates the new factory

Parameters:
properties - required to access the PlaceholderStrategy
Method Detail

createAsideRequest

public AsideRequest createAsideRequest(DockableProperty location,
                                       Dockable dockable)
Description copied from interface: AsideRequestFactory
Creates a new AsideRequest for dockable.

Specified by:
createAsideRequest in interface AsideRequestFactory
Parameters:
location - the location whose neighbor is searched
dockable - the element whose new location is searched
Returns:
the request for dockable