public final class Rectangle extends ChartContainer
BarChart
Constructor and Description |
---|
Rectangle(AbstractChart<?,?> chart)
Builds the object storing the chart instance.
|
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.
|
Position |
getBorderSkipped()
Returns the edge to skip drawing the border for.
|
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 |
setBorderSkipped(Position borderSkipped)
Sets the edge to skip drawing the border for.
|
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 Rectangle(AbstractChart<?,?> chart)
chart
- chart instanceprotected java.lang.String getDefaultBackgroundColor()
protected int getDefaultBorderWidth()
protected java.lang.String getDefaultBorderColor()
public void setBorderSkipped(Position borderSkipped)
borderSkipped
- the edge to skip drawing the border for.public Position getBorderSkipped()
public 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()
public void setBorderWidth(int borderWidth)
borderWidth
- the border width.public int getBorderWidth()
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()