org.richfaces.skin
Class BasicSkinImpl

java.lang.Object
  extended by org.richfaces.skin.BasicSkinImpl
All Implemented Interfaces:
org.richfaces.skin.Skin
Direct Known Subclasses:
AbstractChainableSkinImpl

public abstract class BasicSkinImpl
extends java.lang.Object
implements org.richfaces.skin.Skin

Singleton ( in respect as collection of different skins ) for produce instances properties for all used skins.

Version:
$Revision: 1.1.2.1 $ $Date: 2007/01/09 18:59:41 $
Author:
shura (latest modification by $Author: alexsmirnov $)

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.richfaces.skin.Skin
org.richfaces.skin.Skin.Preferable
 
Field Summary
static java.lang.String RENDER_KIT_PARAMETER
           
static java.lang.String REQUEST_HASH_CODES_MAP_PARAMETER
           
 
Fields inherited from interface org.richfaces.skin.Skin
activetabStyleFont, activetabWeightFont, additionalBackgroundColor, baseSkin, buttonFamilyFont, buttonRadiusCorner, buttonSizeFont, buttonStyleFont, buttonWeightFont, controlBackgroundColor, controlBorderColor, disabledTabStyleFont, disabledTabWeightFont, extendedStyleSheet, generalBackgroundColor, generalLinkColor, generalSizeFont, generalStyleSheet, generalTextColor, gradientType, headerBackgroundColor, headerFamilyFont, headerGradientColor, headerSizeFont, headTextColor, interfaceLevel3D, loadStyleSheets, overAllBackground, panelRadiusCorner, panelTextColor, preferableTabPosition, preferableTabTextDirection, preferableTabTextOrientation, selectBackgroundColor, selectControlColor, shadowBackgroundColor, shadowOpacity, tabFamilyFont, tableBackgroundColor, tableBorderColor, tabRadiusCorner, tabSizeFont, tabStyleFont, tabWeightFont
 
Method Summary
protected  int computeHashCode(javax.faces.context.FacesContext context)
           
protected  java.lang.Object getLocalParameter(javax.faces.context.FacesContext context, java.lang.String name)
           
 java.lang.Object getParameter(javax.faces.context.FacesContext context, java.lang.String name)
           
 java.lang.Object getParameter(javax.faces.context.FacesContext context, java.lang.String name, java.lang.Object defaultValue)
           
 java.lang.String getRenderKitId(javax.faces.context.FacesContext context)
           
protected  java.util.Map<java.lang.String,java.lang.Object> getSkinParams()
           
protected  java.lang.Object getValueReference(javax.faces.context.FacesContext context, java.lang.Object property)
          Calculate concrete value for property - if it stored as @see ValueBinding , return interpreted value.
 int hashCode(javax.faces.context.FacesContext context)
           
protected abstract  java.lang.Object resolveSkinParameter(javax.faces.context.FacesContext context, java.lang.String name)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.richfaces.skin.Skin
containsProperty
 

Field Detail

RENDER_KIT_PARAMETER

public static final java.lang.String RENDER_KIT_PARAMETER
See Also:
Constant Field Values

REQUEST_HASH_CODES_MAP_PARAMETER

public static final java.lang.String REQUEST_HASH_CODES_MAP_PARAMETER
See Also:
Constant Field Values
Method Detail

getSkinParams

protected java.util.Map<java.lang.String,java.lang.Object> getSkinParams()

getRenderKitId

public java.lang.String getRenderKitId(javax.faces.context.FacesContext context)
Specified by:
getRenderKitId in interface org.richfaces.skin.Skin

getParameter

public java.lang.Object getParameter(javax.faces.context.FacesContext context,
                                     java.lang.String name)
Specified by:
getParameter in interface org.richfaces.skin.Skin

getParameter

public java.lang.Object getParameter(javax.faces.context.FacesContext context,
                                     java.lang.String name,
                                     java.lang.Object defaultValue)
Specified by:
getParameter in interface org.richfaces.skin.Skin

getLocalParameter

protected java.lang.Object getLocalParameter(javax.faces.context.FacesContext context,
                                             java.lang.String name)

resolveSkinParameter

protected abstract java.lang.Object resolveSkinParameter(javax.faces.context.FacesContext context,
                                                         java.lang.String name)

getValueReference

protected java.lang.Object getValueReference(javax.faces.context.FacesContext context,
                                             java.lang.Object property)
Calculate concrete value for property - if it stored as @see ValueBinding , return interpreted value.

Parameters:
context -
property -
Returns:

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

computeHashCode

protected int computeHashCode(javax.faces.context.FacesContext context)

hashCode

public int hashCode(javax.faces.context.FacesContext context)
Specified by:
hashCode in interface org.richfaces.skin.Skin


Copyright © 2010. All Rights Reserved.