|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DockTheme
A theme describes how a DockStation
looks like, which
DockTitle
are selected, and other behavior. A theme needs
only to support one DockController
at a time.
Warning: this interface will get a big update in version 1.1.0, backwards compatibility
will be broken.
Method Summary | |
---|---|
Combiner |
getCombiner(DockStation station)
Gets the Combiner for station . |
DisplayerFactory |
getDisplayFactory(DockStation station)
Gets a displayer factory for station . |
DockableSelection |
getDockableSelection(DockController controller)
Gets a selector for Dockable s. |
DockableMovingImageFactory |
getMovingImageFactory(DockController controller)
Gets a factory for images which are moved around by the user. |
StationPaint |
getPaint(DockStation station)
Gets the paint which is used to draw things onto station . |
DockTitleFactory |
getTitleFactory(DockController controller)
Gets the default DockTitleFactory which is used if no other factory is set. |
void |
install(DockController controller,
DockThemeExtension[] extensions)
Install this theme at controller . |
void |
uninstall(DockController controller)
Uninstalls this theme from controller . |
Method Detail |
---|
void install(DockController controller, DockThemeExtension[] extensions)
controller
. The theme
may change any properties it likes.
controller
- the controllerextensions
- a set of extensions specifically for this themevoid uninstall(DockController controller)
controller
. The theme
has to remove all listeners it added.
controller
- the controllerCombiner getCombiner(DockStation station)
station
.
station
- the station whose combiner is searched
station
StationPaint getPaint(DockStation station)
station
.
station
- the station to paint on
station
DisplayerFactory getDisplayFactory(DockStation station)
station
.
station
- the station on which the created DockableDisplayer
is shown
DockTitleFactory getTitleFactory(DockController controller)
DockTitleFactory
which is used if no other factory is set.DockTitleManager
using
the key DockTitleManager.THEME_FACTORY_ID
and priority Priority.THEME
. A
theme may use the manager to change the factory at any time.
controller
- the controller using this theme
DockableMovingImageFactory getMovingImageFactory(DockController controller)
controller
- the controller for which the factory is needed
DockableSelection getDockableSelection(DockController controller)
Dockable
s.
controller
- the controller for which the selector will be used
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |