|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.workplace.CmsWorkplaceCustomFoot
public class CmsWorkplaceCustomFoot
A custom foot configuration to create a specially designed foot for the OpenCms workplace.
Field Summary | |
---|---|
static java.lang.String |
DEFAUL_COLOR
The default foot frame font color. |
static java.lang.String |
DEFAULT_BACKGROUNDCOLOR
The default foot frame background color. |
static java.lang.String |
DEFAULT_TEXT
The default workplace foot text to display. |
static java.lang.String |
DEFAULT_TEXT_WITH_OU
The default workplace foot text to display. |
Constructor Summary | |
---|---|
CmsWorkplaceCustomFoot()
Empty constructor. |
Method Summary | |
---|---|
java.lang.String |
getBackgroundColor()
Returns the background color of the foot frame. |
java.lang.String |
getColor()
Returns the font color of the foot frame. |
java.lang.String |
getText()
Returns the additional text of the foot frame. |
java.lang.String |
getTextResolved(CmsWorkplace wp)
Returns the text of the foot frame with resolved macros. |
boolean |
isReplaceDefault()
Returns if the default text should be replaced or kept. |
void |
setBackgroundColor(java.lang.String backgroundColor)
Sets the background color of the foot frame. |
void |
setColor(java.lang.String color)
Sets the font color of the foot frame. |
void |
setText(java.lang.String text,
java.lang.String replaceDefault)
Sets the additional text of the foot frame. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String DEFAUL_COLOR
public static final java.lang.String DEFAULT_BACKGROUNDCOLOR
public static final java.lang.String DEFAULT_TEXT
public static final java.lang.String DEFAULT_TEXT_WITH_OU
Constructor Detail |
---|
public CmsWorkplaceCustomFoot()
Method Detail |
---|
public java.lang.String getBackgroundColor()
public java.lang.String getColor()
public java.lang.String getText()
public java.lang.String getTextResolved(CmsWorkplace wp)
wp
- the initialized workplace dialog
public boolean isReplaceDefault()
public void setBackgroundColor(java.lang.String backgroundColor)
backgroundColor
- the background color of the foot framepublic void setColor(java.lang.String color)
color
- the font color of the foot framepublic void setText(java.lang.String text, java.lang.String replaceDefault)
text
- the additional text of the foot framereplaceDefault
- flag indicating if the default text should be replaced or kept
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |