public class ControllerTitleFactory extends Object implements DockTitleFactory
factory delegates every call to
the methods to the factory provided by the theme of
the involved controller| Modifier and Type | Field and Description |
|---|---|
static ControllerTitleFactory |
INSTANCE
An instance of this factory.
Note: it is safe to use install(DockTitleRequest) and
uninstall(DockTitleRequest) on this singleton, the call will be forwarded
to the DockController of the calling DockTitleRequest. |
| Constructor and Description |
|---|
ControllerTitleFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
install(DockTitleRequest request)
Informs this factory that it might need to create a
DockTitle for
request. |
void |
request(DockTitleRequest request)
Asks this factory to provide a
DockTitle for request,
this method should call DockTitleRequest.answer(DockTitle). |
void |
uninstall(DockTitleRequest request)
Informs this factory that it no longer requires to provide any titles
for
request. |
public static final ControllerTitleFactory INSTANCE
install(DockTitleRequest) and
uninstall(DockTitleRequest) on this singleton, the call will be forwarded
to the DockController of the calling DockTitleRequest.public void install(DockTitleRequest request)
DockTitleFactoryDockTitle for
request.install in interface DockTitleFactoryrequest - the new requestpublic void request(DockTitleRequest request)
DockTitleFactoryDockTitle for request,
this method should call DockTitleRequest.answer(DockTitle). Note
that this method may be called for requests that are not installed!request in interface DockTitleFactoryrequest - the request to answerpublic void uninstall(DockTitleRequest request)
DockTitleFactoryrequest.uninstall in interface DockTitleFactoryrequest - the request that is no longer managed by this factoryCopyright © 2017 Docking Frames. All rights reserved.