|
||||||||||
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 | |
---|---|
DockTheme |
create()
Creates a new theme. |
abstract DockTheme |
create(CControl control)
Creates a new theme. |
String[] |
getAuthors()
Gets a list of strings, containing the names of the authors. |
CControl |
getControl()
Gets the control for which this factory works. |
String |
getDescription()
Gets a human readable description of the theme. |
String |
getName()
Gets the name of the theme. |
URI[] |
getWebpages()
Gets a set of links to any webpage the authors might want to show the user. |
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()
ThemeFactory
create
in interface ThemeFactory
public abstract DockTheme create(CControl control)
control
- the control in whose realm the theme will be used
public String[] getAuthors()
ThemeFactory
getAuthors
in interface ThemeFactory
null
public String getDescription()
ThemeFactory
getDescription
in interface ThemeFactory
null
public String getName()
ThemeFactory
getName
in interface ThemeFactory
null
public URI[] getWebpages()
ThemeFactory
getWebpages
in interface ThemeFactory
null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |