D
- the kind of theme that gets wrapped uppublic abstract class CDockThemeFactory<D extends DockTheme> extends java.lang.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)
Creates a new theme.
|
ThemeMeta |
createMeta(DockController controller)
Gets meta information about this factory.
|
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)
ThemeFactory
create
in interface ThemeFactory
controller
- the controller in whose realm the theme will be usedpublic abstract DockTheme create(CControl control)
control
- the control in whose realm the theme will be usedpublic ThemeMeta createMeta(DockController controller)
ThemeFactory
createMeta
in interface ThemeFactory
controller
- the controller in whose realm the meta information will be displayed