public class Theme extends AbstractConfigurationObject
VaadinTheme
,
Serialized FormConstructor and Description |
---|
Theme() |
Modifier and Type | Method and Description |
---|---|
ChartStyle |
getChart()
Get chart style
|
Color[] |
getColors()
Get colors of items
|
Credits |
getCredits()
Get credits style
|
Style |
getLabels()
Get style of labels
|
LegendStyle |
getLegend()
Get style of legend
|
PlotOptionsStyle |
getPlotOptions()
Get style of plots
|
Style |
getSubtitle()
Get style of Chart subtitle
|
Style |
getTitle()
Get style of Chart title
|
TooltipStyle |
getTooltip()
Get style of tooltips
|
AxisStyle |
getxAxis()
Get style of X axes
|
AxisStyle |
getyAxis()
Get style of Y axes
|
void |
setChart(ChartStyle style)
Set new chart style
|
void |
setColors(Color... colors)
Set colors of items (bars, pie sectors ...) in chart
|
void |
setCredits(Credits credits)
Set new style for credits
|
void |
setLabels(Style style)
Set new style of labels
|
void |
setLegend(LegendStyle style)
Set new style legend
|
void |
setPlotOptions(PlotOptionsStyle plotOptions)
Set new style of plot
|
void |
setSubtitle(Style style)
Set style of Chart subtitle
|
void |
setTitle(Style style)
Set style of Chart title
|
void |
setTooltip(TooltipStyle tooltip)
Set new style of tooltips
|
void |
setxAxis(AxisStyle style)
Set new style of X axes
|
void |
setyAxis(AxisStyle style)
Set new style of Y axes
|
public void setColors(Color... colors)
colors
- Colors of itemspublic Color[] getColors()
public ChartStyle getChart()
public void setChart(ChartStyle style)
style
- Chart stylepublic Style getTitle()
public void setTitle(Style style)
style
- New style of titlepublic Style getSubtitle()
public void setSubtitle(Style style)
style
- New style of subtitlepublic Style getLabels()
public void setLabels(Style style)
style
- Labels stylepublic LegendStyle getLegend()
public void setLegend(LegendStyle style)
style
- Legend stylepublic AxisStyle getxAxis()
public void setxAxis(AxisStyle style)
style
- X axis stylepublic AxisStyle getyAxis()
public void setyAxis(AxisStyle style)
style
- Y axis stylepublic TooltipStyle getTooltip()
public void setTooltip(TooltipStyle tooltip)
tooltip
- Tooltip stylepublic PlotOptionsStyle getPlotOptions()
public void setPlotOptions(PlotOptionsStyle plotOptions)
plotOptions
- Plot stylespublic Credits getCredits()
public void setCredits(Credits credits)
credits
- Credits styleCopyright © 2022. All rights reserved.