D - the kind of theme that gets wrapped uppublic abstract class CDockThemeFactory<D extends DockTheme> extends Object implements ThemeFactory
| Constructor and Description |
|---|
CDockThemeFactory(ThemePropertyFactory<D> delegate,
CControl control)
Creates a new factory.
|
| Modifier and Type | Method and Description |
|---|---|
abstract DockTheme |
create(CControl control)
Creates a new theme.
|
DockTheme |
create(DockController controller) |
ThemeMeta |
createMeta(DockController controller) |
CControl |
getControl()
Gets the control for which this factory works.
|
public CDockThemeFactory(ThemePropertyFactory<D> delegate, CControl control)
delegate - the factory that should be used as delegate to create
the initial DockTheme.control - the control for which this factory will workpublic CControl getControl()
public DockTheme create(DockController controller)
create in interface ThemeFactorypublic abstract DockTheme create(CControl control)
control - the control in whose realm the theme will be usedpublic ThemeMeta createMeta(DockController controller)
createMeta in interface ThemeFactoryCopyright © 2018. All rights reserved.