|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.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(DockStation, Dockable).
| Field Summary |
|---|
| Fields inherited from interface bibliothek.gui.dock.station.DisplayerFactory |
|---|
DISPLAYER_EXTENSION, DISPLAYER_EXTENSION_ID |
| Constructor Summary | |
|---|---|
EclipseDisplayerFactory(EclipseTheme theme)
Creates a new displayer factory. |
|
| Method Summary | |
|---|---|
protected DockableDisplayer |
create(DockStation station,
Dockable dockable,
DockTitle title)
Creates a new DockableDisplayer for dockable. |
protected BasicDockableDisplayer |
create(DockStation station,
Dockable dockable,
DockTitle title,
boolean border,
EclipseThemeConnector.TitleBar bar)
Creates a new displayer. |
void |
request(DisplayerRequest request)
Creates a new DockableDisplayer, this method needs to call
DisplayerRequest.answer(DockableDisplayer) once the new displayer is created.The new displayer will be shown on DisplayerRequest.getParent(), its content
must be DisplayerRequest.getTarget() and DisplayerRequest.getTitle().If this factory does not want to provide a DockableDisplayer for the given request,
it can just return and not call DisplayerRequest.answer(DockableDisplayer). |
| 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 void request(DisplayerRequest request)
DisplayerFactoryDockableDisplayer, this method needs to call
DisplayerRequest.answer(DockableDisplayer) once the new displayer is created.DisplayerRequest.getParent(), its content
must be DisplayerRequest.getTarget() and DisplayerRequest.getTitle().DockableDisplayer for the given request,
it can just return and not call DisplayerRequest.answer(DockableDisplayer).
request in interface DisplayerFactoryrequest - detailed information about who is going to show the displayer, and callback to
set the new displayer
protected DockableDisplayer create(DockStation station,
Dockable dockable,
DockTitle title)
DockableDisplayer for dockable.
station - the station which will show the displayerdockable - the element which will be shown in the displayertitle - the title of dockable
null
protected BasicDockableDisplayer create(DockStation station,
Dockable dockable,
DockTitle title,
boolean border,
EclipseThemeConnector.TitleBar bar)
station - the parent of the displayerdockable - the content, may be nulltitle - the title to show, may be nullborder - 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 | |||||||||