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.
|
BackgroundColorCallback |
getHoverBackgroundColorCallback()
Returns the hover background color callback, if set, otherwise
null . |
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.
|
BorderColorCallback |
getHoverBorderColorCallback()
Returns the hover border color callback, if set, otherwise
null . |
List<Integer> |
getHoverBorderWidth()
Returns the stroke width of the arcs when hovered.
|
BorderWidthCallback |
getHoverBorderWidthCallback()
Returns the hover border width callback, if set, otherwise
null . |
void |
setHoverBackgroundColor(BackgroundColorCallback hoverBackgroundColorCallback)
Sets the hover background color callback.
|
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(BorderColorCallback hoverBorderColorCallback)
Sets the hover border color callback.
|
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.
|
void |
setHoverBorderWidth(BorderWidthCallback hoverBorderWidthCallback)
Sets the hover border width callback.
|
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, getId, getLabel, getOptions, getType, hasOptions, isHidden, setBackgroundColor, setBorderColor, setBorderWidth, setData, setData, setHidden, setLabel, setOptions, setType
checkValue, getArrayValue, getNativeObject, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, 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
public BackgroundColorCallback getHoverBackgroundColorCallback()
null
.null
.public void setHoverBackgroundColor(BackgroundColorCallback hoverBackgroundColorCallback)
hoverBackgroundColorCallback
- the hover background color callback.public BorderColorCallback getHoverBorderColorCallback()
null
.null
.public void setHoverBorderColor(BorderColorCallback hoverBorderColorCallback)
hoverBorderColorCallback
- the hover border color callback.public BorderWidthCallback getHoverBorderWidthCallback()
null
.null
.public void setHoverBorderWidth(BorderWidthCallback hoverBorderWidthCallback)
hoverBorderWidthCallback
- the hover border width callback to setprotected 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