Class DefaultDashboardTheme

java.lang.Object
io.revealbi.core.DefaultDashboardTheme
All Implemented Interfaces:
IDashboardTheme

public class DefaultDashboardTheme extends Object implements IDashboardTheme
Represents the default dashboard theme colors used for exports.
  • Constructor Details

    • DefaultDashboardTheme

      public DefaultDashboardTheme()
      Initializes a new instance of the default dashboard theme.
    • DefaultDashboardTheme

      public DefaultDashboardTheme(IDashboardTheme theme)
      Initializes a new instance of the default dashboard theme from an existing theme.
      Parameters:
      theme - The theme to copy values from.
  • Method Details

    • getBrandingColor

      public int getBrandingColor()
      Description copied from interface: IDashboardTheme
      Returns the branding color used for theming exported dashboards.
      Specified by:
      getBrandingColor in interface IDashboardTheme
      Returns:
      The branding color as an ARGB integer.
    • setBrandingColor

      public void setBrandingColor(int brandingColor)
      Sets the branding color.
      Parameters:
      brandingColor - The branding color to set.
    • getBrandGreenColor

      public int getBrandGreenColor()
      Description copied from interface: IDashboardTheme
      Returns the brand green color.
      Specified by:
      getBrandGreenColor in interface IDashboardTheme
      Returns:
      The brand green color.
    • setBrandGreenColor

      public void setBrandGreenColor(int brandGreenColor)
      Sets the brand green color.
      Parameters:
      brandGreenColor - The brand green color to set.
    • getBrandRedColor

      public int getBrandRedColor()
      Description copied from interface: IDashboardTheme
      Returns the brand red color.
      Specified by:
      getBrandRedColor in interface IDashboardTheme
      Returns:
      The brand red color.
    • setBrandRedColor

      public void setBrandRedColor(int brandRedColor)
      Sets the brand red color.
      Parameters:
      brandRedColor - The brand red color to set.
    • getNeutralColor

      public int getNeutralColor()
      Description copied from interface: IDashboardTheme
      Returns the neutral color.
      Specified by:
      getNeutralColor in interface IDashboardTheme
      Returns:
      The neutral color.
    • setNeutralColor

      public void setNeutralColor(int neutralColor)
      Sets the neutral color.
      Parameters:
      neutralColor - The neutral color to set.
    • getSeriesColor

      public int[] getSeriesColor()
      Description copied from interface: IDashboardTheme
      Returns the series colors.
      Specified by:
      getSeriesColor in interface IDashboardTheme
      Returns:
      The series colors.
    • setSeriesColor

      public void setSeriesColor(int[] seriesColor)
      Sets the series colors.
      Parameters:
      seriesColor - The series colors to set.