bibliothek.gui.dock.themes
Class ThemeDisplayerFactory
java.lang.Object
bibliothek.gui.dock.themes.ThemeDisplayerFactory
- All Implemented Interfaces:
- DisplayerFactory
public class ThemeDisplayerFactory
- extends Object
- implements DisplayerFactory
A DisplayerFactory that forwards all calls to the DisplayerFactory
of the current DockTheme.
- Author:
- Benjamin Sigg
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThemeDisplayerFactory
public ThemeDisplayerFactory(DockController controller)
- Creates a new factory.
- Parameters:
controller - the owner of this factory
request
public void request(DisplayerRequest request)
- Description copied from interface:
DisplayerFactory
- 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).
- Specified by:
request in interface DisplayerFactory
- Parameters:
request - detailed information about who is going to show the displayer, and callback to
set the new displayer