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 ColorgetFillColor()Returns the color of the fill attribute in a Halo optionsColorgetStrokeColor()Returns the stroke color attribute in a Halo optionsNumbergetStrokeWidth()voidsetFillColor(String color)Sets the color of the fill attribute in a Halo optionsvoidsetFillColor(Color color)Sets the color of the fill attribute in a Halo optionsvoidsetFillColor(LinearGradient color)Sets the color of the fill attribute in a Halo optionsvoidsetFillColor(RadialGradient color)Sets the color of the fill attribute in a Halo optionsvoidsetStrokeColor(String color)Sets the stroke color attribute in a Halo optionsvoidsetStrokeColor(Color color)Sets the stroke color attribute in a Halo optionsvoidsetStrokeColor(LinearGradient color)Sets the stroke color attribute in a Halo optionsvoidsetStrokeColor(RadialGradient color)Sets the color of the fill attribute in a Halo optionsvoidsetStrokeWidth(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)
-
-