public abstract class HovingDataset extends HovingFlexDataset
Dataset.Property
Modifier and Type | Method and Description |
---|---|
protected void |
applyGradient(Key key,
List<CanvasGradient> canvasGradientsList)
Stores the canvas gradients into dataset object by property name passed as key.
|
protected void |
applyPattern(Key key,
List<CanvasPattern> canvasPatternsList)
Stores the canvas patterns into dataset object by property name passed as key.
|
List<Gradient> |
getHoverBackgroundColorAsGradient()
Returns the fill gradients of the arcs in the dataset when hovered.
|
List<Pattern> |
getHoverBackgroundColorAsPatterns()
Returns the fill patterns of the arcs in the dataset when hovered.
|
List<String> |
getHoverBackgroundColorAsString()
Returns the fill color of the arcs when hovered as string.
|
List<Gradient> |
getHoverBorderColorAsGradient()
Returns the stroke gradients of the arcs in the dataset when hovered.
|
List<String> |
getHoverBorderColorAsString()
Returns the stroke color of the arcs when hovered.
|
List<Integer> |
getHoverBorderWidth()
Returns the stroke width of the arcs when hovered.
|
void |
setHoverBackgroundColor(Gradient... colors)
Sets the fill gradient of the arcs in the dataset when hovered.
|
void |
setHoverBackgroundColor(IsColor... colors)
Sets the fill color of the arcs when hovered
|
void |
setHoverBackgroundColor(Pattern... colors)
Sets the fill pattern of the arcs in the dataset when hovered.
|
void |
setHoverBackgroundColor(String... colors)
Sets the fill color of the arcs when hovered as string
|
void |
setHoverBorderColor(Gradient... colors)
Sets the stroke gradient of the arcs in the dataset when hovered as gradient.
|
void |
setHoverBorderColor(IsColor... colors)
Sets the stroke color of the arcs when hovered as string.
|
void |
setHoverBorderColor(String... colors)
Sets the stroke color of the arcs when hovered as string.
|
getBackgroundColor, getBackgroundColorAsGradient, getBackgroundColorAsPatterns, getBackgroundColorAsString, getBorderColor, getBorderColorAsGradient, getBorderColorAsString, getBorderWidth, getHoverBackgroundColor, getHoverBorderColor, setBackgroundColor, setBackgroundColor, setBackgroundColor, setBackgroundColor, setBorderColor, setBorderColor, setBorderColor, setBorderWidth, setHoverBorderWidth
getBackgroundColorCallback, getBorderColorCallback, getBorderWidthCallback, getData, getData, getDataset, getDataType, getDefaultBackgroundColorAsString, getDefaultBorderColorAsString, getDefaultBorderWidth, getDefaultValues, getHoverBackgroundColorCallback, getHoverBorderColorCallback, getHoverBorderWidthCallback, getId, getLabel, getOptions, getOptions, getType, hasOptions, invokeColorCallback, isHidden, removeOptions, setBackgroundColor, setBorderColor, setBorderWidth, setData, setData, setHidden, setHoverBackgroundColor, setHoverBorderColor, setHoverBorderWidth, setLabel, setOptions, setOptions
checkValue, empty, getArrayValue, getNativeObject, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, has, has, keys, remove, remove, removeIfExists, setArrayValue, setArrayValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, toJSON, type
public void setHoverBackgroundColor(IsColor... colors)
setHoverBackgroundColor
in class HovingFlexDataset
colors
- the fill color of the arcs when hoveredpublic void setHoverBackgroundColor(String... colors)
setHoverBackgroundColor
in class HovingFlexDataset
colors
- the fill color of the arcs when hovered as stringpublic void setHoverBackgroundColor(Pattern... colors)
setHoverBackgroundColor
in class HovingFlexDataset
colors
- the fill pattern of the arcs in the dataset when hovered.public void setHoverBackgroundColor(Gradient... colors)
setHoverBackgroundColor
in class HovingFlexDataset
colors
- the fill gradient of the arcs in the dataset when hovered.public List<String> getHoverBackgroundColorAsString()
getHoverBackgroundColorAsString
in class HovingFlexDataset
public List<Pattern> getHoverBackgroundColorAsPatterns()
getHoverBackgroundColorAsPatterns
in class HovingFlexDataset
public List<Gradient> getHoverBackgroundColorAsGradient()
getHoverBackgroundColorAsGradient
in class HovingFlexDataset
public void setHoverBorderColor(IsColor... colors)
setHoverBorderColor
in class HovingFlexDataset
colors
- the stroke color of the arcs when hovered as string.public void setHoverBorderColor(String... colors)
setHoverBorderColor
in class HovingFlexDataset
colors
- the stroke color of the arcs when hovered as string.public void setHoverBorderColor(Gradient... colors)
setHoverBorderColor
in class HovingFlexDataset
colors
- the stroke gradient of the arcs in the dataset when hovered as gradient.public List<String> getHoverBorderColorAsString()
getHoverBorderColorAsString
in class HovingFlexDataset
public List<Gradient> getHoverBorderColorAsGradient()
getHoverBorderColorAsGradient
in class HovingFlexDataset
public List<Integer> getHoverBorderWidth()
getHoverBorderWidth
in class HovingFlexDataset
protected final void applyPattern(Key key, List<CanvasPattern> canvasPatternsList)
Dataset
applyPattern
in class HovingFlexDataset
key
- key property name to use to store canvas patterns into dataset object.canvasPatternsList
- list of canvas patternsprotected final void applyGradient(Key key, List<CanvasGradient> canvasGradientsList)
Dataset
applyGradient
in class HovingFlexDataset
key
- key property name to use to store canvas gradients into dataset object.canvasGradientsList
- list of canvas gradients