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
|
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.
|
Img |
getPointStyleAsImage()
Returns the style of the point as image.
If property is missing or not an image, returns null . |
double |
getRotation()
Returns the rotation in degrees.
|
boolean |
isPointStyleAsImage()
Returns
true if the point style is set by an Img . |
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, getIncrementalId, getNativeChart, getNativeEvent, getNativeObject, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, has, has, isType, keys, loadNativeObject, remove, remove, setArrayValue, setArrayValue, setArrayValue, setEmptyValue, setNewIncrementalId, setNewIncrementalId, 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, toJSON, type
public static final TooltipLabelPointStyle.TooltipLabelPointStyleFactory FACTORY
public TooltipLabelPointStyle()
public PointStyle getPointStyle()
public Img getPointStyleAsImage()
null
.null
.public boolean isPointStyleAsImage()
true
if the point style is set by an Img
.true
if the point style is set by an Img
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 setRotation(double rotation)
rotation
- the rotation of label in degreespublic double getRotation()
public NativeObject getObject()