|
||||||||||
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.
Method Summary | |
---|---|
Combiner |
getCombiner(DockStation station)
Gets the Combiner for station . |
DisplayerFactory |
getDisplayFactory(DockStation station)
Gets a displayer factory for station . |
MovingTitleGetter |
getMovingTitleGetter(DockController controller)
Gets a pseudo factory for titles 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.To replace all factories, the method DockTitleManager.registerTheme(String, DockTitleFactory)
should be used. |
void |
install(DockController controller)
Install this theme at controller . |
void |
uninstall(DockController controller)
Uninstalls this theme from controller . |
Method Detail |
---|
void install(DockController controller)
controller
. The theme
may change any properties it likes.
controller
- the controllervoid 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.registerTheme(String, DockTitleFactory)
should be used.
controller
- the controller using this theme
MovingTitleGetter getMovingTitleGetter(DockController controller)
controller
- the controller for which the factory is needed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |