bibliothek.extension.gui.dock.theme.flat
Class FlatDisplayerFactory

java.lang.Object
  extended by bibliothek.extension.gui.dock.theme.flat.FlatDisplayerFactory
All Implemented Interfaces:
DisplayerFactory

public class FlatDisplayerFactory
extends java.lang.Object
implements DisplayerFactory

A factory for instances of DockableDisplayer. This factory either sets the border of its created displayers to none or to a FlatBorder.

Author:
Benjamin Sigg

Constructor Summary
FlatDisplayerFactory(boolean border)
          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

FlatDisplayerFactory

public FlatDisplayerFactory(boolean border)
Creates a new factory

Parameters:
border - Whether the displayers should have a border or not
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