|
||||||||||
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.
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)
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
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 |