|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The PortletSkin defines the color scheme to use for displaying a specified portlet (and associated control)
Nested Class Summary |
Nested classes inherited from class java.util.Map |
java.util.Map.Entry |
Field Summary | |
static java.lang.String |
BACKGROUND_COLOR
|
static java.lang.String |
CONTENT_STYLE_CLASS
|
static java.lang.String |
CONTROLLER_STYLE_CLASS
|
static java.lang.String |
HIGHLIGHT_BACKGROUND_COLOR
|
static java.lang.String |
HIGHLIGHT_TEXT_COLOR
|
static java.lang.String |
HIGHLIGHT_TITLE_STYLE_CLASS
|
static java.lang.String |
PORTLET_SKIN_CLASS
|
static java.lang.String |
PORTLET_STYLE_CLASS
|
static java.lang.String |
TAB_CONTENT_STYLE_CLASS
|
static java.lang.String |
TAB_STYLE_CLASS
|
static java.lang.String |
TAB_TITLE_STYLE_CLASS
|
static java.lang.String |
TEXT_COLOR
|
static java.lang.String |
TITLE_BACKGROUND_COLOR
|
static java.lang.String |
TITLE_STYLE_CLASS
|
static java.lang.String |
TITLE_TEXT_COLOR
|
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 titles on 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()
This returns the class to use for the entire portlet, based on the cascading : portlet has 9 possible class to be used in a skin : ________________ - title (+ left/right) |__|__________|__| | | | | | | | | - content (+ left/right) | | | | | | | | |__|__________|__| - bottom (+ left/right) |__|__________|__| using cascading, we can change all of those class with one parent class -> this is how PortletSkinClass is used |
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 backgroundColor)
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 titleColor)
Sets the color to use for displaying an highlighted background |
void |
setHighlightTextColor(java.lang.String titleColor)
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 titles tab or menu item |
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 titleColor)
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 titleColor)
Sets the color to use for displaying the portlet title text |
Methods inherited from interface java.util.Map |
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
Field Detail |
public static final java.lang.String TEXT_COLOR
public static final java.lang.String BACKGROUND_COLOR
public static final java.lang.String TITLE_TEXT_COLOR
public static final java.lang.String TITLE_BACKGROUND_COLOR
public static final java.lang.String HIGHLIGHT_TEXT_COLOR
public static final java.lang.String HIGHLIGHT_BACKGROUND_COLOR
public static final java.lang.String CONTROLLER_STYLE_CLASS
public static final java.lang.String PORTLET_STYLE_CLASS
public static final java.lang.String TITLE_STYLE_CLASS
public static final java.lang.String CONTENT_STYLE_CLASS
public static final java.lang.String HIGHLIGHT_TITLE_STYLE_CLASS
public static final java.lang.String TAB_STYLE_CLASS
public static final java.lang.String TAB_TITLE_STYLE_CLASS
public static final java.lang.String TAB_CONTENT_STYLE_CLASS
public static final java.lang.String PORTLET_SKIN_CLASS
Method Detail |
public java.lang.String getName()
public java.lang.String getTextColor()
public void setTextColor(java.lang.String color)
color
- the text color value in HTML format (#RRGGBB)public java.lang.String getBackgroundColor()
public void setBackgroundColor(java.lang.String backgroundColor)
backgroundColor
- the background color value in HTML format (#RRGGBB)public java.lang.String getTitleTextColor()
public void setTitleTextColor(java.lang.String titleColor)
titleColor
- the title color value in HTML format (#RRGGBB)public java.lang.String getTitleBackgroundColor()
public void setTitleBackgroundColor(java.lang.String titleColor)
titleColor
- the title color value in HTML format (#RRGGBB)public java.lang.String getHighlightTextColor()
public void setHighlightTextColor(java.lang.String titleColor)
titleColor
- a color value in HTML format (#RRGGBB)public java.lang.String getHighlightBackgroundColor()
public void setHighlightBackgroundColor(java.lang.String titleColor)
titleColor
- the title color value in HTML format (#RRGGBB)public java.lang.String getPortletStyleClass()
public void setPortletStyleClass(java.lang.String portletStyleClass)
portletStyleClass
- the new class to be usedpublic java.lang.String getTitleStyleClass()
public void setTitleStyleClass(java.lang.String titleStyleClass)
titleStyleClass
- the new class to be usedpublic java.lang.String getContentStyleClass()
public void setContentStyleClass(java.lang.String contentStyleClass)
contentStyleClass
- the new class to be usedpublic java.lang.String getTabStyleClass()
public void setTabStyleClass(java.lang.String tabStyleClass)
tabStyleClass
- the new class to be usedpublic java.lang.String getTabTitleStyleClass()
public void setTabTitleStyleClass(java.lang.String tabTitleStyleClass)
tabTitleStyleClass
- the new class to be usedpublic java.lang.String getTabContentStyleClass()
public void setTabContentStyleClass(java.lang.String tabContentStyleClass)
tabContentStyleClass
- the new class to be usedpublic java.lang.String getHighlightTitleStyleClass()
public void setHighlightTitleStyleClass(java.lang.String highlightTitleStyleClass)
public java.lang.String getControllerStyleClass()
public void setControllerStyleClass(java.lang.String controllerStyleClass)
controllerStyleClass
- the new class to be usedpublic java.lang.String getImage(java.lang.String name, java.lang.String dftPath)
public void setCapabilityMap(CapabilityMap cm)
public java.lang.String getPortletSkinClass()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |