Interface LookAndFeelProperties

All Known Implementing Classes:
LookAndFeelPropertiesImpl

public interface LookAndFeelProperties
Since:
v4.4
  • Method Details

    • setCustomizeColors

      void setCustomizeColors(boolean value)
    • getCustomizeColors

      boolean getCustomizeColors()
    • setLogoChoice

      void setLogoChoice(LogoChoice choice)
    • getLogoChoice

      LogoChoice getLogoChoice()
    • setFaviconChoice

      void setFaviconChoice(LogoChoice choice)
    • getFaviconChoice

      LogoChoice getFaviconChoice()
    • uploadDefaultLogo

      void uploadDefaultLogo(BufferedImage image)
      As 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

      void setDefaultLogo(String url, String width, String height)
      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 logo
      width - width of the logo
      height - 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 void uploadDefaultFavicon(BufferedImage image)
      As 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

      void setDefaultFavicon(String url, String width, String height)
      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 favicon
      width - width of the favicon
      height - height of the favicon
    • setDefaultFavicon

      void setDefaultFavicon(String url, String hiresUrl, String width, String height)
      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 favicon
      hiresUrl - URL of the favicon in high resolution for display in Linvalid input: '&F' admin
      width - width of the favicon
      height - 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 void resetDefaultFaviconUrl()
      Deprecated.
      not for external usage, subject to removing
      Internal method, don't use
    • resetDefaultLogoUrl

      @Deprecated void resetDefaultLogoUrl()
      Deprecated.
      not for external usage, subject to removing
      Internal 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()