public class DefaultThemeManager extends AbstractVetoable implements ThemeManager
vcs
pcs
PROPERTY_CURRENT_THEME
Constructor and Description |
---|
DefaultThemeManager(GriffonApplication application) |
Modifier and Type | Method and Description |
---|---|
String |
getCurrentTheme() |
ResourceResolver |
getResourceResolver() |
Set<String> |
getThemes() |
void |
setCurrentTheme(String theme) |
addVetoableChangeListener, addVetoableChangeListener, fireVetoableChange, fireVetoableChange, getVetoableChangeListeners, getVetoableChangeListeners, removeVetoableChangeListener, removeVetoableChangeListener
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, getPropertyChangeListeners, getPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addVetoableChangeListener, addVetoableChangeListener, getVetoableChangeListeners, getVetoableChangeListeners, removeVetoableChangeListener, removeVetoableChangeListener
addPropertyChangeListener, addPropertyChangeListener, getPropertyChangeListeners, getPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener
@Inject public DefaultThemeManager(@Nonnull GriffonApplication application)
@Nonnull public Set<String> getThemes()
getThemes
in interface ThemeManager
@Nonnull public String getCurrentTheme()
getCurrentTheme
in interface ThemeManager
public void setCurrentTheme(@Nonnull String theme) throws PropertyVetoException
setCurrentTheme
in interface ThemeManager
PropertyVetoException
@Nonnull public ResourceResolver getResourceResolver()
getResourceResolver
in interface ThemeManager