bibliothek.gui.dock.themes
Class DefaultDisplayerFactoryValue

java.lang.Object
  extended by bibliothek.gui.dock.themes.StationThemeItemValue<DisplayerFactory>
      extended by bibliothek.gui.dock.themes.DefaultDisplayerFactoryValue
All Implemented Interfaces:
DisplayerFactoryValue, UIValue<DisplayerFactory>

public class DefaultDisplayerFactoryValue
extends StationThemeItemValue<DisplayerFactory>
implements DisplayerFactoryValue

A wrapper for a DisplayerFactory. Every call to the Interface is forwarded to a delegate. If no delegate is set, a default DisplayerFactory provided by the DockTheme is used.

Author:
Benjamin Sigg

Field Summary
 
Fields inherited from interface bibliothek.gui.dock.themes.DisplayerFactoryValue
KIND_DISPLAYER_FACTORY
 
Constructor Summary
DefaultDisplayerFactoryValue(String id, DockStation station)
          Creates a new object.
 
Method Summary
 void request(DisplayerRequest request)
          Creates a new DockableDisplayer and answers to request.
 
Methods inherited from class bibliothek.gui.dock.themes.StationThemeItemValue
get, getDelegate, getStation, set, setController, setDelegate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface bibliothek.gui.dock.themes.DisplayerFactoryValue
getStation
 
Methods inherited from interface bibliothek.gui.dock.util.UIValue
set
 

Constructor Detail

DefaultDisplayerFactoryValue

public DefaultDisplayerFactoryValue(String id,
                                    DockStation station)
Creates a new object.

Parameters:
id - the identifier used for retrieving a resource of ThemeManager
station - the owner of this object, not null
Method Detail

request

public void request(DisplayerRequest request)
Creates a new DockableDisplayer and answers to request. This method does always create a new DockableDisplayer.

Parameters:
request - the request to answer