public interface IChartTheme
extends java.lang.Cloneable
Modifier and Type | Interface and Description |
---|---|
static class |
IChartTheme.ColoredElement
Theme color settings
|
static class |
IChartTheme.Predefined
Predefined chart theme enumeration, use it in
IClientChartPresentationManager.getPredefinedTheme |
static class |
IChartTheme.StrokeElement
Theme stroke settings
|
static class |
IChartTheme.TextElement
Theme text settings
|
Modifier and Type | Method and Description |
---|---|
IChartTheme |
clone()
Clones a chart theme
|
java.awt.Color |
getColor(IChartTheme.ColoredElement coloredElement)
Returns the color of a colored chart element
|
java.awt.Font |
getFont(IChartTheme.TextElement textElement)
Returns the font of a text chart element
|
java.lang.String |
getName()
Returns theme name
|
java.awt.BasicStroke |
getStroke(IChartTheme.StrokeElement strokeElement)
Returns the stroke of a stroke chart element
|
IChartTheme |
setColor(IChartTheme.ColoredElement coloredElement,
java.awt.Color color)
Sets the color of a colored chart element
|
IChartTheme |
setFont(IChartTheme.TextElement textElement,
java.awt.Font font)
Sets the font of a text chart element
|
IChartTheme |
setName(java.lang.String name)
Sets theme name
|
IChartTheme |
setStroke(IChartTheme.StrokeElement strokeElement,
java.awt.BasicStroke stroke)
Sets the stroke of a stroke chart element
|
IChartTheme setName(java.lang.String name)
name
- theme namejava.lang.String getName()
IChartTheme setColor(IChartTheme.ColoredElement coloredElement, java.awt.Color color)
coloredElement
- chart element whose color needs to be changedcolor
- new colorjava.awt.Color getColor(IChartTheme.ColoredElement coloredElement)
coloredElement
- chart element whose color needs to be returnedIChartTheme setFont(IChartTheme.TextElement textElement, java.awt.Font font)
textElement
- chart element whose font needs to be changedfont
- new fontjava.awt.Font getFont(IChartTheme.TextElement textElement)
textElement
- chart element whose font needs to be returnedIChartTheme setStroke(IChartTheme.StrokeElement strokeElement, java.awt.BasicStroke stroke)
strokeElement
- chart element whose stroke needs to be changedstroke
- new strokejava.awt.BasicStroke getStroke(IChartTheme.StrokeElement strokeElement)
strokeElement
- chart element whose stroke needs to be returnedIChartTheme clone()
Copyright © 2024. All rights reserved.