|
|||||||||||
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 PortletSkin
public void setName(java.lang.String name)
public java.lang.String getTextColor()
getTextColor
in interface PortletSkin
public void setTextColor(java.lang.String color)
setTextColor
in interface PortletSkin
color
- the text color value in HTML format (#RRGGBB)public java.lang.String getBackgroundColor()
getBackgroundColor
in interface PortletSkin
public void setBackgroundColor(java.lang.String color)
setBackgroundColor
in interface PortletSkin
color
- the background color value in HTML format (#RRGGBB)public java.lang.String getTitleTextColor()
getTitleTextColor
in interface PortletSkin
public void setTitleTextColor(java.lang.String color)
setTitleTextColor
in interface PortletSkin
color
- the title color value in HTML format (#RRGGBB)public java.lang.String getTitleBackgroundColor()
getTitleBackgroundColor
in interface PortletSkin
public void setTitleBackgroundColor(java.lang.String color)
setTitleBackgroundColor
in interface PortletSkin
color
- the title color value in HTML format (#RRGGBB)public java.lang.String getHighlightTextColor()
getHighlightTextColor
in interface PortletSkin
public void setHighlightTextColor(java.lang.String color)
setHighlightTextColor
in interface PortletSkin
color
- a color value in HTML format (#RRGGBB)public java.lang.String getHighlightBackgroundColor()
getHighlightBackgroundColor
in interface PortletSkin
public void setHighlightBackgroundColor(java.lang.String color)
setHighlightBackgroundColor
in interface PortletSkin
color
- the title color value in HTML format (#RRGGBB)public java.lang.String getPortletStyleClass()
getPortletStyleClass
in interface PortletSkin
public void setPortletStyleClass(java.lang.String portletStyleClass)
setPortletStyleClass
in interface PortletSkin
portletStyleClass
- the new class to be usedpublic java.lang.String getTitleStyleClass()
getTitleStyleClass
in interface PortletSkin
public void setTitleStyleClass(java.lang.String titleStyleClass)
setTitleStyleClass
in interface PortletSkin
titleStyleClass
- the new class to be usedpublic java.lang.String getContentStyleClass()
getContentStyleClass
in interface PortletSkin
public void setContentStyleClass(java.lang.String contentStyleClass)
setContentStyleClass
in interface PortletSkin
contentStyleClass
- the new class to be usedpublic java.lang.String getTabStyleClass()
getTabStyleClass
in interface PortletSkin
public void setTabStyleClass(java.lang.String tabStyleClass)
setTabStyleClass
in interface PortletSkin
tabStyleClass
- the new class to be usedpublic java.lang.String getTabTitleStyleClass()
getTabTitleStyleClass
in interface PortletSkin
public void setTabTitleStyleClass(java.lang.String tabTitleStyleClass)
setTabTitleStyleClass
in interface PortletSkin
tabTitleStyleClass
- the new class to be usedpublic java.lang.String getTabContentStyleClass()
getTabContentStyleClass
in interface PortletSkin
public void setTabContentStyleClass(java.lang.String tabContentStyleClass)
setTabContentStyleClass
in interface PortletSkin
tabContentStyleClass
- the new class to be usedpublic java.lang.String getHighlightTitleStyleClass()
getHighlightTitleStyleClass
in interface PortletSkin
public void setHighlightTitleStyleClass(java.lang.String highlightTitleStyleClass)
setHighlightTitleStyleClass
in interface PortletSkin
highlightTitleStyleClass
- the new class to be usedpublic java.lang.String getControllerStyleClass()
getControllerStyleClass
in interface PortletSkin
public void setControllerStyleClass(java.lang.String controllerStyleClass)
setControllerStyleClass
in interface PortletSkin
controllerStyleClass
- the new class to be usedpublic java.lang.String getPortletSkinClass()
getPortletSkinClass
in interface PortletSkin
PortletSkin.getPortletSkinClass()
public void setPortletSkinClass(java.lang.String portletSkinClass)
portletSkinClass
- the new class to be usedpublic java.lang.String getImage(java.lang.String name, java.lang.String dftPath)
PortletSkin
getImage
in interface PortletSkin
PortletSkin.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 |