public class LookAndFeelBean extends Object
Modifier and Type | Class and Description |
---|---|
static class |
LookAndFeelBean.DefaultColours
These are the "intended" colours for the JIRA Header.
|
static class |
LookAndFeelBean.DefaultCommonColours
These are the intended colours for the new common Header.
|
static class |
LookAndFeelBean.DefaultFaviconDimensions |
static class |
LookAndFeelBean.LookAndFeelChangedEvent |
Modifier | Constructor and Description |
---|---|
protected |
LookAndFeelBean(ApplicationProperties applicationProperties) |
protected LookAndFeelBean(ApplicationProperties applicationProperties)
public static LookAndFeelBean getInstance(ApplicationProperties ap)
@Deprecated public boolean isCommonHeader()
@Deprecated public String stripHash(String colour)
colour
- @Deprecated public void updateVersion(long oldVersion)
updateSettingsHash()
.oldVersion
- the previous version@Deprecated public long getVersion()
getSettingsHash()
to get the state of Look and feel.public String getLogoUrl()
public void setLogoUrl(String logoUrl)
public String getAbsoluteLogoUrl()
public String getLogoWidth()
public void setLogoWidth(String logoWidth)
public String getLogoPixelWidth()
public String getLogoHeight()
public void setLogoHeight(String logoHeight)
public String getLogoPixelHeight()
public String getFaviconUrl()
public void setFaviconUrl(String faviconUrl)
public String getFaviconWidth()
public String getFaviconHeight()
public String getFaviconHiResUrl()
public void setFaviconHiResUrl(String faviconUrl)
public String getFaviconHiResWidth()
public String getFaviconHiResHeight()
public String getTopBackgroundColour()
public void setTopBackgroundColour(String topBackgroundColour)
public String getTopTxtColour()
public void setTopTxtColour(String topTxtColour)
public String getTopHighlightColor()
public void setTopHighlightColor(String newValue)
@Nullable protected String getValue(@Nonnull com.atlassian.jira.config.properties.LookAndFeelBean.LnF config)
public String getTopTextHighlightColor()
public void setTopTextHighlightColor(String newValue)
public String getTopSeparatorBackgroundColor()
public void setTopSeparatorBackgroundColor(String newValue)
public String getMenuTxtColour()
public void setMenuTxtColour(String menuTxtColour)
public String getMenuBackgroundColour()
public void setMenuBackgroundColour(String menuBackgroundColour)
public String getMenuSeparatorColour()
public void setMenuSeparatorColour(String menuSeparatorColour)
public String getTextHeadingColour()
public void setTextHeadingColour(String textHeadingColour)
public String getTextLinkColour()
public void setTextLinkColour(String textLinkColour)
public String getTextActiveLinkColour()
public void setTextActiveLinkColour(String textActiveLinkColour)
public String getHeroButtonTextColour()
public void setHeroButtonTextColour(String heroButtonTextColour)
public String getHeroButtonBaseBGColour()
public void setHeroButtonBaseBGColour(String heroButtonBaseBGColour)
public String getApplicationID()
public String getDefaultBackedString(@Nonnull String key, @Nullable String defaultValue)
key
- the Application Properties key to look updefaultValue
- the value to return if the key yields nullCopyright © 2002-2015 Atlassian. All Rights Reserved.