|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.util.AbstractMap
java.util.HashMap
org.apache.jetspeed.portal.BasePortletSkin
This default implementation of PortletSkin stores every property as a Map of text properties
| Nested Class Summary |
| Nested classes inherited from class java.util.Map |
java.util.Map.Entry |
| Field Summary | |
java.lang.String |
name
|
| Fields inherited from interface org.apache.jetspeed.portal.PortletSkin |
BACKGROUND_COLOR, CONTENT_STYLE_CLASS, CONTROLLER_STYLE_CLASS, HIGHLIGHT_BACKGROUND_COLOR, HIGHLIGHT_TEXT_COLOR, HIGHLIGHT_TITLE_STYLE_CLASS, PORTLET_SKIN_CLASS, PORTLET_STYLE_CLASS, TAB_CONTENT_STYLE_CLASS, TAB_STYLE_CLASS, TAB_TITLE_STYLE_CLASS, TEXT_COLOR, TITLE_BACKGROUND_COLOR, TITLE_STYLE_CLASS, TITLE_TEXT_COLOR |
| Constructor Summary | |
BasePortletSkin()
|
|
| Method Summary | |
java.lang.String |
getBackgroundColor()
Returns the color to use for displaying the portlet background |
java.lang.String |
getContentStyleClass()
Returns the CSS class to use for the portlet content |
java.lang.String |
getControllerStyleClass()
Returns the CSS class to use for the controller overall |
java.lang.String |
getHighlightBackgroundColor()
Returns the color to use for displaying an highlighted background |
java.lang.String |
getHighlightTextColor()
Returns the color to use for displaying an highlighted text |
java.lang.String |
getHighlightTitleStyleClass()
Returns the CSS class to use on the control of the Highlighted title tab or menu item |
java.lang.String |
getImage(java.lang.String name,
java.lang.String dftPath)
Returns a named image from this skin. |
java.lang.String |
getName()
Returns the name of this color scheme |
java.lang.String |
getPortletSkinClass()
Returns the CSS class to use for the global skin rendering |
java.lang.String |
getPortletStyleClass()
Returns the CSS class to use for the portlet overall |
java.lang.String |
getTabContentStyleClass()
Returns the CSS class to use on the control of the tabbed control |
java.lang.String |
getTabStyleClass()
Returns the CSS class to use overall for the tabbed control |
java.lang.String |
getTabTitleStyleClass()
Returns the CSS class to use on the title of the tabbed control |
java.lang.String |
getTextColor()
Returns the color to use for displaying the portlet text |
java.lang.String |
getTitleBackgroundColor()
Returns the color to use for displaying the portlet title background |
java.lang.String |
getTitleStyleClass()
Returns the CSS class to use for the portlet title |
java.lang.String |
getTitleTextColor()
Returns the color to use for displaying the portlet title text |
void |
setBackgroundColor(java.lang.String color)
Sets the color to use for displaying the portlet background |
void |
setCapabilityMap(CapabilityMap cm)
This allows the PortalToolKit to make the PortletSkin aware of the current user-agents's capabilities |
void |
setContentStyleClass(java.lang.String contentStyleClass)
Sets the CSS class to use for the portlet content |
void |
setControllerStyleClass(java.lang.String controllerStyleClass)
Sets the CSS class to use for the controller overall |
void |
setHighlightBackgroundColor(java.lang.String color)
Sets the color to use for displaying an highlighted background |
void |
setHighlightTextColor(java.lang.String color)
Sets the color to use for displaying an highlighted text |
void |
setHighlightTitleStyleClass(java.lang.String highlightTitleStyleClass)
Sets the CSS class to use on the control of the Highlighted title tab or menu item |
void |
setName(java.lang.String name)
Sets the name of this Skin |
void |
setPortletSkinClass(java.lang.String portletSkinClass)
Sets the CSS class to use for the global skin rendering |
void |
setPortletStyleClass(java.lang.String portletStyleClass)
Sets the CSS class to use for the portlet overall |
void |
setTabContentStyleClass(java.lang.String tabContentStyleClass)
Sets the CSS class to use on the control of the tabbed control |
void |
setTabStyleClass(java.lang.String tabStyleClass)
Sets the CSS class to use for overall for the tabbed control |
void |
setTabTitleStyleClass(java.lang.String tabTitleStyleClass)
Sets the CSS class to use on the title of the tabbed control |
void |
setTextColor(java.lang.String color)
Sets the color to use for displaying the portlet text |
void |
setTitleBackgroundColor(java.lang.String color)
Sets the color to use for displaying the portlet title background |
void |
setTitleStyleClass(java.lang.String titleStyleClass)
Sets the CSS class to use for the portlet title |
void |
setTitleTextColor(java.lang.String color)
Sets the color to use for displaying the portlet title text |
| Methods inherited from class java.util.HashMap |
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
| Methods inherited from class java.util.AbstractMap |
equals, hashCode, toString |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Map |
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
| Field Detail |
public java.lang.String name
| Constructor Detail |
public BasePortletSkin()
| Method Detail |
public java.lang.String getName()
getName in interface PortletSkinpublic void setName(java.lang.String name)
public java.lang.String getTextColor()
getTextColor in interface PortletSkinpublic void setTextColor(java.lang.String color)
setTextColor in interface PortletSkincolor - the text color value in HTML format (#RRGGBB)public java.lang.String getBackgroundColor()
getBackgroundColor in interface PortletSkinpublic void setBackgroundColor(java.lang.String color)
setBackgroundColor in interface PortletSkincolor - the background color value in HTML format (#RRGGBB)public java.lang.String getTitleTextColor()
getTitleTextColor in interface PortletSkinpublic void setTitleTextColor(java.lang.String color)
setTitleTextColor in interface PortletSkincolor - the title color value in HTML format (#RRGGBB)public java.lang.String getTitleBackgroundColor()
getTitleBackgroundColor in interface PortletSkinpublic void setTitleBackgroundColor(java.lang.String color)
setTitleBackgroundColor in interface PortletSkincolor - the title color value in HTML format (#RRGGBB)public java.lang.String getHighlightTextColor()
getHighlightTextColor in interface PortletSkinpublic void setHighlightTextColor(java.lang.String color)
setHighlightTextColor in interface PortletSkincolor - a color value in HTML format (#RRGGBB)public java.lang.String getHighlightBackgroundColor()
getHighlightBackgroundColor in interface PortletSkinpublic void setHighlightBackgroundColor(java.lang.String color)
setHighlightBackgroundColor in interface PortletSkincolor - the title color value in HTML format (#RRGGBB)public java.lang.String getPortletStyleClass()
getPortletStyleClass in interface PortletSkinpublic void setPortletStyleClass(java.lang.String portletStyleClass)
setPortletStyleClass in interface PortletSkinportletStyleClass - the new class to be usedpublic java.lang.String getTitleStyleClass()
getTitleStyleClass in interface PortletSkinpublic void setTitleStyleClass(java.lang.String titleStyleClass)
setTitleStyleClass in interface PortletSkintitleStyleClass - the new class to be usedpublic java.lang.String getContentStyleClass()
getContentStyleClass in interface PortletSkinpublic void setContentStyleClass(java.lang.String contentStyleClass)
setContentStyleClass in interface PortletSkincontentStyleClass - the new class to be usedpublic java.lang.String getTabStyleClass()
getTabStyleClass in interface PortletSkinpublic void setTabStyleClass(java.lang.String tabStyleClass)
setTabStyleClass in interface PortletSkintabStyleClass - the new class to be usedpublic java.lang.String getTabTitleStyleClass()
getTabTitleStyleClass in interface PortletSkinpublic void setTabTitleStyleClass(java.lang.String tabTitleStyleClass)
setTabTitleStyleClass in interface PortletSkintabTitleStyleClass - the new class to be usedpublic java.lang.String getTabContentStyleClass()
getTabContentStyleClass in interface PortletSkinpublic void setTabContentStyleClass(java.lang.String tabContentStyleClass)
setTabContentStyleClass in interface PortletSkintabContentStyleClass - the new class to be usedpublic java.lang.String getHighlightTitleStyleClass()
getHighlightTitleStyleClass in interface PortletSkinpublic void setHighlightTitleStyleClass(java.lang.String highlightTitleStyleClass)
setHighlightTitleStyleClass in interface PortletSkinhighlightTitleStyleClass - the new class to be usedpublic java.lang.String getControllerStyleClass()
getControllerStyleClass in interface PortletSkinpublic void setControllerStyleClass(java.lang.String controllerStyleClass)
setControllerStyleClass in interface PortletSkincontrollerStyleClass - the new class to be usedpublic java.lang.String getPortletSkinClass()
getPortletSkinClass in interface PortletSkinPortletSkin.getPortletSkinClass()public void setPortletSkinClass(java.lang.String portletSkinClass)
portletSkinClass - the new class to be used
public java.lang.String getImage(java.lang.String name,
java.lang.String dftPath)
PortletSkin
getImage in interface PortletSkinPortletSkin.getImage(String, String)public void setCapabilityMap(CapabilityMap cm)
setCapabilityMap in interface PortletSkin
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||