public class Background extends AbstractConfigurationObject
These configuration options apply only to polar and angular gauges trough the Pane-configuration object.
Constructor and Description |
---|
Background() |
Modifier and Type | Method and Description |
---|---|
Color |
getBackgroundColor() |
Color |
getBorderColor() |
Number |
getBorderWidth() |
String |
getClassName()
Returns the class name of the background
|
String |
getInnerRadius() |
String |
getOuterRadius() |
BackgroundShape |
getShape()
Returns current shape of the background.
|
void |
setBackgroundColor(Color backgroundColor)
Sets the background color
|
void |
setBorderColor(Color borderColor)
Sets the border color
|
void |
setBorderWidth(Number borderWidth)
Sets the width of the border
|
void |
setClassName(String className)
The class name for this background.
|
void |
setInnerRadius(String innerRadius)
Sets the inner radius of the circular shaped background using a string
representation of a percentage, e.g.
|
void |
setOuterRadius(String outerRadius)
Sets the outer radius of the circular shaped background using a string
representation of a percentage, e.g.
|
void |
setShape(BackgroundShape shape)
Sets the current shape of the background.
|
public Color getBackgroundColor()
setBackgroundColor(Color)
public void setBackgroundColor(Color backgroundColor)
backgroundColor
- public Color getBorderColor()
setBorderColor(Color)
public void setBorderColor(Color borderColor)
borderColor
- public Number getBorderWidth()
setBorderWidth(Number)
public void setBorderWidth(Number borderWidth)
borderWidth
- public String getClassName()
setClassName(String)
public void setClassName(String className)
className
- new class name of the backgroundpublic void setOuterRadius(String outerRadius)
ChartType.GAUGE
type charts.outerRadius
- public String getOuterRadius()
setOuterRadius(String)
public void setInnerRadius(String innerRadius)
ChartType.GAUGE
type charts.innerRadius
- public String getInnerRadius()
setInnerRadius(String)
public BackgroundShape getShape()
public void setShape(BackgroundShape shape)
shape
- New shape.Copyright © 2020. All rights reserved.