T
- the type of theme created by this factorypublic class ThemePropertyFactory<T extends DockTheme> extends java.lang.Object implements ThemeFactory
Constructor and Description |
---|
ThemePropertyFactory(java.lang.Class<T> theme)
Creates a new factory.
|
Modifier and Type | Method and Description |
---|---|
T |
create(DockController controller)
Creates a new theme.
|
ThemeMeta |
createMeta(DockController controller)
Gets meta information about this factory.
|
java.lang.String[] |
getAuthors() |
java.net.URI[] |
getWebpages() |
public ThemePropertyFactory(java.lang.Class<T> theme)
theme
- the class of a theme, must have the ThemeProperties
annotation.public T create(DockController controller)
ThemeFactory
create
in interface ThemeFactory
controller
- the controller 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 displayedpublic java.lang.String[] getAuthors()
public java.net.URI[] getWebpages()