@ClientOnly public class CFlatTheme extends CDockTheme<FlatTheme>
CDockTheme
that encapsulates a FlatTheme
in order to
allow the theme access to the possibilities of the common-project.BACKGROUND_PAINT, BORDER_MODIFIER, COMBINER, DISPLAYER_FACTORY, DOCKABLE_MOVING_IMAGE_FACTORY, DOCKABLE_SELECTION, SPAN_FACTORY, STATION_PAINT
Constructor and Description |
---|
CFlatTheme(CControl control)
Creates a new theme.
|
CFlatTheme(CControl control,
FlatTheme theme)
Creates a new theme.
|
Modifier and Type | Method and Description |
---|---|
void |
install(DockController controller)
Installs this theme at
controller . |
void |
uninstall(DockController controller)
Uninstalls this theme from
controller . |
getCombiner, getDisplayFactory, getDockableSelection, getMovingImageFactory, getPaint, getTitleFactory, initDefaultFontBridges, install, intern, putColorBridgeFactory, putFontBridgeFactory
public CFlatTheme(CControl control, FlatTheme theme)
control
- the controller for which this theme will be usedtheme
- the theme that gets encapsulatedpublic void install(DockController controller)
CDockTheme
controller
.install
in class CDockTheme<FlatTheme>
controller
- the new owner of this themepublic void uninstall(DockController controller)
DockTheme
controller
. The theme
has to remove all listeners it added.uninstall
in interface DockTheme
uninstall
in class CDockTheme<FlatTheme>
controller
- the controller