bibliothek.gui.dock.title
Interface DockTitleFactory

All Known Implementing Classes:
BasicButtonTitleFactory, BasicDockTitleFactory, BubbleDockTitleFactory, ControllerTitleFactory, DockTitleVersion, EclipseDockTitleFactory, FlatTitleFactory, NoStackTitleFactory, NullTitleFactory, ReducedBubbleTitleFactory, SmoothDefaultButtonTitleFactory, SmoothDefaultTitleFactory

public interface DockTitleFactory

A factory for creating instances of DockTitle. Clients might install DockTitleRequests on this factory such that this factory can always change the title that is currently shown. A factory should call DockTitleRequest.answer(DockTitle) only when requested so, meaning only if the method request(DockTitleRequest) is called. If a factory wishes to exchange a title it should call DockTitleRequest.request() which in return might then call request(DockTitleRequest).

Author:
Benjamin Sigg

Method Summary
 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.
 

Method Detail

install

void install(DockTitleRequest request)
Informs this factory that it might need to create a DockTitle for request.

Parameters:
request - the new request

request

void request(DockTitleRequest request)
Asks this factory to provide a DockTitle for request, this method should call DockTitleRequest.answer(DockTitle). Note that this method may be called for requests that are not installed!

Parameters:
request - the request to answer

uninstall

void uninstall(DockTitleRequest request)
Informs this factory that it no longer requires to provide any titles for request.

Parameters:
request - the request that is no longer managed by this factory