public final class Arc extends ChartContainer
PolarAreaChart
,
DoughnutChart
,
PieChart
Constructor and Description |
---|
Arc(AbstractChart<?,?> chart)
Builds the object setting the java script padding object.
|
Modifier and Type | Method and Description |
---|---|
IsColor |
getBackgroundColor()
Returns the background color.
|
java.lang.String |
getBackgroundColorAsString()
Returns the background color.
|
IsColor |
getBorderColor()
Returns the border color.
|
java.lang.String |
getBorderColorAsString()
Returns the border color.
|
int |
getBorderWidth()
Returns the border width.
|
protected java.lang.String |
getDefaultBackgroundColor()
Returns the default background color.
|
protected java.lang.String |
getDefaultBorderColor()
Returns the default border color.
|
protected int |
getDefaultBorderWidth()
Returns the default border width.
|
void |
setBackgroundColor(IsColor backgroundColor)
Sets the background color.
|
void |
setBackgroundColor(java.lang.String backgroundColor)
Sets the background color.
|
void |
setBorderColor(IsColor borderColor)
Sets the border color.
|
void |
setBorderColor(java.lang.String borderColor)
Sets the border color.
|
void |
setBorderWidth(int borderWidth)
Sets the border width.
|
getChart
checkAndGetDoubleValues, checkAndGetEnumValues, checkAndGetIntegerValues, checkAndGetStringValues, checkAndSetDoubleValues, checkAndSetEnumValues, checkAndSetIntegerValues, checkAndSetStringValues, getDoubleArray, getIntegerArray, getJavaScriptObject, getObjectArray, getStringArray, getValue, getValue, getValue, getValue, getValue, getValue, getValue, has, has, hasToBeRegistered, isEmpty, keys, remove, remove, removeIfExists, setDoubleArray, setEnumValueArray, setIntegerArray, setObjectArray, setStringArray, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, toString, type
public Arc(AbstractChart<?,?> chart)
chart
- chart instancepublic void setBackgroundColor(IsColor backgroundColor)
backgroundColor
- the background color.public void setBackgroundColor(java.lang.String backgroundColor)
backgroundColor
- the background color.public java.lang.String getBackgroundColorAsString()
public IsColor getBackgroundColor()
protected java.lang.String getDefaultBackgroundColor()
public void setBorderWidth(int borderWidth)
borderWidth
- the border width.public int getBorderWidth()
protected int getDefaultBorderWidth()
public void setBorderColor(IsColor borderColor)
borderColor
- the border color.public void setBorderColor(java.lang.String borderColor)
borderColor
- the border color.public java.lang.String getBorderColorAsString()
public IsColor getBorderColor()
protected java.lang.String getDefaultBorderColor()