|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bibliothek.extension.gui.dock.theme.eclipse.displayer.EclipseDisplayerFactory
public class EclipseDisplayerFactory
This factory makes use of a EclipseThemeConnector
to decide which
kind of DockableDisplayer
to create. To be more exact: the displayer
depends on the EclipseThemeConnector.TitleBar
-value returned by EclipseThemeConnector.getTitleBarKind(Dockable)
.
Constructor Summary | |
---|---|
EclipseDisplayerFactory(EclipseTheme theme)
Creates a new displayer 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 . |
protected BasicDockableDisplayer |
create(DockStation station,
Dockable dockable,
DockTitle title,
boolean border,
EclipseThemeConnector.TitleBar bar)
Creates a new displayer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EclipseDisplayerFactory(EclipseTheme theme)
theme
- the owner of this factory, not null
Method Detail |
---|
public DockableDisplayer create(DockStation station, Dockable dockable, DockTitle title)
DisplayerFactory
DockableDisplayer
which will be shown
on station
, will have dockable
as
child and will display the title
.
create
in interface DisplayerFactory
station
- the parent of the created displayerdockable
- the child of the created displayertitle
- the title for the displayer
protected BasicDockableDisplayer create(DockStation station, Dockable dockable, DockTitle title, boolean border, EclipseThemeConnector.TitleBar bar)
station
- the parent of the displayerdockable
- the content, may be null
title
- the title to show, may be null
border
- whether to show a borderbar
- what kind of titlebar the displayer should use
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |