public class SiteColorsComponent extends Object implements Component, Configurable
Modifier and Type | Field and Description |
---|---|
private Map<String,Map<String,String>> |
_colors |
private String |
_defaultKey |
static String |
ROLE
The component role
|
Constructor and Description |
---|
SiteColorsComponent() |
Modifier and Type | Method and Description |
---|---|
void |
configure(Configuration configuration) |
Map<String,Map<String,String>> |
getColors()
Get the colors by index
A 'color' is an association key-hexacolor.
|
String |
getDefaultKey()
Get the key to use as default in the colors
|
private String _defaultKey
public SiteColorsComponent()
public void configure(Configuration configuration) throws ConfigurationException
configure
in interface Configurable
ConfigurationException
public String getDefaultKey()