com.atlassian.jira.config.properties
Class LookAndFeelBean
java.lang.Object
com.atlassian.jira.config.properties.LookAndFeelBean
public class LookAndFeelBean
- extends Object
Bean mainly used to maintain a version number for all the menu colours. This allows us
to cache this information until it is updated (i.e.:version number is incremented).
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static LookAndFeelBean getInstance(ApplicationProperties ap)
stripHash
public String stripHash(String colour)
updateVersion
public void updateVersion(long oldVersion)
- Convenience method used by data import (see JRA-11680) to update version number to
the greater version number after the import (to make sure LF values wont be cached).
- Parameters:
oldVersion
- the previous version
getVersion
public long getVersion()
getLogoUrl
public String getLogoUrl()
setLogoUrl
public void setLogoUrl(String logoUrl)
getLogoWidth
public String getLogoWidth()
setLogoWidth
public void setLogoWidth(String logoWidth)
getLogoHeight
public String getLogoHeight()
setLogoHeight
public void setLogoHeight(String logoHeight)
getTopBackgroundColour
public String getTopBackgroundColour()
setTopBackgroundColour
public void setTopBackgroundColour(String topBackgroundColour)
getTopTxtColour
public String getTopTxtColour()
setTopTxtColour
public void setTopTxtColour(String topTxtColour)
getTopHighlightColor
public String getTopHighlightColor()
setTopHighlightColor
public void setTopHighlightColor(String newValue)
getTopTextHighlightColor
public String getTopTextHighlightColor()
setTopTextHighlightColor
public void setTopTextHighlightColor(String newValue)
getTopSeparatorBackgroundColor
public String getTopSeparatorBackgroundColor()
setTopSeparatorBackgroundColor
public void setTopSeparatorBackgroundColor(String newValue)
getMenuTxtColour
public String getMenuTxtColour()
setMenuTxtColour
public void setMenuTxtColour(String menuTxtColour)
getMenuBackgroundColour
public String getMenuBackgroundColour()
setMenuBackgroundColour
public void setMenuBackgroundColour(String menuBackgroundColour)
getMenuSeparatorColour
public String getMenuSeparatorColour()
setMenuSeparatorColour
public void setMenuSeparatorColour(String menuSeparatorColour)
getTextHeadingColour
public String getTextHeadingColour()
setTextHeadingColour
public void setTextHeadingColour(String textHeadingColour)
getTextLinkColour
public String getTextLinkColour()
setTextLinkColour
public void setTextLinkColour(String textLinkColour)
getTextActiveLinkColour
public String getTextActiveLinkColour()
setTextActiveLinkColour
public void setTextActiveLinkColour(String textActiveLinkColour)
getGadgetChromeColor
public String getGadgetChromeColor(String id)
setGadgetChromeColor
public void setGadgetChromeColor(String id,
String gadgetChromeColor)
getApplicationID
public String getApplicationID()
Copyright © 2002-2009 Atlassian. All Rights Reserved.