T - the type of theme created by this factorypublic class ThemePropertyFactory<T extends DockTheme> extends Object implements ThemeFactory
| Constructor and Description |
|---|
ThemePropertyFactory(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.
|
String[] |
getAuthors() |
URI[] |
getWebpages() |
public ThemePropertyFactory(Class<T> theme)
theme - the class of a theme, must have the ThemeProperties annotation.public T create(DockController controller)
ThemeFactorycreate in interface ThemeFactorycontroller - the controller in whose realm the theme will be usedpublic ThemeMeta createMeta(DockController controller)
ThemeFactorycreateMeta in interface ThemeFactorycontroller - the controller in whose realm the meta information will be displayedpublic String[] getAuthors()
public URI[] getWebpages()
Copyright © 2017 Docking Frames. All rights reserved.