bibliothek.gui.dock.themes
Class ThemeDisplayerFactory

java.lang.Object
  extended by bibliothek.gui.dock.themes.ThemeDisplayerFactory
All Implemented Interfaces:
DisplayerFactory

public class ThemeDisplayerFactory
extends java.lang.Object
implements DisplayerFactory

A DisplayerFactory that forwards all calls to the DisplayerFactory of the current DockTheme.

Author:
Benjamin Sigg

Constructor Summary
ThemeDisplayerFactory(DockController controller)
          Creates a new factory.
 
Method Summary
 DockableDisplayer create(DockStation station, Dockable dockable, DockTitle title)
          Creates a new DockableDisplayer which will be shown on station, will have dockable as child and will display the title.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThemeDisplayerFactory

public ThemeDisplayerFactory(DockController controller)
Creates a new factory.

Parameters:
controller - the owner of this factory
Method Detail

create

public DockableDisplayer create(DockStation station,
                                Dockable dockable,
                                DockTitle title)
Description copied from interface: DisplayerFactory
Creates a new DockableDisplayer which will be shown on station, will have dockable as child and will display the title.

Specified by:
create in interface DisplayerFactory
Parameters:
station - the parent of the created displayer
dockable - the child of the created displayer
title - the title for the displayer
Returns:
the newly created displayer