com.liferay.portal.model.impl
Class ColorSchemeImpl

java.lang.Object
  extended bycom.liferay.portal.model.impl.ColorSchemeImpl
All Implemented Interfaces:
com.liferay.portal.model.ColorScheme, java.lang.Comparable, java.io.Serializable

public class ColorSchemeImpl
extends java.lang.Object
implements com.liferay.portal.model.ColorScheme

View Source

Author:
Brian Wing Shun Chan
See Also:
Serialized Form

Field Summary
static java.lang.String BODY_BG
           
static java.lang.String LAYOUT_BG
           
static java.lang.String LAYOUT_TAB_BG
           
static java.lang.String LAYOUT_TAB_SELECTED_BG
           
static java.lang.String LAYOUT_TAB_SELECTED_TEXT
           
static java.lang.String LAYOUT_TAB_TEXT
           
static java.lang.String LAYOUT_TEXT
           
static java.lang.String PORTLET_BG
           
static java.lang.String PORTLET_FONT
           
static java.lang.String PORTLET_FONT_DIM
           
static java.lang.String PORTLET_MENU_BG
           
static java.lang.String PORTLET_MENU_TEXT
           
static java.lang.String PORTLET_MSG_ALERT
           
static java.lang.String PORTLET_MSG_ERROR
           
static java.lang.String PORTLET_MSG_INFO
           
static java.lang.String PORTLET_MSG_STATUS
           
static java.lang.String PORTLET_MSG_SUCCESS
           
static java.lang.String PORTLET_SECTION_ALTERNATE
           
static java.lang.String PORTLET_SECTION_ALTERNATE_BG
           
static java.lang.String PORTLET_SECTION_ALTERNATE_HOVER
           
static java.lang.String PORTLET_SECTION_ALTERNATE_HOVER_BG
           
static java.lang.String PORTLET_SECTION_BODY
           
static java.lang.String PORTLET_SECTION_BODY_BG
           
static java.lang.String PORTLET_SECTION_BODY_HOVER
           
static java.lang.String PORTLET_SECTION_BODY_HOVER_BG
           
static java.lang.String PORTLET_SECTION_HEADER
           
static java.lang.String PORTLET_SECTION_HEADER_BG
           
static java.lang.String PORTLET_SECTION_SELECTED
           
static java.lang.String PORTLET_SECTION_SELECTED_BG
           
static java.lang.String PORTLET_SECTION_SELECTED_HOVER
           
static java.lang.String PORTLET_SECTION_SELECTED_HOVER_BG
           
static java.lang.String PORTLET_SECTION_SUBHEADER
           
static java.lang.String PORTLET_SECTION_SUBHEADER_BG
           
static java.lang.String PORTLET_TITLE_BG
           
static java.lang.String PORTLET_TITLE_TEXT
           
 
Constructor Summary
ColorSchemeImpl()
           
ColorSchemeImpl(java.lang.String colorSchemeId)
           
ColorSchemeImpl(java.lang.String colorSchemeId, java.lang.String name, java.lang.String cssClass)
           
 
Method Summary
 int compareTo(java.lang.Object obj)
           
 boolean equals(java.lang.Object obj)
           
 java.lang.String getBodyBg()
           
 java.lang.String getColorSchemeId()
           
 java.lang.String getColorSchemeImagesPath()
           
 java.lang.String getCssClass()
           
 boolean getDefaultCs()
           
static java.lang.String getDefaultRegularColorSchemeId()
           
static java.lang.String getDefaultWapColorSchemeId()
           
 java.lang.String getLayoutBg()
           
 java.lang.String getLayoutTabBg()
           
 java.lang.String getLayoutTabSelectedBg()
           
 java.lang.String getLayoutTabSelectedText()
           
 java.lang.String getLayoutTabText()
           
 java.lang.String getLayoutText()
           
 java.lang.String getName()
           
static com.liferay.portal.model.ColorScheme getNullColorScheme()
           
 java.lang.String getPortletBg()
           
 java.lang.String getPortletFont()
           
 java.lang.String getPortletFontDim()
           
 java.lang.String getPortletMenuBg()
           
 java.lang.String getPortletMenuText()
           
 java.lang.String getPortletMsgAlert()
           
 java.lang.String getPortletMsgError()
           
 java.lang.String getPortletMsgInfo()
           
 java.lang.String getPortletMsgStatus()
           
 java.lang.String getPortletMsgSuccess()
           
 java.lang.String getPortletSectionAlternate()
           
 java.lang.String getPortletSectionAlternateBg()
           
 java.lang.String getPortletSectionAlternateHover()
           
 java.lang.String getPortletSectionAlternateHoverBg()
           
 java.lang.String getPortletSectionBody()
           
 java.lang.String getPortletSectionBodyBg()
           
 java.lang.String getPortletSectionBodyHover()
           
 java.lang.String getPortletSectionBodyHoverBg()
           
 java.lang.String getPortletSectionHeader()
           
 java.lang.String getPortletSectionHeaderBg()
           
 java.lang.String getPortletSectionSelected()
           
 java.lang.String getPortletSectionSelectedBg()
           
 java.lang.String getPortletSectionSelectedHover()
           
 java.lang.String getPortletSectionSelectedHoverBg()
           
 java.lang.String getPortletSectionSubheader()
           
 java.lang.String getPortletSectionSubheaderBg()
           
 java.lang.String getPortletTitleBg()
           
 java.lang.String getPortletTitleText()
           
 java.lang.String getSetting(java.lang.String key)
           
 java.lang.String getSettings()
           
 java.util.Properties getSettingsProperties()
           
 boolean isDefaultCs()
           
 void setColorSchemeImagesPath(java.lang.String colorSchemeImagesPath)
           
 void setCssClass(java.lang.String cssClass)
           
 void setDefaultCs(boolean defaultCs)
           
 void setName(java.lang.String name)
           
 void setSettings(java.lang.String settings)
           
 void setSettingsProperties(java.util.Properties settingsProperties)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BODY_BG

public static final java.lang.String BODY_BG
See Also:
Constant Field Values

LAYOUT_BG

public static final java.lang.String LAYOUT_BG
See Also:
Constant Field Values

LAYOUT_TEXT

public static final java.lang.String LAYOUT_TEXT
See Also:
Constant Field Values

LAYOUT_TAB_BG

public static final java.lang.String LAYOUT_TAB_BG
See Also:
Constant Field Values

LAYOUT_TAB_TEXT

public static final java.lang.String LAYOUT_TAB_TEXT
See Also:
Constant Field Values

LAYOUT_TAB_SELECTED_BG

public static final java.lang.String LAYOUT_TAB_SELECTED_BG
See Also:
Constant Field Values

LAYOUT_TAB_SELECTED_TEXT

public static final java.lang.String LAYOUT_TAB_SELECTED_TEXT
See Also:
Constant Field Values

PORTLET_TITLE_BG

public static final java.lang.String PORTLET_TITLE_BG
See Also:
Constant Field Values

PORTLET_TITLE_TEXT

public static final java.lang.String PORTLET_TITLE_TEXT
See Also:
Constant Field Values

PORTLET_MENU_BG

public static final java.lang.String PORTLET_MENU_BG
See Also:
Constant Field Values

PORTLET_MENU_TEXT

public static final java.lang.String PORTLET_MENU_TEXT
See Also:
Constant Field Values

PORTLET_BG

public static final java.lang.String PORTLET_BG
See Also:
Constant Field Values

PORTLET_FONT

public static final java.lang.String PORTLET_FONT
See Also:
Constant Field Values

PORTLET_FONT_DIM

public static final java.lang.String PORTLET_FONT_DIM
See Also:
Constant Field Values

PORTLET_MSG_STATUS

public static final java.lang.String PORTLET_MSG_STATUS
See Also:
Constant Field Values

PORTLET_MSG_INFO

public static final java.lang.String PORTLET_MSG_INFO
See Also:
Constant Field Values

PORTLET_MSG_ERROR

public static final java.lang.String PORTLET_MSG_ERROR
See Also:
Constant Field Values

PORTLET_MSG_ALERT

public static final java.lang.String PORTLET_MSG_ALERT
See Also:
Constant Field Values

PORTLET_MSG_SUCCESS

public static final java.lang.String PORTLET_MSG_SUCCESS
See Also:
Constant Field Values

PORTLET_SECTION_HEADER

public static final java.lang.String PORTLET_SECTION_HEADER
See Also:
Constant Field Values

PORTLET_SECTION_HEADER_BG

public static final java.lang.String PORTLET_SECTION_HEADER_BG
See Also:
Constant Field Values

PORTLET_SECTION_SUBHEADER

public static final java.lang.String PORTLET_SECTION_SUBHEADER
See Also:
Constant Field Values

PORTLET_SECTION_SUBHEADER_BG

public static final java.lang.String PORTLET_SECTION_SUBHEADER_BG
See Also:
Constant Field Values

PORTLET_SECTION_BODY

public static final java.lang.String PORTLET_SECTION_BODY
See Also:
Constant Field Values

PORTLET_SECTION_BODY_BG

public static final java.lang.String PORTLET_SECTION_BODY_BG
See Also:
Constant Field Values

PORTLET_SECTION_BODY_HOVER

public static final java.lang.String PORTLET_SECTION_BODY_HOVER
See Also:
Constant Field Values

PORTLET_SECTION_BODY_HOVER_BG

public static final java.lang.String PORTLET_SECTION_BODY_HOVER_BG
See Also:
Constant Field Values

PORTLET_SECTION_ALTERNATE

public static final java.lang.String PORTLET_SECTION_ALTERNATE
See Also:
Constant Field Values

PORTLET_SECTION_ALTERNATE_BG

public static final java.lang.String PORTLET_SECTION_ALTERNATE_BG
See Also:
Constant Field Values

PORTLET_SECTION_ALTERNATE_HOVER

public static final java.lang.String PORTLET_SECTION_ALTERNATE_HOVER
See Also:
Constant Field Values

PORTLET_SECTION_ALTERNATE_HOVER_BG

public static final java.lang.String PORTLET_SECTION_ALTERNATE_HOVER_BG
See Also:
Constant Field Values

PORTLET_SECTION_SELECTED

public static final java.lang.String PORTLET_SECTION_SELECTED
See Also:
Constant Field Values

PORTLET_SECTION_SELECTED_BG

public static final java.lang.String PORTLET_SECTION_SELECTED_BG
See Also:
Constant Field Values

PORTLET_SECTION_SELECTED_HOVER

public static final java.lang.String PORTLET_SECTION_SELECTED_HOVER
See Also:
Constant Field Values

PORTLET_SECTION_SELECTED_HOVER_BG

public static final java.lang.String PORTLET_SECTION_SELECTED_HOVER_BG
See Also:
Constant Field Values
Constructor Detail

ColorSchemeImpl

public ColorSchemeImpl()

ColorSchemeImpl

public ColorSchemeImpl(java.lang.String colorSchemeId)

ColorSchemeImpl

public ColorSchemeImpl(java.lang.String colorSchemeId,
                       java.lang.String name,
                       java.lang.String cssClass)
Method Detail

getDefaultRegularColorSchemeId

public static java.lang.String getDefaultRegularColorSchemeId()

getDefaultWapColorSchemeId

public static java.lang.String getDefaultWapColorSchemeId()

getNullColorScheme

public static com.liferay.portal.model.ColorScheme getNullColorScheme()

getColorSchemeId

public java.lang.String getColorSchemeId()
Specified by:
getColorSchemeId in interface com.liferay.portal.model.ColorScheme

getName

public java.lang.String getName()
Specified by:
getName in interface com.liferay.portal.model.ColorScheme

setName

public void setName(java.lang.String name)
Specified by:
setName in interface com.liferay.portal.model.ColorScheme

getDefaultCs

public boolean getDefaultCs()
Specified by:
getDefaultCs in interface com.liferay.portal.model.ColorScheme

isDefaultCs

public boolean isDefaultCs()
Specified by:
isDefaultCs in interface com.liferay.portal.model.ColorScheme

setDefaultCs

public void setDefaultCs(boolean defaultCs)
Specified by:
setDefaultCs in interface com.liferay.portal.model.ColorScheme

getCssClass

public java.lang.String getCssClass()
Specified by:
getCssClass in interface com.liferay.portal.model.ColorScheme

setCssClass

public void setCssClass(java.lang.String cssClass)
Specified by:
setCssClass in interface com.liferay.portal.model.ColorScheme

getColorSchemeImagesPath

public java.lang.String getColorSchemeImagesPath()
Specified by:
getColorSchemeImagesPath in interface com.liferay.portal.model.ColorScheme

setColorSchemeImagesPath

public void setColorSchemeImagesPath(java.lang.String colorSchemeImagesPath)
Specified by:
setColorSchemeImagesPath in interface com.liferay.portal.model.ColorScheme

getSettings

public java.lang.String getSettings()
Specified by:
getSettings in interface com.liferay.portal.model.ColorScheme

setSettings

public void setSettings(java.lang.String settings)
Specified by:
setSettings in interface com.liferay.portal.model.ColorScheme

getSettingsProperties

public java.util.Properties getSettingsProperties()
Specified by:
getSettingsProperties in interface com.liferay.portal.model.ColorScheme

setSettingsProperties

public void setSettingsProperties(java.util.Properties settingsProperties)
Specified by:
setSettingsProperties in interface com.liferay.portal.model.ColorScheme

getSetting

public java.lang.String getSetting(java.lang.String key)
Specified by:
getSetting in interface com.liferay.portal.model.ColorScheme

getBodyBg

public java.lang.String getBodyBg()
Specified by:
getBodyBg in interface com.liferay.portal.model.ColorScheme

getLayoutBg

public java.lang.String getLayoutBg()
Specified by:
getLayoutBg in interface com.liferay.portal.model.ColorScheme

getLayoutText

public java.lang.String getLayoutText()
Specified by:
getLayoutText in interface com.liferay.portal.model.ColorScheme

getLayoutTabBg

public java.lang.String getLayoutTabBg()
Specified by:
getLayoutTabBg in interface com.liferay.portal.model.ColorScheme

getLayoutTabText

public java.lang.String getLayoutTabText()
Specified by:
getLayoutTabText in interface com.liferay.portal.model.ColorScheme

getLayoutTabSelectedBg

public java.lang.String getLayoutTabSelectedBg()
Specified by:
getLayoutTabSelectedBg in interface com.liferay.portal.model.ColorScheme

getLayoutTabSelectedText

public java.lang.String getLayoutTabSelectedText()
Specified by:
getLayoutTabSelectedText in interface com.liferay.portal.model.ColorScheme

getPortletTitleBg

public java.lang.String getPortletTitleBg()
Specified by:
getPortletTitleBg in interface com.liferay.portal.model.ColorScheme

getPortletTitleText

public java.lang.String getPortletTitleText()
Specified by:
getPortletTitleText in interface com.liferay.portal.model.ColorScheme

getPortletMenuBg

public java.lang.String getPortletMenuBg()
Specified by:
getPortletMenuBg in interface com.liferay.portal.model.ColorScheme

getPortletMenuText

public java.lang.String getPortletMenuText()
Specified by:
getPortletMenuText in interface com.liferay.portal.model.ColorScheme

getPortletBg

public java.lang.String getPortletBg()
Specified by:
getPortletBg in interface com.liferay.portal.model.ColorScheme

getPortletFont

public java.lang.String getPortletFont()
Specified by:
getPortletFont in interface com.liferay.portal.model.ColorScheme

getPortletFontDim

public java.lang.String getPortletFontDim()
Specified by:
getPortletFontDim in interface com.liferay.portal.model.ColorScheme

getPortletMsgStatus

public java.lang.String getPortletMsgStatus()
Specified by:
getPortletMsgStatus in interface com.liferay.portal.model.ColorScheme

getPortletMsgInfo

public java.lang.String getPortletMsgInfo()
Specified by:
getPortletMsgInfo in interface com.liferay.portal.model.ColorScheme

getPortletMsgError

public java.lang.String getPortletMsgError()
Specified by:
getPortletMsgError in interface com.liferay.portal.model.ColorScheme

getPortletMsgAlert

public java.lang.String getPortletMsgAlert()
Specified by:
getPortletMsgAlert in interface com.liferay.portal.model.ColorScheme

getPortletMsgSuccess

public java.lang.String getPortletMsgSuccess()
Specified by:
getPortletMsgSuccess in interface com.liferay.portal.model.ColorScheme

getPortletSectionHeader

public java.lang.String getPortletSectionHeader()
Specified by:
getPortletSectionHeader in interface com.liferay.portal.model.ColorScheme

getPortletSectionHeaderBg

public java.lang.String getPortletSectionHeaderBg()
Specified by:
getPortletSectionHeaderBg in interface com.liferay.portal.model.ColorScheme

getPortletSectionSubheader

public java.lang.String getPortletSectionSubheader()
Specified by:
getPortletSectionSubheader in interface com.liferay.portal.model.ColorScheme

getPortletSectionSubheaderBg

public java.lang.String getPortletSectionSubheaderBg()
Specified by:
getPortletSectionSubheaderBg in interface com.liferay.portal.model.ColorScheme

getPortletSectionBody

public java.lang.String getPortletSectionBody()
Specified by:
getPortletSectionBody in interface com.liferay.portal.model.ColorScheme

getPortletSectionBodyBg

public java.lang.String getPortletSectionBodyBg()
Specified by:
getPortletSectionBodyBg in interface com.liferay.portal.model.ColorScheme

getPortletSectionBodyHover

public java.lang.String getPortletSectionBodyHover()
Specified by:
getPortletSectionBodyHover in interface com.liferay.portal.model.ColorScheme

getPortletSectionBodyHoverBg

public java.lang.String getPortletSectionBodyHoverBg()
Specified by:
getPortletSectionBodyHoverBg in interface com.liferay.portal.model.ColorScheme

getPortletSectionAlternate

public java.lang.String getPortletSectionAlternate()
Specified by:
getPortletSectionAlternate in interface com.liferay.portal.model.ColorScheme

getPortletSectionAlternateBg

public java.lang.String getPortletSectionAlternateBg()
Specified by:
getPortletSectionAlternateBg in interface com.liferay.portal.model.ColorScheme

getPortletSectionAlternateHover

public java.lang.String getPortletSectionAlternateHover()
Specified by:
getPortletSectionAlternateHover in interface com.liferay.portal.model.ColorScheme

getPortletSectionAlternateHoverBg

public java.lang.String getPortletSectionAlternateHoverBg()
Specified by:
getPortletSectionAlternateHoverBg in interface com.liferay.portal.model.ColorScheme

getPortletSectionSelected

public java.lang.String getPortletSectionSelected()
Specified by:
getPortletSectionSelected in interface com.liferay.portal.model.ColorScheme

getPortletSectionSelectedBg

public java.lang.String getPortletSectionSelectedBg()
Specified by:
getPortletSectionSelectedBg in interface com.liferay.portal.model.ColorScheme

getPortletSectionSelectedHover

public java.lang.String getPortletSectionSelectedHover()
Specified by:
getPortletSectionSelectedHover in interface com.liferay.portal.model.ColorScheme

getPortletSectionSelectedHoverBg

public java.lang.String getPortletSectionSelectedHoverBg()
Specified by:
getPortletSectionSelectedHoverBg in interface com.liferay.portal.model.ColorScheme

compareTo

public int compareTo(java.lang.Object obj)
Specified by:
compareTo in interface java.lang.Comparable

equals

public boolean equals(java.lang.Object obj)