public final class TooltipLabelPointStyle extends NativeObjectContainer
Modifier and Type | Class and Description |
---|---|
static class |
TooltipLabelPointStyle.TooltipLabelPointStyleFactory
Inner class to create tooltip label point style by a native object.
|
Modifier and Type | Field and Description |
---|---|
static TooltipLabelPointStyle.TooltipLabelPointStyleFactory |
FACTORY
Tooltip point style factory to create label point style objects.
|
Constructor and Description |
---|
TooltipLabelPointStyle()
Creates the object with an empty native object
|
TooltipLabelPointStyle(Canvas poitnStyle)
Creates the object setting the point style argument
|
TooltipLabelPointStyle(Img poitnStyle)
Creates the object setting the point style argument
|
TooltipLabelPointStyle(PointStyle poitnStyle)
Creates the object setting the point style argument
|
Modifier and Type | Method and Description |
---|---|
NativeObject |
getObject()
Wraps the protected method to get the java script object in order to consume it.
|
PointStyle |
getPointStyle()
Returns the style of the point.
|
Canvas |
getPointStyleAsCanvas()
Returns the style of the point as canvas.
If property is missing or not an canvas, returns null . |
Img |
getPointStyleAsImage()
Returns the style of the point as image.
If property is missing or not an image, returns null . |
PointStyleType |
getPointStyleType()
Returns the type of point style.
|
double |
getRotation()
Returns the rotation in degrees.
|
void |
setPointStyle(Canvas pointStyle)
Sets the style of the point as canvas.
|
void |
setPointStyle(Img pointStyle)
Sets the style of the point as image.
|
void |
setPointStyle(PointStyle pointStyle)
Sets the style of the point.
|
void |
setRotation(double rotation)
Sets the rotation of label in degrees.
|
checkDefaultValuesArgument, empty, getArrayValue, getElement, getIncrementalId, getNativeChart, getNativeEvent, getNativeObject, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, has, has, isType, keys, loadNativeObject, remove, remove, setArrayValue, setArrayValue, setArrayValue, setElement, setEmptyValue, setNewIncrementalId, setNewIncrementalId, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, toJSON, type
public static final TooltipLabelPointStyle.TooltipLabelPointStyleFactory FACTORY
public TooltipLabelPointStyle()
public TooltipLabelPointStyle(PointStyle poitnStyle)
poitnStyle
- initial point style valuepublic TooltipLabelPointStyle(Img poitnStyle)
poitnStyle
- initial point style valuepublic TooltipLabelPointStyle(Canvas poitnStyle)
poitnStyle
- initial point style valuepublic PointStyle getPointStyle()
public Img getPointStyleAsImage()
null
.null
.public Canvas getPointStyleAsCanvas()
null
.null
.public PointStyleType getPointStyleType()
public void setPointStyle(PointStyle pointStyle)
pointStyle
- style of the point.public void setPointStyle(Img pointStyle)
pointStyle
- image element of the style of the point as image.public void setPointStyle(Canvas pointStyle)
pointStyle
- canvas element of the style of the point as canvas.public void setRotation(double rotation)
rotation
- the rotation of label in degreespublic double getRotation()
public NativeObject getObject()