public class SkinBean extends AbstractMap implements Skin
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Skin.Preferable
ACTIVETAB_STYLE_FONT, ACTIVETAB_WEIGHT_FONT, ADDITIONAL_BACKGROUND_COLOR, BASE_SKIN, BUTTON_FAMILY_FONT, BUTTON_RADIUS_CORNER, BUTTON_SIZE_FONT, BUTTON_STYLE_FONT, BUTTON_WEIGHT_FONT, CONTROL_BACKGROUND_COLOR, CONTROL_BORDER_COLOR, DISABLED_TAB_STYLE_FONT, DISABLED_TAB_WEIGHT_FONT, EXTENDED_STYLE_SHEET, GENERAL_BACKGROUND_COLOR, GENERAL_LINK_COLOR, GENERAL_SIZE_FONT, GENERAL_STYLE_SHEET, GENERAL_TEXT_COLOR, GRADIENT_TYPE, HEADER_BACKGROUND_COLOR, HEADER_FAMILY_FONT, HEADER_GRADIENT_COLOR, HEADER_SIZE_FONT, HEADER_TEXT_COLOR, IMAGE_LIBRARY, INTERFACE_LEVEL_3D, LOAD_STYLE_SHEETS, OVER_ALL_BACKGROUND, PANEL_RADIUS_CORNER, PANEL_TEXT_COLOR, PREFERABLE_TAB_POSITION, PREFERABLE_TAB_TEXT_DIRECTION, PREFERABLE_TAB_TEXT_ORIENTATION, SELECT_BACKGROUND_COLOR, SELECT_CONTROL_COLOR, SHADOW_BACKGROUND_COLOR, SHADOW_OPACITY, TAB_BACKGROUND_COLOR, TAB_FAMILY_FONT, TAB_RADIUS_CORNER, TAB_SIZE_FONT, TAB_STYLE_FONT, TAB_WEIGHT_FONT, TABLE_BACKGROUND_COLOR, TABLE_BORDER_COLOR, TRIM_COLOR
Constructor and Description |
---|
SkinBean() |
Modifier and Type | Method and Description |
---|---|
boolean |
containsKey(Object key) |
boolean |
containsProperty(String name) |
Set |
entrySet() |
Object |
get(Object key) |
Integer |
getColorParameter(javax.faces.context.FacesContext context,
String name)
Get value for configuration parameter and interpret it as color string.
|
Integer |
getColorParameter(javax.faces.context.FacesContext context,
String name,
Object defaultValue)
Get value for configuration parameter and interpret it as color string.
|
Integer |
getIntegerParameter(javax.faces.context.FacesContext context,
String name) |
Integer |
getIntegerParameter(javax.faces.context.FacesContext context,
String name,
Object defaultValue) |
String |
getName() |
Object |
getParameter(javax.faces.context.FacesContext context,
String name)
Get value for configuration parameter.
|
Object |
getParameter(javax.faces.context.FacesContext context,
String name,
Object defaultValue)
Get value for configuration parameter.
|
int |
hashCode(javax.faces.context.FacesContext context)
Calculate unique ( as possible ) code to identity this skin instance.
|
String |
imageUrl(String resourceName) |
boolean |
isEmpty() |
static Object |
skinHashCode() |
String |
toString() |
public int hashCode(javax.faces.context.FacesContext context)
Skin
public Set entrySet()
entrySet
in interface Map
entrySet
in class AbstractMap
public boolean containsKey(Object key)
containsKey
in interface Map
containsKey
in class AbstractMap
public Object get(Object key)
get
in interface Map
get
in class AbstractMap
public String toString()
toString
in class AbstractMap
public boolean isEmpty()
isEmpty
in interface Map
isEmpty
in class AbstractMap
public Object getParameter(javax.faces.context.FacesContext context, String name)
Skin
getParameter
in interface Skin
context
- - FacesContext
for current request.name
- name of parameter.public Object getParameter(javax.faces.context.FacesContext context, String name, Object defaultValue)
Skin
getParameter
in interface Skin
context
- - FacesContext
for current request.name
- name of paremeter.defaultValue
- - default value if parameter not present in Skinpublic boolean containsProperty(String name)
containsProperty
in interface Skin
public static Object skinHashCode()
public Integer getColorParameter(javax.faces.context.FacesContext context, String name)
Skin
getColorParameter
in interface Skin
context
- - FacesContext
for current request.name
- name of parameter.public Integer getColorParameter(javax.faces.context.FacesContext context, String name, Object defaultValue)
Skin
getColorParameter
in interface Skin
context
- - FacesContext
for current request.name
- name of parameter.defaultValue
- - default value if parameter not present in Skinpublic Integer getIntegerParameter(javax.faces.context.FacesContext context, String name)
getIntegerParameter
in interface Skin
public Integer getIntegerParameter(javax.faces.context.FacesContext context, String name, Object defaultValue)
getIntegerParameter
in interface Skin
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.