Package org.zkoss.chart
Class BubbleLegend.Range
- java.lang.Object
-
- org.zkoss.chart.Optionable
-
- org.zkoss.chart.BubbleLegend.Range
-
- All Implemented Interfaces:
Serializable
,OptionDataListener
,org.zkoss.json.JSONAware
- Enclosing class:
- BubbleLegend
public static class BubbleLegend.Range extends Optionable
Options for specific range. One range consists of bubble, label and connector.- Since:
- 7.2.1.0
- Author:
- rudyhuang
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.zkoss.chart.Optionable
NOT_NULL_VALUE, options
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Color
getBorderColor()
Returns the color of the border for individual range.Color
getColor()
Returns the color of the bubble for individual range.Color
getConnectorColor()
Returns the color of the connector for individual range.Number
getValue()
Returns the range size value, similar to bubble Z data.void
setBorderColor(String color)
Sets the color of the border for individual range.void
setBorderColor(Color color)
Sets the color of the border for individual range.void
setBorderColor(LinearGradient color)
Sets the color of the border for individual range.void
setBorderColor(RadialGradient color)
Sets the color of the border for individual range.void
setColor(String color)
Sets the color of the bubble for individual range.void
setColor(Color color)
Sets the color of the bubble for individual range.void
setColor(LinearGradient color)
Sets the color of the bubble for individual range.void
setColor(RadialGradient color)
Sets the color of the bubble for individual range.void
setConnectorColor(String connectorColor)
Sets the color of the connector for individual range.void
setConnectorColor(Color connectorColor)
Sets the color of the connector for individual range.void
setConnectorColor(LinearGradient connectorColor)
Sets the color of the connector for individual range.void
setConnectorColor(RadialGradient connectorColor)
Sets the color of the connector for individual range.void
setValue(Number value)
Sets the range size value, similar to bubble Z data.-
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
-
-
-
-
Constructor Detail
-
Range
public Range()
Default constructor.
-
Range
public Range(Number value)
Constructs with value.
-
-
Method Detail
-
getBorderColor
public Color getBorderColor()
Returns the color of the border for individual range.Default: null
-
setBorderColor
public void setBorderColor(Color color)
Sets the color of the border for individual range.
-
setBorderColor
public void setBorderColor(String color)
Sets the color of the border for individual range.
-
setBorderColor
public void setBorderColor(LinearGradient color)
Sets the color of the border for individual range.
-
setBorderColor
public void setBorderColor(RadialGradient color)
Sets the color of the border for individual range.
-
getColor
public Color getColor()
Returns the color of the bubble for individual range.Default: null
-
setColor
public void setColor(Color color)
Sets the color of the bubble for individual range.
-
setColor
public void setColor(String color)
Sets the color of the bubble for individual range.
-
setColor
public void setColor(LinearGradient color)
Sets the color of the bubble for individual range.
-
setColor
public void setColor(RadialGradient color)
Sets the color of the bubble for individual range.
-
getConnectorColor
public Color getConnectorColor()
Returns the color of the connector for individual range.Default: null
-
setConnectorColor
public void setConnectorColor(Color connectorColor)
Sets the color of the connector for individual range.
-
setConnectorColor
public void setConnectorColor(String connectorColor)
Sets the color of the connector for individual range.
-
setConnectorColor
public void setConnectorColor(LinearGradient connectorColor)
Sets the color of the connector for individual range.
-
setConnectorColor
public void setConnectorColor(RadialGradient connectorColor)
Sets the color of the connector for individual range.
-
getValue
public Number getValue()
Returns the range size value, similar to bubble Z data.Default: null
-
setValue
public void setValue(Number value)
Sets the range size value, similar to bubble Z data.
-
-