public class NoStackTitleFactory extends Object implements DockTitleFactory
DockTitleFactory which does not create titles for
StackDockStations but uses another
factory as delegate to create titles for the other stations.| Constructor and Description |
|---|
NoStackTitleFactory(DockTitleFactory base)
Creates a new factory
|
| 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 NoStackTitleFactory(DockTitleFactory base)
base - the delegate which will be used to create titles for other
stations than the StackDockStationpublic void install(DockTitleRequest request)
DockTitleFactoryDockTitle for
request.install in interface DockTitleFactoryrequest - the new requestpublic void uninstall(DockTitleRequest request)
DockTitleFactoryrequest.uninstall in interface DockTitleFactoryrequest - the request that is no longer managed by this factorypublic 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 answerCopyright © 2017 Docking Frames. All rights reserved.