Package org.zkoss.chart
Class HaloAttributes
- java.lang.Object
-
- org.zkoss.chart.Optionable
-
- org.zkoss.chart.HaloAttributes
-
- All Implemented Interfaces:
Serializable
,OptionDataListener
,org.zkoss.json.JSONAware
public class HaloAttributes extends Optionable
A Halo attributes optionsAll the options in this class support
DynamicalAttribute
.- Author:
- hanhsu
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.zkoss.chart.Optionable
NOT_NULL_VALUE, options
-
-
Constructor Summary
Constructors Constructor Description HaloAttributes()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Color
getFillColor()
Returns the color of the fill attribute in a Halo optionsColor
getStrokeColor()
Returns the stroke color attribute in a Halo optionsNumber
getStrokeWidth()
void
setFillColor(String color)
Sets the color of the fill attribute in a Halo optionsvoid
setFillColor(Color color)
Sets the color of the fill attribute in a Halo optionsvoid
setFillColor(LinearGradient color)
Sets the color of the fill attribute in a Halo optionsvoid
setFillColor(RadialGradient color)
Sets the color of the fill attribute in a Halo optionsvoid
setStrokeColor(String color)
Sets the stroke color attribute in a Halo optionsvoid
setStrokeColor(Color color)
Sets the stroke color attribute in a Halo optionsvoid
setStrokeColor(LinearGradient color)
Sets the stroke color attribute in a Halo optionsvoid
setStrokeColor(RadialGradient color)
Sets the color of the fill attribute in a Halo optionsvoid
setStrokeWidth(Number strokeWidth)
-
Methods inherited from class org.zkoss.chart.Optionable
addExtraAttr, addOptionDataListener, clearOptonDataListener, clone, containsKey, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, getAttr, getAttr, getClientState, getExtraAttr, merge, onChange, removeExtraAttr, removeKey, removeOptionDataListener, setAttr, setAttr, setAttr, setAttr, toJSONString, toString
-
-
-
-
Method Detail
-
getFillColor
public Color getFillColor()
Returns the color of the fill attribute in a Halo optionsDefault: #C0C0C0.
-
setFillColor
public void setFillColor(Color color)
Sets the color of the fill attribute in a Halo options
-
setFillColor
public void setFillColor(String color)
Sets the color of the fill attribute in a Halo options
-
setFillColor
public void setFillColor(LinearGradient color)
Sets the color of the fill attribute in a Halo options
-
setFillColor
public void setFillColor(RadialGradient color)
Sets the color of the fill attribute in a Halo options
-
getStrokeColor
public Color getStrokeColor()
Returns the stroke color attribute in a Halo optionsDefault: #C0C0C0.
-
setStrokeColor
public void setStrokeColor(Color color)
Sets the stroke color attribute in a Halo options
-
setStrokeColor
public void setStrokeColor(String color)
Sets the stroke color attribute in a Halo options
-
setStrokeColor
public void setStrokeColor(LinearGradient color)
Sets the stroke color attribute in a Halo options
-
setStrokeColor
public void setStrokeColor(RadialGradient color)
Sets the color of the fill attribute in a Halo options
-
getStrokeWidth
public Number getStrokeWidth()
-
setStrokeWidth
public void setStrokeWidth(Number strokeWidth)
-
-