Class Overview
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).
Summary
Nested Classes |
class |
LookAndFeelBean.DefaultColours |
These are the "intended" colours for the JIRA Header. |
class |
LookAndFeelBean.DefaultCommonColours |
These are the intended colours for the new common Header. |
class |
LookAndFeelBean.DefaultFaviconDimensions |
|
class |
LookAndFeelBean.LookAndFeelChangedEvent |
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Protected Constructors
Public Methods
public
String
getAbsoluteLogoUrl
()
public
String
getApplicationID
()
public
String
getDefaultBackedString
(String key, String defaultValue)
Performs a lookup on the application properties for the specified key. If the key returns a null value,
returns the default value specified. This would happen if no value exists in the database AND no value exists
in the jira-application.properties file.
Parameters
key
| the Application Properties key to look up |
defaultValue
| the value to return if the key yields null |
Returns
- the value of the key in the Application Properties, or the default value specified
public
String
getFaviconHeight
()
public
String
getFaviconHiResHeight
()
public
String
getFaviconHiResUrl
()
public
String
getFaviconHiResWidth
()
public
String
getFaviconUrl
()
public
String
getFaviconWidth
()
public
String
getHeroButtonBaseBGColour
()
public
String
getHeroButtonTextColour
()
public
String
getLogoHeight
()
public
String
getLogoPixelHeight
()
public
String
getLogoPixelWidth
()
public
String
getMenuBackgroundColour
()
public
String
getMenuSeparatorColour
()
public
String
getMenuTxtColour
()
public
String
getTextActiveLinkColour
()
public
String
getTextHeadingColour
()
public
String
getTextLinkColour
()
public
String
getTopBackgroundColour
()
public
String
getTopHighlightColor
()
public
String
getTopSeparatorBackgroundColor
()
public
String
getTopTextHighlightColor
()
public
String
getTopTxtColour
()
public
long
getVersion
()
@Deprecated
public
boolean
isCommonHeader
()
This method is deprecated.
in JIRA 6.0 -- the common header is always enabled.
public
void
setFaviconHiResUrl
(String faviconUrl)
public
void
setFaviconUrl
(String faviconUrl)
public
void
setGadgetChromeColor
(String id, String gadgetChromeColor)
public
void
setHeroButtonBaseBGColour
(String heroButtonBaseBGColour)
public
void
setHeroButtonTextColour
(String heroButtonTextColour)
public
void
setLogoHeight
(String logoHeight)
public
void
setLogoUrl
(String logoUrl)
public
void
setLogoWidth
(String logoWidth)
public
void
setMenuBackgroundColour
(String menuBackgroundColour)
public
void
setMenuSeparatorColour
(String menuSeparatorColour)
public
void
setMenuTxtColour
(String menuTxtColour)
public
void
setTextActiveLinkColour
(String textActiveLinkColour)
public
void
setTextHeadingColour
(String textHeadingColour)
public
void
setTextLinkColour
(String textLinkColour)
public
void
setTopBackgroundColour
(String topBackgroundColour)
public
void
setTopHighlightColor
(String newValue)
public
void
setTopSeparatorBackgroundColor
(String newValue)
public
void
setTopTextHighlightColor
(String newValue)
public
void
setTopTxtColour
(String topTxtColour)
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
|
Protected Methods