|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbibliothek.extension.gui.dock.theme.eclipse.EclipseDockTitleFactory
public class EclipseDockTitleFactory
A DockTitleFactory
that calls another factory but only
if the method EclipseThemeConnector.getTitleBarKind(Dockable)
returns
EclipseThemeConnector.TitleBar.BASIC
for the Dockable
whose title should be
created.
Constructor Summary | |
---|---|
EclipseDockTitleFactory(EclipseTheme theme,
DockTitleFactory factory)
Creates a new factory |
Method Summary | ||
---|---|---|
DockTitle |
createDockableTitle(Dockable dockable,
DockTitleVersion version)
Creates a DockTitle for the pure dockable . |
|
|
createStationTitle(D dockable,
DockTitleVersion version)
Creates a DockTitle for dockable which is
also a DockStation . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EclipseDockTitleFactory(EclipseTheme theme, DockTitleFactory factory)
theme
- the theme whose EclipseThemeConnector
is used
to determine whether to create a title for a Dockable
or not.factory
- the factory which creates title when necessaryMethod Detail |
---|
public DockTitle createDockableTitle(Dockable dockable, DockTitleVersion version)
DockTitleFactory
DockTitle
for the pure dockable
.
createDockableTitle
in interface DockTitleFactory
dockable
- the owner of the titleversion
- the version which uses this factory, might be null
null
if no title should
be shown for dockable
.public <D extends Dockable & DockStation> DockTitle createStationTitle(D dockable, DockTitleVersion version)
DockTitleFactory
DockTitle
for dockable
which is
also a DockStation
.
createStationTitle
in interface DockTitleFactory
D
- the type of dockable
.dockable
- the owner of the title.version
- the version which uses this factory, might be null
null
if no title
should be shown for dockable
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |