|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bibliothek.gui.dock.common.theme.CDockThemeFactory<D>
D
- the kind of theme that gets wrapped uppublic abstract class CDockThemeFactory<D extends DockTheme>
A factory that envelops another factory in order to build a CX-theme instead of a X-theme.
Constructor Summary | |
---|---|
CDockThemeFactory(ThemePropertyFactory<D> delegate,
CControl control)
Creates a new factory. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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 workMethod Detail |
---|
public CControl getControl()
public DockTheme create(DockController controller)
ThemeFactory
create
in interface ThemeFactory
controller
- the controller in whose realm the theme will be used
public abstract DockTheme create(CControl control)
control
- the control in whose realm the theme will be used
public ThemeMeta createMeta(DockController controller)
ThemeFactory
createMeta
in interface ThemeFactory
controller
- the controller in whose realm the meta information will be displayed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |