|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.gui.dock.themes.ThemePropertyFactory<T>
T - the type of theme created by this factorypublic class ThemePropertyFactory<T extends DockTheme>
A factory using the ThemeProperties of a DockTheme to
create instances of that DockTheme.
| Constructor Summary | |
|---|---|
ThemePropertyFactory(Class<T> theme)
Creates a new factory. |
|
| Method Summary | |
|---|---|
T |
create(DockController controller)
Creates a new theme. |
ThemeMeta |
createMeta(DockController controller)
Gets meta information about this factory. |
String[] |
getAuthors()
|
URI[] |
getWebpages()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ThemePropertyFactory(Class<T> theme)
theme - the class of a theme, must have the ThemeProperties annotation.| Method Detail |
|---|
public T create(DockController controller)
ThemeFactory
create in interface ThemeFactorycontroller - the controller in whose realm the theme will be used
public ThemeMeta createMeta(DockController controller)
ThemeFactory
createMeta in interface ThemeFactorycontroller - the controller in whose realm the meta information will be displayed
public String[] getAuthors()
public URI[] getWebpages()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||