D - the kind of theme that is wrapped by this CDockThemepublic class CDockTheme<D extends DockTheme> extends Object implements DockTheme
DockTheme that wraps another theme and works within
the special environment the common-project provides.BACKGROUND_PAINT, BORDER_MODIFIER, COMBINER, DISPLAYER_FACTORY, DOCKABLE_MOVING_IMAGE_FACTORY, DOCKABLE_SELECTION, SPAN_FACTORY, STATION_PAINT| Constructor and Description |
|---|
CDockTheme(D delegate)
Creates a new theme
|
CDockTheme(D theme,
DockTheme delegate)
Creates a new theme.
|
public CDockTheme(D delegate)
delegate - the theme to which all work is delegatedpublic CDockTheme(D theme, DockTheme delegate)
theme - the theme which is represented by this CDockTheme.delegate - the theme to which all work is delegatedprotected void initDefaultFontBridges(CControl control)
FontBridgeFactorys to this theme.control - the owner of this themepublic D intern()
public Combiner getCombiner(DockStation station)
getCombiner in interface DockThemepublic DisplayerFactory getDisplayFactory(DockStation station)
getDisplayFactory in interface DockThemepublic DockableMovingImageFactory getMovingImageFactory(DockController controller)
getMovingImageFactory in interface DockThemepublic StationPaint getPaint(DockStation station)
public DockTitleFactory getTitleFactory(DockController controller)
getTitleFactory in interface DockThemepublic DockableSelection getDockableSelection(DockController controller)
getDockableSelection in interface DockThemepublic void putColorBridgeFactory(Path kind, ColorBridgeFactory factory)
ColorBridge which should be used for a certain kind
of DockColors. The bridges will be installed with priority
Priority.DEFAULT at all ColorManagers.kind - the kind of DockColor the bridges will handlefactory - the factory for new bridges, can be nullpublic void putFontBridgeFactory(Path kind, FontBridgeFactory factory)
FontBridge which should be used for a certain kind
of DockFonts. The bridges will be installed with priority
Priority.DEFAULT at all FontManagers.kind - the kind of DockFont the bridges will handlefactory - the factory for new bridges, can be nullpublic void install(DockController controller, DockThemeExtension[] extensions)
protected void install(DockController controller)
controller.controller - the new owner of this themepublic void uninstall(DockController controller)
Copyright © 2018. All rights reserved.