bibliothek.extension.gui.dock.theme.flat
Class FlatDisplayerFactory
java.lang.Object
bibliothek.extension.gui.dock.theme.flat.FlatDisplayerFactory
- All Implemented Interfaces:
- DisplayerFactory
public class FlatDisplayerFactory
- extends 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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FlatDisplayerFactory
public FlatDisplayerFactory(boolean border)
- Creates a new factory
- Parameters:
border
- Whether the displayers should have a border or not
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 displayerdockable
- the child of the created displayertitle
- the title for the displayer
- Returns:
- the newly created displayer