org.apache.myfaces.trinidadinternal.renderkit.core.skin
Class SimplePortletSkin

java.lang.Object
  extended by org.apache.myfaces.trinidad.skin.Skin
      extended by org.apache.myfaces.trinidadinternal.skin.SkinImpl
          extended by org.apache.myfaces.trinidadinternal.renderkit.core.skin.BaseSkin
              extended by org.apache.myfaces.trinidadinternal.renderkit.core.skin.XhtmlSkin
                  extended by org.apache.myfaces.trinidadinternal.renderkit.core.skin.BaseDesktopSkin
                      extended by org.apache.myfaces.trinidadinternal.renderkit.core.skin.SimplePortletSkin

public class SimplePortletSkin
extends BaseDesktopSkin

Skin implementation for simple portlet


Constructor Summary
SimplePortletSkin()
           
 
Method Summary
 java.lang.String getFamily()
          Returns the family for the portlet implementation of the Simple Skin: "simple.portlet".
 java.lang.String getId()
          Returns the id for the portlet implementation of the Simple Skin: "simple.portlet".
 java.lang.String getRenderKitId()
          Returns the renderKitId for the portlet implementation of the Simple Skin.
 java.util.Map<java.lang.String,java.lang.String> getStyleClassMap(org.apache.myfaces.trinidad.context.RenderingContext arc)
          Returns the style class map, or null if there is no map.
 java.lang.String getStyleSheetName()
          Returns the name of the XSS style sheet for this Skin.
 
Methods inherited from class org.apache.myfaces.trinidadinternal.renderkit.core.skin.XhtmlSkin
getBundleName
 
Methods inherited from class org.apache.myfaces.trinidadinternal.skin.SkinImpl
getIcon, getIcon, getProperty, getStyleSheetDocument, getTranslatedString, getTranslatedValue, registerIcon, registerStyleSheet, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimplePortletSkin

public SimplePortletSkin()
Method Detail

getStyleSheetName

public java.lang.String getStyleSheetName()
Returns the name of the XSS style sheet for this Skin.

Overrides:
getStyleSheetName in class BaseDesktopSkin

getId

public java.lang.String getId()
Returns the id for the portlet implementation of the Simple Skin: "simple.portlet".

Overrides:
getId in class BaseDesktopSkin
See Also:
org.apache.myfaces.trinidadinternal.skin.SkinFactory#getSkin

getFamily

public java.lang.String getFamily()
Returns the family for the portlet implementation of the Simple Skin: "simple.portlet".

Overrides:
getFamily in class BaseDesktopSkin

getRenderKitId

public java.lang.String getRenderKitId()
Returns the renderKitId for the portlet implementation of the Simple Skin.

Overrides:
getRenderKitId in class BaseDesktopSkin

getStyleClassMap

public java.util.Map<java.lang.String,java.lang.String> getStyleClassMap(org.apache.myfaces.trinidad.context.RenderingContext arc)
Returns the style class map, or null if there is no map. The style class map for Portlet skins is a full style class name TO portlet style class name map. It does not compress style classes.

Overrides:
getStyleClassMap in class SkinImpl
Parameters:
arc - RenderingContext
Returns:
Map<String, String> It should be a map that contains the full style class name as the key, and the value is a portlet style class.


Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.