Package com.atlassian.jira.lookandfeel
Interface LookAndFeelProperties
- All Known Implementing Classes:
LookAndFeelPropertiesImpl
public interface LookAndFeelProperties
- Since:
- v4.4
-
Method Summary
Modifier and TypeMethodDescriptionbooleanURL to the default logo for display in the Linvalid input: '&F' configuration section.Get the default favicon URL of this JIRA instance.Get the default favicon URL of this JIRA instance.Get the default logo URL of this JIRA instance.intbooleanWhether the site title should be shown next to the logo.booleanbooleanbooleanvoidreset()Reset all Linvalid input: '&F' properties to defaults.default voidResets the logo set for the dark theme to the original one shipped with Jira.voidReset the default favicon to the original logo shipped with JIRA.voidDeprecated.not for external usage, subject to removingvoidReset the default logo to the original logo shipped with Jira.voidDeprecated.not for external usage, subject to removingvoidsetApplicationTitleShownOnLogoTo(boolean shouldShow) Configures whether JIRA shows the application title next to the logo.voidsetBlackArrow(boolean blackArrow) voidsetCustomizeColors(boolean value) voidsetDefaultFavicon(String url, String width, String height) Set 'custom' default favicon for this JIRA instance.voidsetDefaultFavicon(String url, String hiresUrl, String width, String height) Set 'custom' default favicon for this JIRA instance.voidsetDefaultLogo(String url, String width, String height) Set 'custom' default logo for this JIRA instance.voidsetFaviconChoice(LogoChoice choice) voidsetLogoChoice(LogoChoice choice) voidDeprecated.usesetDefaultFavicon(String, String, String)insteadvoiduploadDefaultLogo(BufferedImage image) Deprecated.usesetDefaultFavicon(String, String, String)instead
-
Method Details
-
setCustomizeColors
void setCustomizeColors(boolean value) -
getCustomizeColors
boolean getCustomizeColors() -
setLogoChoice
-
getLogoChoice
LogoChoice getLogoChoice() -
setFaviconChoice
-
getFaviconChoice
LogoChoice getFaviconChoice() -
uploadDefaultLogo
Deprecated.usesetDefaultFavicon(String, String, String)insteadAs of future versions, JIRA will no longer support dynamic adding of default favicons and logos. Plugins that wish to modify default logo should add the logo as a web resource and use #setDefaultLogo(String, String, String)instead. Note that JIRA already provides ability to upload custom logos and favicons in its Administration section.- Parameters:
image- image to upload
-
setDefaultLogo
Set 'custom' default logo for this JIRA instance. It will be used as the 'Default' option for logo in the Look invalid input: '&' Feel JIRA settings.- Parameters:
url- URL of the logowidth- width of the logoheight- height of the logo
-
resetDefaultLogo
void resetDefaultLogo()Reset the default logo to the original logo shipped with Jira. -
resetDarkThemeLogo
default void resetDarkThemeLogo()Resets the logo set for the dark theme to the original one shipped with Jira. -
uploadDefaultFavicon
Deprecated.usesetDefaultFavicon(String, String, String)insteadAs of future versions, JIRA will no longer support dynamic adding of default favicons and logos. Plugins that wish to modify default favicon should add the favicon as a web resource and use #setDefaultFavicon(String, String, String)instead. Note that JIRA already provides ability to upload custom logos and favicons in its Administration section.- Parameters:
image- image to upload
-
setDefaultFavicon
Set 'custom' default favicon for this JIRA instance. It will be used as the 'Default' option for the favicon in the Look invalid input: '&' Feel JIRA settings.- Parameters:
url- URL of the faviconwidth- width of the faviconheight- height of the favicon
-
setDefaultFavicon
Set 'custom' default favicon for this JIRA instance. It will be used as the 'Default' option for the favicon in the Look invalid input: '&' Feel JIRA settings.- Parameters:
url- URL of the faviconhiresUrl- URL of the favicon in high resolution for display in Linvalid input: '&F' adminwidth- width of the faviconheight- height of the favicon
-
resetDefaultFavicon
void resetDefaultFavicon()Reset the default favicon to the original logo shipped with JIRA. -
reset
void reset()Reset all Linvalid input: '&F' properties to defaults. -
isBlackArrow
boolean isBlackArrow() -
setBlackArrow
void setBlackArrow(boolean blackArrow) -
isUsingCustomDefaultLogo
boolean isUsingCustomDefaultLogo() -
isUsingCustomDefaultFavicon
boolean isUsingCustomDefaultFavicon() -
getDefaultCssLogoUrl
String getDefaultCssLogoUrl()URL to the default logo for display in the Linvalid input: '&F' configuration section.- Returns:
- current default logo URL
-
getDefaultLogoUrl
String getDefaultLogoUrl()Get the default logo URL of this JIRA instance. This is not necessarily the logo currently served.- Returns:
- default logo URL
-
getDefaultFaviconUrl
String getDefaultFaviconUrl()Get the default favicon URL of this JIRA instance. This is not necessarily the favicon currently served.- Returns:
- default favicon URL
-
getDefaultFaviconHiresUrl
String getDefaultFaviconHiresUrl()Get the default favicon URL of this JIRA instance. This is not necessarily the favicon currently served. This is URL to the favicon in high resolution, for display in Linvalid input: '&F' administration.- Returns:
- default favicon URL
-
resetDefaultFaviconUrl
Deprecated.not for external usage, subject to removingInternal method, don't use -
resetDefaultLogoUrl
Deprecated.not for external usage, subject to removingInternal method, don't use -
isApplicationTitleShownOnLogo
boolean isApplicationTitleShownOnLogo()Whether the site title should be shown next to the logo.- Returns:
- true if the site title should be shown next the logo; otherwise, false.
-
setApplicationTitleShownOnLogoTo
void setApplicationTitleShownOnLogoTo(boolean shouldShow) Configures whether JIRA shows the application title next to the logo.- Parameters:
shouldShow- true if JIRA should show the application title next to the logo.
-
getMaxLogoHeight
int getMaxLogoHeight()
-