Package io.revealbi.core
Class DefaultDashboardTheme
java.lang.Object
io.revealbi.core.DefaultDashboardTheme
- All Implemented Interfaces:
IDashboardTheme
Represents the default dashboard theme colors used for exports.
-
Constructor Summary
ConstructorsConstructorDescriptionInitializes a new instance of the default dashboard theme.Initializes a new instance of the default dashboard theme from an existing theme. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the brand green color.intReturns the branding color used for theming exported dashboards.intReturns the brand red color.intReturns the neutral color.int[]Returns the series colors.voidsetBrandGreenColor(int brandGreenColor) Sets the brand green color.voidsetBrandingColor(int brandingColor) Sets the branding color.voidsetBrandRedColor(int brandRedColor) Sets the brand red color.voidsetNeutralColor(int neutralColor) Sets the neutral color.voidsetSeriesColor(int[] seriesColor) Sets the series colors.
-
Constructor Details
-
DefaultDashboardTheme
public DefaultDashboardTheme()Initializes a new instance of the default dashboard theme. -
DefaultDashboardTheme
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:IDashboardThemeReturns the branding color used for theming exported dashboards.- Specified by:
getBrandingColorin interfaceIDashboardTheme- 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:IDashboardThemeReturns the brand green color.- Specified by:
getBrandGreenColorin interfaceIDashboardTheme- 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:IDashboardThemeReturns the brand red color.- Specified by:
getBrandRedColorin interfaceIDashboardTheme- 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:IDashboardThemeReturns the neutral color.- Specified by:
getNeutralColorin interfaceIDashboardTheme- 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:IDashboardThemeReturns the series colors.- Specified by:
getSeriesColorin interfaceIDashboardTheme- Returns:
- The series colors.
-
setSeriesColor
public void setSeriesColor(int[] seriesColor) Sets the series colors.- Parameters:
seriesColor- The series colors to set.
-