com.atlassian.jira.config.properties
Class LookAndFeelBean

java.lang.Object
  extended by 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).


Nested Class Summary
static class LookAndFeelBean.DefaultColours
          These are the "intended" colours for the JIRA Header.
 
Field Summary
static String DARK_MENUINDICATORIMAGE
           
static String LIGHT_MENUINDICATORIMAGE
           
 
Method Summary
static LookAndFeelBean getInstance(ApplicationProperties ap)
           
 String getLogoHeight()
           
 String getLogoUrl()
          ======== LOGO ==================
 String getLogoWidth()
           
 String getMenuBackgroundColour()
           
 String getMenuDropDownBorderColor()
          ======== MISC ==================
 String getMenuHighlightColour()
           
 String getMenuTextHighlightColour()
           
 String getMenuTxtColour()
          ======== MENU NAVIGATION ==================
 String getTextActiveLinkColour()
           
 String getTextHeadingColour()
          ======== JIRA TEXT AND LINKS ==================
 String getTextLinkColour()
           
 String getTopBackgroundColour()
          ======== TOP ==================
 String getTopHighlightColor()
           
 String getTopMenuIndicatorImage()
           
 String getTopSeparatorBackgroundColor()
           
 String getTopTextHighlightColor()
           
 String getTopTxtColour()
           
 long getVersion()
           
 void setLogoHeight(String logoHeight)
           
 void setLogoUrl(String logoUrl)
           
 void setLogoWidth(String logoWidth)
           
 void setMenuBackgroundColour(String menuBackgroundColour)
           
 void setMenuDropDownBorderColor(String newValue)
           
 void setMenuHighlightColour(String newValue)
           
 void setMenuTextHighlightColour(String menuTextHighlightColour)
           
 void setMenuTxtColour(String menuTxtColour)
           
 void setTextActiveLinkColour(String textActiveLinkColour)
           
 void setTextHeadingColour(String textHeadingColour)
           
 void setTextLinkColour(String textLinkColour)
           
 void setTopBackgroundColour(String topBackgroundColour)
           
 void setTopHighlightColor(String newValue)
           
 void setTopMenuIndicatorImage(String newValue)
           
 void setTopSeparatorBackgroundColor(String newValue)
           
 void setTopTextHighlightColor(String newValue)
           
 void setTopTxtColour(String topTxtColour)
           
 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).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DARK_MENUINDICATORIMAGE

public static final String DARK_MENUINDICATORIMAGE
See Also:
Constant Field Values

LIGHT_MENUINDICATORIMAGE

public static final String LIGHT_MENUINDICATORIMAGE
See Also:
Constant Field Values
Method Detail

getInstance

public static LookAndFeelBean getInstance(ApplicationProperties ap)

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 -

getVersion

public long getVersion()

getLogoUrl

public String getLogoUrl()
======== LOGO ==================


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()
======== TOP ==================


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)

getTopMenuIndicatorImage

public String getTopMenuIndicatorImage()

setTopMenuIndicatorImage

public void setTopMenuIndicatorImage(String newValue)

getMenuTxtColour

public String getMenuTxtColour()
======== MENU NAVIGATION ==================


setMenuTxtColour

public void setMenuTxtColour(String menuTxtColour)

getMenuBackgroundColour

public String getMenuBackgroundColour()

setMenuBackgroundColour

public void setMenuBackgroundColour(String menuBackgroundColour)

getMenuHighlightColour

public String getMenuHighlightColour()

setMenuHighlightColour

public void setMenuHighlightColour(String newValue)

getMenuTextHighlightColour

public String getMenuTextHighlightColour()

setMenuTextHighlightColour

public void setMenuTextHighlightColour(String menuTextHighlightColour)

getTextHeadingColour

public String getTextHeadingColour()
======== JIRA TEXT AND LINKS ==================


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)

getMenuDropDownBorderColor

public String getMenuDropDownBorderColor()
======== MISC ==================


setMenuDropDownBorderColor

public void setMenuDropDownBorderColor(String newValue)


Copyright © 2002-2009 Atlassian. All Rights Reserved.