com.atlassian.jira.lookandfeel
Class LookAndFeelPropertiesImpl

java.lang.Object
  extended by com.atlassian.jira.lookandfeel.LookAndFeelPropertiesImpl
All Implemented Interfaces:
LookAndFeelProperties

public class LookAndFeelPropertiesImpl
extends Object
implements LookAndFeelProperties


Constructor Summary
LookAndFeelPropertiesImpl(com.atlassian.sal.api.pluginsettings.PluginSettingsFactory pluginSettingsFactory, ApplicationProperties applicationProperties, UploadService uploadService)
           
 
Method Summary
 boolean getCustomizeColors()
           
 String getDefaultCssLogoUrl()
           
 LogoChoice getFaviconChoice()
           
 LogoChoice getLogoChoice()
           
 boolean isBlackArrow()
           
 boolean isUsingCustomDefaultFavicon()
           
 boolean isUsingCustomDefaultLogo()
           
 void reset()
           
 void resetDefaultFavicon()
           
 void resetDefaultFaviconUrl()
           
 void resetDefaultLogo()
           
 void resetDefaultLogoUrl()
           
 void setBlackArrow(boolean blackArrow)
           
 void setCustomizeColors(boolean value)
           
 void setDefaultFavicon(String url, String width, String height)
           
 void setDefaultLogo(String url, String width, String height)
           
 void setFaviconChoice(LogoChoice choice)
           
 void setLogoChoice(LogoChoice choice)
           
 void uploadDefaultFavicon(BufferedImage image)
           
 void uploadDefaultLogo(BufferedImage image)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LookAndFeelPropertiesImpl

public LookAndFeelPropertiesImpl(com.atlassian.sal.api.pluginsettings.PluginSettingsFactory pluginSettingsFactory,
                                 ApplicationProperties applicationProperties,
                                 UploadService uploadService)
Method Detail

setCustomizeColors

public void setCustomizeColors(boolean value)
Specified by:
setCustomizeColors in interface LookAndFeelProperties

getCustomizeColors

public boolean getCustomizeColors()
Specified by:
getCustomizeColors in interface LookAndFeelProperties

setLogoChoice

public void setLogoChoice(LogoChoice choice)
Specified by:
setLogoChoice in interface LookAndFeelProperties

getLogoChoice

public LogoChoice getLogoChoice()
Specified by:
getLogoChoice in interface LookAndFeelProperties

setFaviconChoice

public void setFaviconChoice(LogoChoice choice)
Specified by:
setFaviconChoice in interface LookAndFeelProperties

getFaviconChoice

public LogoChoice getFaviconChoice()
Specified by:
getFaviconChoice in interface LookAndFeelProperties

reset

public void reset()
Specified by:
reset in interface LookAndFeelProperties

uploadDefaultLogo

public void uploadDefaultLogo(BufferedImage image)
Specified by:
uploadDefaultLogo in interface LookAndFeelProperties

setDefaultLogo

public void setDefaultLogo(String url,
                           String width,
                           String height)
Specified by:
setDefaultLogo in interface LookAndFeelProperties

resetDefaultLogo

public void resetDefaultLogo()
Specified by:
resetDefaultLogo in interface LookAndFeelProperties

uploadDefaultFavicon

public void uploadDefaultFavicon(BufferedImage image)
Specified by:
uploadDefaultFavicon in interface LookAndFeelProperties

setDefaultFavicon

public void setDefaultFavicon(String url,
                              String width,
                              String height)
Specified by:
setDefaultFavicon in interface LookAndFeelProperties

resetDefaultFavicon

public void resetDefaultFavicon()
Specified by:
resetDefaultFavicon in interface LookAndFeelProperties

isUsingCustomDefaultLogo

public boolean isUsingCustomDefaultLogo()
Specified by:
isUsingCustomDefaultLogo in interface LookAndFeelProperties

isUsingCustomDefaultFavicon

public boolean isUsingCustomDefaultFavicon()
Specified by:
isUsingCustomDefaultFavicon in interface LookAndFeelProperties

getDefaultCssLogoUrl

public String getDefaultCssLogoUrl()
Specified by:
getDefaultCssLogoUrl in interface LookAndFeelProperties

resetDefaultFaviconUrl

public void resetDefaultFaviconUrl()
Specified by:
resetDefaultFaviconUrl in interface LookAndFeelProperties

resetDefaultLogoUrl

public void resetDefaultLogoUrl()
Specified by:
resetDefaultLogoUrl in interface LookAndFeelProperties

setBlackArrow

public void setBlackArrow(boolean blackArrow)
Specified by:
setBlackArrow in interface LookAndFeelProperties

isBlackArrow

public boolean isBlackArrow()
Specified by:
isBlackArrow in interface LookAndFeelProperties


Copyright © 2002-2012 Atlassian. All Rights Reserved.