Constructor and Description |
---|
PropertiesTheme(Properties properties)
Creates a new
PropertiesTheme that is initialized by the properties value |
Modifier and Type | Method and Description |
---|---|
ThemeDefinition |
getDefaultDefinition()
Returns what this theme considers to be the default definition
|
ThemeDefinition |
getDefinition(Class<?> clazz)
Returns the theme definition associated with this class.
|
public PropertiesTheme(Properties properties)
PropertiesTheme
that is initialized by the properties valueproperties
- Properties to initialize this theme withpublic ThemeDefinition getDefaultDefinition()
Theme
getDefaultDefinition
in interface Theme
public ThemeDefinition getDefinition(Class<?> clazz)
Theme
null
, it should always give back a valid value (falling back to the default is nothing
else can be used).getDefinition
in interface Theme
clazz
- Class to get the theme definition forCopyright © 2016. All rights reserved.