Class PointAnnotation
- java.lang.Object
- 
- org.pepstock.charba.client.commons.NativeObjectContainer
- 
- org.pepstock.charba.client.commons.AbstractNode
- 
- org.pepstock.charba.client.annotation.AbstractAnnotation
- 
- org.pepstock.charba.client.annotation.PointAnnotation
 
 
 
 
- 
- All Implemented Interfaces:
- IsDefaultPointStyleHandler,- HasPointStyle
 
 public final class PointAnnotation extends AbstractAnnotation implements HasPointStyle Implements a POINT annotation which draws a point in the a chart.- Author:
- Andrea "Stock" Stocchero
 
- 
- 
Field SummaryFields Modifier and Type Field Description static intDEFAULT_BORDER_WIDTHDefault point annotation border width, 1.static doubleDEFAULT_RADIUSDefault point annotation radius, 10.0.static doubleDEFAULT_X_ADJUSTDefault annotation X adjust, 0.0.static doubleDEFAULT_Y_ADJUSTDefault annotation Y adjust, 0.0.static ElementFactory<PointAnnotation>FACTORYElement factory to get ""pointAnnotation"" element.- 
Fields inherited from class org.pepstock.charba.client.annotation.AbstractAnnotationDEFAULT_ADJUST_SCALE_RANGE, DEFAULT_DISPLAY, DEFAULT_INIT, DEFAULT_ROTATION, DEFAULT_Z
 
- 
 - 
Constructor SummaryConstructors Constructor Description PointAnnotation()Creates a point annotation to be added to anAnnotationOptionsinstance.
 The annotation id is calculated automatically.PointAnnotation(String id)Creates a point annotation to be added to anAnnotationOptionsinstance, using the ID passed as argument.PointAnnotation(String id, IsChart chart)Creates a point annotation to be added to anAnnotationOptionsinstance, using the ID passed as argument.
 The chart instance, passed as argument, must be the chart where the annotations will be applied and is used to get the whole default options in order to get the default for this object.PointAnnotation(AnnotationId id)Creates a point annotation to be added to anAnnotationOptionsinstance, using the ID passed as argument.PointAnnotation(AnnotationId id, IsChart chart)Creates a point annotation to be added to anAnnotationOptionsinstance, using the ID passed as argument.
 The chart instance, passed as argument, must be the chart where the annotations will be applied and is used to get the whole default options in order to get the default for this object.
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Default Methods Modifier and Type Method Description default AdjustScaleRangeCallbackgetAdjustScaleRangeCallback()Returns the callback called to set whether the scale range should be adjusted if this annotation is out of range.default ElementHookCallbackgetAfterDrawCallback()Returns the callback called to get the control after the annotation element drawing.default IsColorgetBackgroundColor()Returns the color of the background of annotation.default StringgetBackgroundColorAsString()Returns the color of the background of annotation.default ColorCallback<AnnotationContext>getBackgroundColorCallback()Returns the callback called to set the color of the background of annotation.org.pepstock.charba.client.annotation.BackgroundColorHandlergetBackgroundColorHandler()default IsColorgetBackgroundShadowColor()Returns the color of the shadow of annotation.default StringgetBackgroundShadowColorAsString()Returns the color of the shadow of annotation.default ColorCallback<AnnotationContext>getBackgroundShadowColorCallback()Returns the callback called to set the color of the shadow of annotation.default ElementHookCallbackgetBeforeDrawCallback()Returns the callback called to get the control before the annotation element drawing.default IsColorgetBorderColor()Returns the color of the border of annotation.default StringgetBorderColorAsString()Returns the color of the border of annotation.default ColorCallback<AnnotationContext>getBorderColorCallback()Returns the callback called to set the color of the border of annotation.default List<Integer>getBorderDash()Returns the line dash pattern used when stroking lines, using an array of values which specify alternating lengths of lines and gaps which describe the pattern.default BorderDashCallback<AnnotationContext>getBorderDashCallback()Returns the callback called to set the line dash pattern used when stroking lines, using an array of values which specify alternating lengths of lines and gaps which describe the pattern.default doublegetBorderDashOffset()Returns the line dash pattern offset.default BorderDashOffsetCallback<AnnotationContext>getBorderDashOffsetCallback()Returns the callback called to set the line dash pattern offset.default IsColorgetBorderShadowColor()Returns the color of the border shadow of annotation.default StringgetBorderShadowColorAsString()Returns the color of the border shadow of annotation.default ColorCallback<AnnotationContext>getBorderShadowColorCallback()Returns the callback called to set the color of the border shadow of annotation.default intgetBorderWidth()Returns the width of the border in pixels.default WidthCallback<AnnotationContext>getBorderWidthCallback()Returns the callback called to set the width of the border in pixels.default ClickCallbackgetClickCallback()Returns the callback called when a "click" event is occurring.default SimpleDisplayCallback<AnnotationContext>getDisplayCallback()Returns the callback called to set the display options.default DrawTimegetDrawTime()Returns the draw time which defines when the annotations are drawn.default DrawTimeCallbackgetDrawTimeCallback()Returns the callback called to set the draw time which defines when the annotations are drawn.default EnterCallbackgetEnterCallback()Returns the callback called when a "enter" event is occurring.org.pepstock.charba.client.annotation.ExtendedShadowOptionsHandlergetExtendedShadowOptionsHandler()org.pepstock.charba.client.annotation.ExtendedShadowOptionsHandlergetExtendedShadowOptionsHandler()Returns a shadow options handler instance to use in the default methods of this interface.default InitCallbackgetInitCallback()Returns the callback called to get the control of animation initialization element.default LeaveCallbackgetLeaveCallback()Returns the callback called when a "leave" event is occurring.PointStyleCallback<AnnotationContext>getPointStyleCallback()Returns the point style callback, if set, otherwisenull.PointStyleHandlergetPointStyleHandler()Returns a point style handler instance to use in the default methods of this interface.doublegetRadius()Returns the radius of the annotation.default doublegetRadius()Returns the radius of the point.RadiusCallback<AnnotationContext>getRadiusCallback()Returns the callback called to set the radius.default RadiusCallback<AnnotationContext>getRadiusCallback()Returns the callback called to set the radius.default doublegetRotation()Returns the rotation (in pixels).default RotationCallback<AnnotationContext>getRotationCallback()Returns the callback called to set the rotation.org.pepstock.charba.client.annotation.RotationHandlergetRotationHandler()default doublegetShadowBlur()Returns the amount of blur applied to shadows.default ShadowBlurCallbackgetShadowBlurCallback()Returns the callback called to set the amount of blur applied to shadows.default intgetShadowOffsetX()Returns the distance that shadows will be offset horizontally.default ShadowOffsetCallbackgetShadowOffsetXCallback()Returns the callback called to set the distance that shadows will be offset horizontally.default intgetShadowOffsetY()Returns the distance that shadows will be offset vertically.default ShadowOffsetCallbackgetShadowOffsetYCallback()Returns the callback called to set the distance that shadows will be offset vertically.AnnotationTypegetType()Returns the type of annotation.doublegetXAdjust()Returns the adjustment along x-axis (left-right) of annotation relative to above number (can be negative).default doublegetXAdjust()Returns the adjustment along x-axis (left-right) of annotation relative to above number (can be negative).AdjustSizeCallbackgetXAdjustCallback()Returns the callback called to set the adjustment along x-axis (left-right) of annotation relative to above number (can be negative).default AdjustSizeCallbackgetXAdjustCallback()Returns the callback called to set the adjustment along x-axis (left-right) of annotation relative to above number (can be negative).default DategetXMaxAsDate()Returns the right edge of the box.default doublegetXMaxAsDouble()Returns the right edge of the box.default StringgetXMaxAsString()Returns the right edge of the box.default ValueCallbackgetXMaxCallback()Returns the callback called to set the right edge of the box.default DategetXMinAsDate()Returns the left edge of the box, in units along the x axis.default doublegetXMinAsDouble()Returns the left edge of the box, in units along the x axis.default StringgetXMinAsString()Returns the left edge of the box, in units along the x axis.default ValueCallbackgetXMinCallback()Returns the callback called to set the left edge of the box, in units along the x axis.default ScaleIdgetXScaleID()Returns the ID of the X scale to bind onto.DategetXValueAsDate()Returns the data X value to draw the annotation at.default DategetXValueAsDate()Returns the data X value to draw the annotation at.doublegetXValueAsDouble()Returns the data X value to draw the annotation at.default doublegetXValueAsDouble()Returns the data X value to draw the annotation at.StringgetXValueAsString()Returns the data X value to draw the annotation at.default StringgetXValueAsString()Returns the data X value to draw the annotation at.ValueCallbackgetXValueCallback()Returns the callback called to set the data X value to draw the annotation at.default ValueCallbackgetXValueCallback()Returns the callback called to set the data X value to draw the annotation at.doublegetYAdjust()Returns the adjustment along y-axis (top-bottom) of annotation relative to above number (can be negative).default doublegetYAdjust()Returns the adjustment along y-axis (top-bottom) of annotation relative to above number (can be negative).AdjustSizeCallbackgetYAdjustCallback()Returns the callback called to set the adjustment along y-axis (top-bottom) of annotation relative to above number (can be negative).default AdjustSizeCallbackgetYAdjustCallback()Returns the callback called to set the adjustment along y-axis (top-bottom) of annotation relative to above number (can be negative).default DategetYMaxAsDate()Returns the top edge of the box in units along the y axis.default doublegetYMaxAsDouble()Returns the top edge of the box in units along the y axis.default StringgetYMaxAsString()Returns the top edge of the box in units along the y axis.default ValueCallbackgetYMaxCallback()Returns the callback called to set the right edge of the box.default DategetYMinAsDate()Returns the bottom edge of the box.default doublegetYMinAsDouble()Returns the bottom edge of the box.default StringgetYMinAsString()Returns the bottom edge of the box.default ValueCallbackgetYMinCallback()Returns the callback called to set the left edge of the box, in units along the x axis.default ScaleIdgetYScaleID()Returns the ID of the Y scale to bind onto.DategetYValueAsDate()Returns the data Y value to draw the annotation at.default DategetYValueAsDate()Returns the data Y value to draw the annotation at.doublegetYValueAsDouble()Returns the data Y value to draw the annotation at.default doublegetYValueAsDouble()Returns the data Y value to draw the annotation at.StringgetYValueAsString()Returns the data Y value to draw the annotation at.default StringgetYValueAsString()Returns the data Y value to draw the annotation at.ValueCallbackgetYValueCallback()Returns the callback called to set the data Y value to draw the annotation at.default ValueCallbackgetYValueCallback()Returns the callback called to set the data Y value to draw the annotation at.default intgetZ()Returns the property determines the drawing stack level of the box annotation element.
 All visible elements will be drawn in ascending order of `z` option, with the same "drawTime" option.default ZCallbackgetZCallback()Returns the callback called to set the property determines the drawing stack level of the box annotation element.default booleanisAdjustScaleRange()Returnstruewhether the scale range should be adjusted if this annotation is out of range.default booleanisDisplay()Returnstruewhether the annotation should be displayed.default booleanisInit()Returnstrueto enable the animation to the annotations when they are drawing at chart initialization.default voidsetBackgroundColor(String backgroundColor)Sets the color of the background of annotation.default voidsetBackgroundColor(ColorCallback<AnnotationContext> backgroundColorCallback)Sets the callback to set the color of the background of annotation.default voidsetBackgroundColor(NativeCallback backgroundColorCallback)Sets the callback to set the color of the background of annotation.default voidsetBackgroundColor(IsColor backgroundColor)Sets the color of the background of annotation.default voidsetBackgroundShadowColor(String backgroundColor)Sets the color of the shadow of annotation.default voidsetBackgroundShadowColor(ColorCallback<AnnotationContext> borderShadowColorCallback)Sets the callback to set the color of the shadow of annotation.default voidsetBackgroundShadowColor(NativeCallback borderShadowColorCallback)Sets the callback to set the color of the shadow of annotation.default voidsetBackgroundShadowColor(IsColor backgroundColor)Sets the color of the shadow of annotation.default voidsetBorderColor(String borderColor)Sets the color of the border of annotation.default voidsetBorderColor(ColorCallback<AnnotationContext> borderColorCallback)Sets the callback to set the color of the border of annotation.default voidsetBorderColor(NativeCallback borderColorCallback)Sets the callback to set the color of the border of annotation.default voidsetBorderColor(IsColor borderColor)Sets the color of the border of annotation.default voidsetBorderDash(int... borderDash)Sets the line dash pattern used when stroking lines, using an array of values which specify alternating lengths of lines and gaps which describe the pattern.default voidsetBorderDash(BorderDashCallback<AnnotationContext> borderDashCallback)Sets the callback to set the line dash pattern used when stroking lines, using an array of values which specify alternating lengths of lines and gaps which describe the pattern.default voidsetBorderDash(NativeCallback borderDashCallback)Sets the callback to set the line dash pattern used when stroking lines, using an array of values which specify alternating lengths of lines and gaps which describe the pattern.default voidsetBorderDashOffset(double borderDashOffset)Sets the line dash pattern offset.default voidsetBorderDashOffset(BorderDashOffsetCallback<AnnotationContext> borderDashOffsetCallback)Sets the callback to set the line dash pattern offset.default voidsetBorderDashOffset(NativeCallback borderDashOffsetCallback)Sets the callback to set the line dash pattern offset.default voidsetBorderShadowColor(String borderColor)Sets the color of the border shadow of annotation.default voidsetBorderShadowColor(ColorCallback<AnnotationContext> borderShadowColorCallback)Sets the callback to set the color of the border shadow of annotation.default voidsetBorderShadowColor(NativeCallback borderShadowColorCallback)Sets the callback to set the color of the border shadow of annotation.default voidsetBorderShadowColor(IsColor borderColor)Sets the color of the border shadow of annotation.default voidsetBorderWidth(int borderWidth)Sets the width of the border in pixels.default voidsetBorderWidth(NativeCallback borderWidthCallback)Sets the callback to set the color of the width of the border in pixels.default voidsetBorderWidth(WidthCallback<AnnotationContext> borderWidthCallback)Sets the callback to set the color of the width of the border in pixels.default voidsetClickCallback(ClickCallback clickCallback)Sets the callback called when a "click" event is occurring.default voidsetEnterCallback(EnterCallback enterCallback)Sets the callback called when a "enter" event is occurring.default voidsetLeaveCallback(LeaveCallback leaveCallback)Sets the callback called when a "leave" event is occurring.voidsetPointStyle(boolean pointStyle)Sets the style of the point.voidsetPointStyle(NativeCallback pointStyleCallback)Sets the point style callback.voidsetPointStyle(PointStyleCallback<AnnotationContext> pointStyleCallback)Sets the point style callback.voidsetPointStyle(Canvas pointStyle)Sets the style of the point as canvas.voidsetPointStyle(Img pointStyle)Sets the style of the point as image.voidsetPointStyle(PointStyle pointStyle)Sets the style of the point.voidsetRadius(double radius)Sets the radius of the annotation shape.
 If set to 0, the annotation is not rendered.voidsetRadius(NativeCallback radiusCallback)Sets the callback to set the radius.voidsetRadius(RadiusCallback<AnnotationContext> radiusCallback)Sets the callback to set the radius.default voidsetRotation(double radius)Sets the rotation.default voidsetRotation(NativeCallback rotationCallback)Sets the callback to set the rotation.default voidsetRotation(RotationCallback<AnnotationContext> rotationCallback)Sets the callback to set the rotation.default voidsetShadowBlur(double shadowBlur)Sets the amount of blur applied to shadows.default voidsetShadowBlur(ShadowBlurCallback shadowBlurCallback)Sets the callback to set the amount of blur applied to shadows.default voidsetShadowBlur(NativeCallback shadowBlurCallback)Sets the callback to set the amount of blur applied to shadows.default voidsetShadowOffsetX(int shadowOffset)Sets the distance that shadows will be offset horizontally.default voidsetShadowOffsetX(ShadowOffsetCallback shadowOffsetCallback)Sets the callback to set the distance that shadows will be offset horizontally.default voidsetShadowOffsetX(NativeCallback shadowOffsetCallback)Sets the callback to set the distance that shadows will be offset horizontally.default voidsetShadowOffsetY(int shadowOffset)Sets the distance that shadows will be offset vertically.default voidsetShadowOffsetY(ShadowOffsetCallback shadowOffsetCallback)Sets the callback to set the distance that shadows will be offset vertically.default voidsetShadowOffsetY(NativeCallback shadowOffsetCallback)Sets the callback to set the distance that shadows will be offset vertically.voidsetXAdjust(double xAdjust)Sets the adjustment along x-axis (left-right) of annotation relative to above number (can be negative).voidsetXAdjust(AdjustSizeCallback adjustCallback)Sets the callback to set the adjustment along y-axis (top-bottom) of annotation relative to above number (can be negative).voidsetXAdjust(NativeCallback adjustCallback)Sets the callback to set the adjustment along y-axis (top-bottom) of annotation relative to above number (can be negative).voidsetXValue(double value)Sets the data X value to draw the annotation at.voidsetXValue(String value)Sets the data X value to draw the annotation at.voidsetXValue(Date value)Sets the data X value to draw the annotation at.voidsetXValue(ValueCallback valueCallback)Sets the callback to set the data X value to draw the annotation at.voidsetXValue(NativeCallback valueCallback)Sets the callback to set the data X value to draw the annotation at.voidsetYAdjust(double yAdjust)Sets the adjustment along y-axis (top-bottom) of annotation relative to above number (can be negative).voidsetYAdjust(AdjustSizeCallback adjustCallback)Sets the callback to set the adjustment along x-axis (left-right) of annotation relative to above number (can be negative).voidsetYAdjust(NativeCallback adjustCallback)Sets the callback to set the adjustment along x-axis (left-right) of annotation relative to above number (can be negative).voidsetYValue(double value)Sets the data Y value to draw the annotation at.voidsetYValue(String value)Sets the data Y value to draw the annotation at.voidsetYValue(Date value)Sets the data Y value to draw the annotation at.voidsetYValue(ValueCallback valueCallback)Sets the callback to set the data Y value to draw the annotation at.voidsetYValue(NativeCallback valueCallback)Sets the callback to set the data Y value to draw the annotation at.- 
Methods inherited from class org.pepstock.charba.client.annotation.AbstractAnnotationgetAdjustScaleRangeCallback, getAfterDrawCallback, getBeforeDrawCallback, getBorderOptionsHandler, getDisplayCallback, getDrawTime, getDrawTimeCallback, getEventsHandler, getId, getInitCallback, getShadowOptionsHandler, getType, getXMaxAsDate, getXMaxAsDouble, getXMaxAsString, getXMaxCallback, getXMinAsDate, getXMinAsDouble, getXMinAsString, getXMinCallback, getXScaleID, getYMaxAsDate, getYMaxAsDouble, getYMaxAsString, getYMaxCallback, getYMinAsDate, getYMinAsDouble, getYMinAsString, getYMinCallback, getYScaleID, getZ, getZCallback, isAdjustScaleRange, isDisplay, isInit, setAdjustScaleRange, setAdjustScaleRange, setAdjustScaleRange, setAfterDraw, setAfterDraw, setBeforeDraw, setBeforeDraw, setDisplay, setDisplay, setDisplay, setDrawTime, setDrawTime, setDrawTime, setInit, setInit, setInit, setXMax, setXMax, setXMax, setXMax, setXMax, setXMin, setXMin, setXMin, setXMin, setXMin, setXScaleID, setXScaleID, setYMax, setYMax, setYMax, setYMax, setYMax, setYMin, setYMin, setYMin, setYMin, setYMin, setYScaleID, setYScaleID, setZ, setZ, setZ
 - 
Methods inherited from class org.pepstock.charba.client.commons.AbstractNodecheckAndAddToParent, getChildKey, getParentNode, getRootNode, getUpdateListener, retrieveRoot, setArrayValueAndAddToParent, setArrayValueAndAddToParent, setArrayValueAndAddToParent, setElementAndAddToParent, setInternalCallbackToModel, setInternalCallbackToModel, setUpdateListener, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent
 - 
Methods inherited from class org.pepstock.charba.client.commons.NativeObjectContainercheckAndGetColor, 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, 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, setValue, setValue, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, toJSON, type
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.pepstock.charba.client.options.HasPointStylegetPointStyle, getPointStyleAsCanvas, getPointStyleAsImage, getPointStyleType
 
- 
 
- 
- 
- 
Field Detail- 
DEFAULT_BORDER_WIDTHpublic static final int DEFAULT_BORDER_WIDTH Default point annotation border width, 1.- See Also:
- Constant Field Values
 
 - 
DEFAULT_RADIUSpublic static final double DEFAULT_RADIUS Default point annotation radius, 10.0.- See Also:
- Constant Field Values
 
 - 
FACTORYpublic static final ElementFactory<PointAnnotation> FACTORY Element factory to get ""pointAnnotation"" element.
 - 
DEFAULT_X_ADJUSTpublic static final double DEFAULT_X_ADJUST Default annotation X adjust, 0.0.- See Also:
- Constant Field Values
 
 - 
DEFAULT_Y_ADJUSTpublic static final double DEFAULT_Y_ADJUST Default annotation Y adjust, 0.0.- See Also:
- Constant Field Values
 
 
- 
 - 
Constructor Detail- 
PointAnnotationpublic PointAnnotation() Creates a point annotation to be added to anAnnotationOptionsinstance.
 The annotation id is calculated automatically.- See Also:
- AnnotationType.createId()
 
 - 
PointAnnotationpublic PointAnnotation(String id) Creates a point annotation to be added to anAnnotationOptionsinstance, using the ID passed as argument.- Parameters:
- id- annotation id to apply to the object, as string
 
 - 
PointAnnotationpublic PointAnnotation(AnnotationId id) Creates a point annotation to be added to anAnnotationOptionsinstance, using the ID passed as argument.- Parameters:
- id- annotation id to apply to the object
 
 - 
PointAnnotationpublic PointAnnotation(String id, IsChart chart) Creates a point annotation to be added to anAnnotationOptionsinstance, using the ID passed as argument.
 The chart instance, passed as argument, must be the chart where the annotations will be applied and is used to get the whole default options in order to get the default for this object.- Parameters:
- id- annotation id to apply to the object, as string
- chart- chart instance related to the plugin options
 
 - 
PointAnnotationpublic PointAnnotation(AnnotationId id, IsChart chart) Creates a point annotation to be added to anAnnotationOptionsinstance, using the ID passed as argument.
 The chart instance, passed as argument, must be the chart where the annotations will be applied and is used to get the whole default options in order to get the default for this object.- Parameters:
- id- annotation id to apply to the object
- chart- chart instance related to the plugin options
 
 
- 
 - 
Method Detail- 
getPointStyleHandlerpublic PointStyleHandler getPointStyleHandler() Description copied from interface:HasPointStyleReturns a point style handler instance to use in the default methods of this interface.- Specified by:
- getPointStyleHandlerin interface- HasPointStyle
- Returns:
- a point style handler instance
 
 - 
setPointStylepublic void setPointStyle(PointStyle pointStyle) Description copied from interface:HasPointStyleSets the style of the point.- Specified by:
- setPointStylein interface- HasPointStyle
- Parameters:
- pointStyle- array of the style of the point.
 
 - 
setPointStylepublic void setPointStyle(boolean pointStyle) Description copied from interface:HasPointStyleSets the style of the point.- Specified by:
- setPointStylein interface- HasPointStyle
- Parameters:
- pointStyle- array of the style of the point.
 
 - 
setPointStylepublic void setPointStyle(Img pointStyle) Description copied from interface:HasPointStyleSets the style of the point as image.- Specified by:
- setPointStylein interface- HasPointStyle
- Parameters:
- pointStyle- image element of the style of the point as image.
 
 - 
setPointStylepublic void setPointStyle(Canvas pointStyle) Description copied from interface:HasPointStyleSets the style of the point as canvas.- Specified by:
- setPointStylein interface- HasPointStyle
- Parameters:
- pointStyle- canvas element of the style of the point as canvas.
 
 - 
getPointStyleCallbackpublic PointStyleCallback<AnnotationContext> getPointStyleCallback() Returns the point style callback, if set, otherwisenull.- Returns:
- the point style callback, if set, otherwise null.
 
 - 
setPointStylepublic void setPointStyle(PointStyleCallback<AnnotationContext> pointStyleCallback) Sets the point style callback.- Parameters:
- pointStyleCallback- the point style callback.
 
 - 
setPointStylepublic void setPointStyle(NativeCallback pointStyleCallback) Sets the point style callback.- Parameters:
- pointStyleCallback- the point style callback.
 
 - 
getRadiuspublic default double getRadius() Returns the radius of the point.- Returns:
- the radius of the point.
 
 - 
getRadiusCallbackpublic default RadiusCallback<AnnotationContext> getRadiusCallback() Returns the callback called to set the radius.- Returns:
- the callback called to set the radius
 
 - 
getXValueAsStringpublic default String getXValueAsString() Returns the data X value to draw the annotation at.- Returns:
- the data X value to draw the annotation at
 
 - 
getXValueAsDoublepublic default double getXValueAsDouble() Returns the data X value to draw the annotation at.- Returns:
- the data X value to draw the annotation at
 
 - 
getXValueAsDatepublic default Date getXValueAsDate() Returns the data X value to draw the annotation at.- Returns:
- the data X value to draw the annotation at
 
 - 
getYValueAsStringpublic default String getYValueAsString() Returns the data Y value to draw the annotation at.- Returns:
- the data Y value to draw the annotation at
 
 - 
getYValueAsDoublepublic default double getYValueAsDouble() Returns the data Y value to draw the annotation at.- Returns:
- the data Y value to draw the annotation at
 
 - 
getYValueAsDatepublic default Date getYValueAsDate() Returns the data Y value to draw the annotation at.- Returns:
- the data Y value to draw the annotation at
 
 - 
getXValueCallbackpublic default ValueCallback getXValueCallback() Returns the callback called to set the data X value to draw the annotation at.- Returns:
- the callback called to set the data X value to draw the annotation at
 
 - 
getYValueCallbackpublic default ValueCallback getYValueCallback() Returns the callback called to set the data Y value to draw the annotation at.- Returns:
- the callback called to set the data Y value to draw the annotation at
 
 - 
getXAdjustpublic default double getXAdjust() Returns the adjustment along x-axis (left-right) of annotation relative to above number (can be negative).- Returns:
- the adjustment along x-axis (left-right) of annotation
 
 - 
getYAdjustpublic default double getYAdjust() Returns the adjustment along y-axis (top-bottom) of annotation relative to above number (can be negative).- Returns:
- the adjustment along y-axis (top-bottom) of annotation
 
 - 
getXAdjustCallbackpublic default AdjustSizeCallback getXAdjustCallback() Returns the callback called to set the adjustment along x-axis (left-right) of annotation relative to above number (can be negative).- Returns:
- the callback called to set the adjustment along x-axis (left-right) of annotation relative to above number (can be negative)
 
 - 
getYAdjustCallbackpublic default AdjustSizeCallback getYAdjustCallback() Returns the callback called to set the adjustment along y-axis (top-bottom) of annotation relative to above number (can be negative).- Returns:
- the callback called to set the adjustment along y-axis (top-bottom) of annotation relative to above number (can be negative)
 
 - 
getTypepublic abstract AnnotationType getType() Returns the type of annotation.- Returns:
- the type of annotation
 
 - 
isDisplaypublic default boolean isDisplay() Returnstruewhether the annotation should be displayed.- Returns:
- truewhether the annotation should be displayed
 
 - 
isInitpublic default boolean isInit() Returnstrueto enable the animation to the annotations when they are drawing at chart initialization.- Returns:
- trueto enable the animation to the annotations when they are drawing at chart initialization.
 
 - 
isAdjustScaleRangepublic default boolean isAdjustScaleRange() Returnstruewhether the scale range should be adjusted if this annotation is out of range.- Returns:
- truewhether the scale range should be adjusted if this annotation is out of range
 
 - 
getZpublic default int getZ() Returns the property determines the drawing stack level of the box annotation element.
 All visible elements will be drawn in ascending order of `z` option, with the same "drawTime" option.- Returns:
- the property determines the drawing stack level of the box annotation element.
 All visible elements will be drawn in ascending order of `z` option, with the same "drawTime" option.
 
 - 
getDrawTimepublic default DrawTime getDrawTime() Returns the draw time which defines when the annotations are drawn.- Returns:
- the draw time which defines when the annotations are drawn
 
 - 
getDrawTimeCallbackpublic default DrawTimeCallback getDrawTimeCallback() Returns the callback called to set the draw time which defines when the annotations are drawn.- Returns:
- the callback called to set the draw time which defines when the annotations are drawn
 
 - 
getDisplayCallbackpublic default SimpleDisplayCallback<AnnotationContext> getDisplayCallback() Returns the callback called to set the display options.- Returns:
- the callback called to set the display options
 
 - 
getAdjustScaleRangeCallbackpublic default AdjustScaleRangeCallback getAdjustScaleRangeCallback() Returns the callback called to set whether the scale range should be adjusted if this annotation is out of range.- Returns:
- the callback called to set whether the scale range should be adjusted if this annotation is out of range
 
 - 
getZCallbackpublic default ZCallback getZCallback() Returns the callback called to set the property determines the drawing stack level of the box annotation element.- Returns:
- the callback called to set the property determines the drawing stack level of the box annotation element
 
 - 
getXScaleIDpublic default ScaleId getXScaleID() Returns the ID of the X scale to bind onto.- Returns:
- the ID of the X scale to bind onto
 
 - 
getXMaxAsStringpublic default String getXMaxAsString() Returns the right edge of the box.- Returns:
- the right edge of the box
 
 - 
getXMaxAsDoublepublic default double getXMaxAsDouble() Returns the right edge of the box.- Returns:
- the right edge of the box
 
 - 
getXMaxAsDatepublic default Date getXMaxAsDate() Returns the right edge of the box.- Returns:
- the right edge of the box
 
 - 
getXMinAsStringpublic default String getXMinAsString() Returns the left edge of the box, in units along the x axis.- Returns:
- the left edge of the box
 
 - 
getXMinAsDoublepublic default double getXMinAsDouble() Returns the left edge of the box, in units along the x axis.- Returns:
- the left edge of the box
 
 - 
getXMinAsDatepublic default Date getXMinAsDate() Returns the left edge of the box, in units along the x axis.- Returns:
- the left edge of the box
 
 - 
getYScaleIDpublic default ScaleId getYScaleID() Returns the ID of the Y scale to bind onto.- Returns:
- the ID of the Y scale to bind onto
 
 - 
getYMaxAsStringpublic default String getYMaxAsString() Returns the top edge of the box in units along the y axis.- Returns:
- the top edge of the box in units along the y axis
 
 - 
getYMaxAsDoublepublic default double getYMaxAsDouble() Returns the top edge of the box in units along the y axis.- Returns:
- the top edge of the box in units along the y axis
 
 - 
getYMaxAsDatepublic default Date getYMaxAsDate() Returns the top edge of the box in units along the y axis.- Returns:
- the top edge of the box in units along the y axis
 
 - 
getYMinAsStringpublic default String getYMinAsString() Returns the bottom edge of the box.- Returns:
- the bottom edge of the box
 
 - 
getYMinAsDoublepublic default double getYMinAsDouble() Returns the bottom edge of the box.- Returns:
- the bottom edge of the box
 
 - 
getYMinAsDatepublic default Date getYMinAsDate() Returns the bottom edge of the box.- Returns:
- the bottom edge of the box
 
 - 
getXMinCallbackpublic default ValueCallback getXMinCallback() Returns the callback called to set the left edge of the box, in units along the x axis.- Returns:
- the callback called to set the left edge of the box, in units along the x axis
 
 - 
getXMaxCallbackpublic default ValueCallback getXMaxCallback() Returns the callback called to set the right edge of the box.- Returns:
- the callback called to set the right edge of the box
 
 - 
getYMinCallbackpublic default ValueCallback getYMinCallback() Returns the callback called to set the left edge of the box, in units along the x axis.- Returns:
- the callback called to set the left edge of the box, in units along the x axis
 
 - 
getYMaxCallbackpublic default ValueCallback getYMaxCallback() Returns the callback called to set the right edge of the box.- Returns:
- the callback called to set the right edge of the box
 
 - 
getBeforeDrawCallbackpublic default ElementHookCallback getBeforeDrawCallback() Returns the callback called to get the control before the annotation element drawing.- Returns:
- the callback called to get the control before the annotation element drawing
 
 - 
getAfterDrawCallbackpublic default ElementHookCallback getAfterDrawCallback() Returns the callback called to get the control after the annotation element drawing.- Returns:
- the callback called to get the control after the annotation element drawing
 
 - 
getInitCallbackpublic default InitCallback getInitCallback() Returns the callback called to get the control of animation initialization element.- Returns:
- the callback called to get the control of animation initialization element
 
 - 
getExtendedShadowOptionsHandlerpublic abstract org.pepstock.charba.client.annotation.ExtendedShadowOptionsHandler getExtendedShadowOptionsHandler() Returns a shadow options handler instance to use in the default methods of this interface.- Returns:
- a shadow options handler instance
 
 - 
setBackgroundShadowColorpublic default void setBackgroundShadowColor(IsColor backgroundColor) Sets the color of the shadow of annotation.- Parameters:
- backgroundColor- the color of the shadow of annotation
 
 - 
setBackgroundShadowColorpublic default void setBackgroundShadowColor(String backgroundColor) Sets the color of the shadow of annotation.- Parameters:
- backgroundColor- the color of the shadow of annotation
 
 - 
getBackgroundShadowColorAsStringpublic default String getBackgroundShadowColorAsString() Returns the color of the shadow of annotation.- Returns:
- the color of the shadow of annotation
 
 - 
getBackgroundShadowColorpublic default IsColor getBackgroundShadowColor() Returns the color of the shadow of annotation.- Returns:
- the color of the shadow of annotation
 
 - 
getBackgroundShadowColorCallbackpublic default ColorCallback<AnnotationContext> getBackgroundShadowColorCallback() Returns the callback called to set the color of the shadow of annotation.- Returns:
- the callback called to set the color of the shadow of annotation
 
 - 
setBackgroundShadowColorpublic default void setBackgroundShadowColor(ColorCallback<AnnotationContext> borderShadowColorCallback) Sets the callback to set the color of the shadow of annotation.- Parameters:
- borderShadowColorCallback- to set the color of the shadow of annotation
 
 - 
setBackgroundShadowColorpublic default void setBackgroundShadowColor(NativeCallback borderShadowColorCallback) Sets the callback to set the color of the shadow of annotation.- Parameters:
- borderShadowColorCallback- to set the color of the shadow of annotation
 
 - 
getRotationHandlerpublic final org.pepstock.charba.client.annotation.RotationHandler getRotationHandler() 
 - 
setRadiuspublic final void setRadius(double radius) Sets the radius of the annotation shape.
 If set to 0, the annotation is not rendered.- Parameters:
- radius- array of the radius of the point shape.
 
 - 
getRadiuspublic final double getRadius() Returns the radius of the annotation.- Returns:
- the radius of the annotation.
 
 - 
getRadiusCallbackpublic final RadiusCallback<AnnotationContext> getRadiusCallback() Returns the callback called to set the radius.- Returns:
- the callback called to set the radius
 
 - 
setRadiuspublic final void setRadius(RadiusCallback<AnnotationContext> radiusCallback) Sets the callback to set the radius.- Parameters:
- radiusCallback- to set the radius
 
 - 
setRadiuspublic final void setRadius(NativeCallback radiusCallback) Sets the callback to set the radius.- Parameters:
- radiusCallback- to set the radius
 
 - 
setRotationpublic default void setRotation(double radius) Sets the rotation.- Parameters:
- radius- the rotation.
 
 - 
getRotationpublic default double getRotation() Returns the rotation (in pixels).- Returns:
- the rotation (in pixels).
 
 - 
getRotationCallbackpublic default RotationCallback<AnnotationContext> getRotationCallback() Returns the callback called to set the rotation.- Returns:
- the callback called to set the rotation
 
 - 
setRotationpublic default void setRotation(RotationCallback<AnnotationContext> rotationCallback) Sets the callback to set the rotation.- Parameters:
- rotationCallback- to set the rotation
 
 - 
setRotationpublic default void setRotation(NativeCallback rotationCallback) Sets the callback to set the rotation.- Parameters:
- rotationCallback- to set the rotation
 
 - 
getBackgroundColorHandlerpublic final org.pepstock.charba.client.annotation.BackgroundColorHandler getBackgroundColorHandler() 
 - 
getExtendedShadowOptionsHandlerpublic final org.pepstock.charba.client.annotation.ExtendedShadowOptionsHandler getExtendedShadowOptionsHandler() 
 - 
setXValuepublic final void setXValue(String value) Sets the data X value to draw the annotation at.- Parameters:
- value- the data X value to draw the annotation at
 
 - 
setXValuepublic final void setXValue(double value) Sets the data X value to draw the annotation at.- Parameters:
- value- the data X value to draw the annotation at
 
 - 
setXValuepublic final void setXValue(Date value) Sets the data X value to draw the annotation at.- Parameters:
- value- the data X value to draw the annotation at
 
 - 
getXValueAsStringpublic final String getXValueAsString() Returns the data X value to draw the annotation at.- Returns:
- the data X value to draw the annotation at
 
 - 
getXValueAsDoublepublic final double getXValueAsDouble() Returns the data X value to draw the annotation at.- Returns:
- the data X value to draw the annotation at
 
 - 
getXValueAsDatepublic final Date getXValueAsDate() Returns the data X value to draw the annotation at.- Returns:
- the data X value to draw the annotation at
 
 - 
setYValuepublic final void setYValue(String value) Sets the data Y value to draw the annotation at.- Parameters:
- value- the data Y value to draw the annotation at
 
 - 
setYValuepublic final void setYValue(double value) Sets the data Y value to draw the annotation at.- Parameters:
- value- the data Y value to draw the annotation at
 
 - 
setYValuepublic final void setYValue(Date value) Sets the data Y value to draw the annotation at.- Parameters:
- value- the data Y value to draw the annotation at
 
 - 
getYValueAsStringpublic final String getYValueAsString() Returns the data Y value to draw the annotation at.- Returns:
- the data Y value to draw the annotation at
 
 - 
getYValueAsDoublepublic final double getYValueAsDouble() Returns the data Y value to draw the annotation at.- Returns:
- the data Y value to draw the annotation at
 
 - 
getYValueAsDatepublic final Date getYValueAsDate() Returns the data Y value to draw the annotation at.- Returns:
- the data Y value to draw the annotation at
 
 - 
setYAdjustpublic final void setYAdjust(double yAdjust) Sets the adjustment along y-axis (top-bottom) of annotation relative to above number (can be negative).- Parameters:
- yAdjust- the adjustment along y-axis (top-bottom) of annotation
 
 - 
getYAdjustpublic final double getYAdjust() Returns the adjustment along y-axis (top-bottom) of annotation relative to above number (can be negative).- Returns:
- the adjustment along y-axis (top-bottom) of annotation
 
 - 
setXAdjustpublic final void setXAdjust(double xAdjust) Sets the adjustment along x-axis (left-right) of annotation relative to above number (can be negative).- Parameters:
- xAdjust- the adjustment along x-axis (left-right) of annotation
 
 - 
getXAdjustpublic final double getXAdjust() Returns the adjustment along x-axis (left-right) of annotation relative to above number (can be negative).- Returns:
- the adjustment along x-axis (left-right) of annotation
 
 - 
getXValueCallbackpublic final ValueCallback getXValueCallback() Returns the callback called to set the data X value to draw the annotation at.- Returns:
- the callback called to set the data X value to draw the annotation at
 
 - 
setXValuepublic final void setXValue(ValueCallback valueCallback) Sets the callback to set the data X value to draw the annotation at.- Parameters:
- valueCallback- to set the data X value to draw the annotation at
 
 - 
setXValuepublic final void setXValue(NativeCallback valueCallback) Sets the callback to set the data X value to draw the annotation at.- Parameters:
- valueCallback- to set the data X value to draw the annotation at
 
 - 
getYValueCallbackpublic final ValueCallback getYValueCallback() Returns the callback called to set the data Y value to draw the annotation at.- Returns:
- the callback called to set the data Y value to draw the annotation at
 
 - 
setYValuepublic final void setYValue(ValueCallback valueCallback) Sets the callback to set the data Y value to draw the annotation at.- Parameters:
- valueCallback- to set the data Y value to draw the annotation at
 
 - 
setYValuepublic final void setYValue(NativeCallback valueCallback) Sets the callback to set the data Y value to draw the annotation at.- Parameters:
- valueCallback- to set the data Y value to draw the annotation at
 
 - 
getYAdjustCallbackpublic final AdjustSizeCallback getYAdjustCallback() Returns the callback called to set the adjustment along y-axis (top-bottom) of annotation relative to above number (can be negative).- Returns:
- the callback called to set the adjustment along y-axis (top-bottom) of annotation relative to above number (can be negative)
 
 - 
setYAdjustpublic final void setYAdjust(AdjustSizeCallback adjustCallback) Sets the callback to set the adjustment along x-axis (left-right) of annotation relative to above number (can be negative).- Parameters:
- adjustCallback- to set the adjustment along x-axis (left-right) of annotation relative to above number (can be negative)
 
 - 
setYAdjustpublic final void setYAdjust(NativeCallback adjustCallback) Sets the callback to set the adjustment along x-axis (left-right) of annotation relative to above number (can be negative).- Parameters:
- adjustCallback- to set the adjustment along x-axis (left-right) of annotation relative to above number (can be negative)
 
 - 
getXAdjustCallbackpublic final AdjustSizeCallback getXAdjustCallback() Returns the callback called to set the adjustment along x-axis (left-right) of annotation relative to above number (can be negative).- Returns:
- the callback called to set the adjustment along x-axis (left-right) of annotation relative to above number (can be negative)
 
 - 
setXAdjustpublic final void setXAdjust(AdjustSizeCallback adjustCallback) Sets the callback to set the adjustment along y-axis (top-bottom) of annotation relative to above number (can be negative).- Parameters:
- adjustCallback- to set the adjustment along y-axis (top-bottom) of annotation relative to above number (can be negative)
 
 - 
setXAdjustpublic final void setXAdjust(NativeCallback adjustCallback) Sets the callback to set the adjustment along y-axis (top-bottom) of annotation relative to above number (can be negative).- Parameters:
- adjustCallback- to set the adjustment along y-axis (top-bottom) of annotation relative to above number (can be negative)
 
 - 
setBackgroundColorpublic default void setBackgroundColor(IsColor backgroundColor) Sets the color of the background of annotation.- Parameters:
- backgroundColor- the color of the background of annotation
 
 - 
setBackgroundColorpublic default void setBackgroundColor(String backgroundColor) Sets the color of the background of annotation.- Parameters:
- backgroundColor- the color of the background of annotation
 
 - 
getBackgroundColorAsStringpublic default String getBackgroundColorAsString() Returns the color of the background of annotation.- Returns:
- the color of the background of annotation
 
 - 
getBackgroundColorpublic default IsColor getBackgroundColor() Returns the color of the background of annotation.- Returns:
- the color of the background of annotation
 
 - 
getBackgroundColorCallbackpublic default ColorCallback<AnnotationContext> getBackgroundColorCallback() Returns the callback called to set the color of the background of annotation.- Returns:
- the callback called to set the color of the background of annotation
 
 - 
setBackgroundColorpublic default void setBackgroundColor(ColorCallback<AnnotationContext> backgroundColorCallback) Sets the callback to set the color of the background of annotation.- Parameters:
- backgroundColorCallback- to set the color of the background of annotation
 
 - 
setBackgroundColorpublic default void setBackgroundColor(NativeCallback backgroundColorCallback) Sets the callback to set the color of the background of annotation.- Parameters:
- backgroundColorCallback- to set the color of the background of annotation
 
 - 
setBorderColorpublic default void setBorderColor(IsColor borderColor) Sets the color of the border of annotation.- Parameters:
- borderColor- the color of the border of annotation
 
 - 
setBorderColorpublic default void setBorderColor(String borderColor) Sets the color of the border of annotation.- Parameters:
- borderColor- the color of the border of annotation
 
 - 
getBorderColorAsStringpublic default String getBorderColorAsString() Returns the color of the border of annotation.- Returns:
- the color of the border of annotation
 
 - 
getBorderColorpublic default IsColor getBorderColor() Returns the color of the border of annotation.- Returns:
- the color of the border of annotation
 
 - 
setBorderWidthpublic default void setBorderWidth(int borderWidth) Sets the width of the border in pixels.- Parameters:
- borderWidth- the width of the border in pixels.
 
 - 
getBorderWidthpublic default int getBorderWidth() Returns the width of the border in pixels.- Returns:
- the width of the border in pixels.
 
 - 
setBorderDashpublic default void setBorderDash(int... borderDash) Sets the line dash pattern used when stroking lines, using an array of values which specify alternating lengths of lines and gaps which describe the pattern.- Parameters:
- borderDash- the line dash pattern used when stroking lines, using an array of values which specify alternating lengths of lines and gaps which describe the pattern.
 
 - 
getBorderDashpublic default List<Integer> getBorderDash() Returns the line dash pattern used when stroking lines, using an array of values which specify alternating lengths of lines and gaps which describe the pattern.- Returns:
- the line dash pattern used when stroking lines, using an array of values which specify alternating lengths of lines and gaps which describe the pattern.
 
 - 
setBorderDashOffsetpublic default void setBorderDashOffset(double borderDashOffset) Sets the line dash pattern offset.- Parameters:
- borderDashOffset- the line dash pattern offset.
 
 - 
getBorderDashOffsetpublic default double getBorderDashOffset() Returns the line dash pattern offset.- Returns:
- the line dash pattern offset.
 
 - 
getBorderColorCallbackpublic default ColorCallback<AnnotationContext> getBorderColorCallback() Returns the callback called to set the color of the border of annotation.- Returns:
- the callback called to set the color of the border of annotation
 
 - 
setBorderColorpublic default void setBorderColor(ColorCallback<AnnotationContext> borderColorCallback) Sets the callback to set the color of the border of annotation.- Parameters:
- borderColorCallback- to set the color of the border of annotation
 
 - 
setBorderColorpublic default void setBorderColor(NativeCallback borderColorCallback) Sets the callback to set the color of the border of annotation.- Parameters:
- borderColorCallback- to set the color of the border of annotation
 
 - 
getBorderWidthCallbackpublic default WidthCallback<AnnotationContext> getBorderWidthCallback() Returns the callback called to set the width of the border in pixels.- Returns:
- the callback called to set the width of the border in pixels
 
 - 
setBorderWidthpublic default void setBorderWidth(WidthCallback<AnnotationContext> borderWidthCallback) Sets the callback to set the color of the width of the border in pixels.- Parameters:
- borderWidthCallback- to set the width of the border in pixels
 
 - 
setBorderWidthpublic default void setBorderWidth(NativeCallback borderWidthCallback) Sets the callback to set the color of the width of the border in pixels.- Parameters:
- borderWidthCallback- to set the width of the border in pixels
 
 - 
getBorderDashCallbackpublic default BorderDashCallback<AnnotationContext> getBorderDashCallback() Returns the callback called to set the line dash pattern used when stroking lines, using an array of values which specify alternating lengths of lines and gaps which describe the pattern.- Returns:
- the callback called to set the line dash pattern used when stroking lines, using an array of values which specify alternating lengths of lines and gaps which describe the pattern
 
 - 
setBorderDashpublic default void setBorderDash(BorderDashCallback<AnnotationContext> borderDashCallback) Sets the callback to set the line dash pattern used when stroking lines, using an array of values which specify alternating lengths of lines and gaps which describe the pattern.- Parameters:
- borderDashCallback- to set the line dash pattern used when stroking lines, using an array of values which specify alternating lengths of lines and gaps which describe the pattern
 
 - 
setBorderDashpublic default void setBorderDash(NativeCallback borderDashCallback) Sets the callback to set the line dash pattern used when stroking lines, using an array of values which specify alternating lengths of lines and gaps which describe the pattern.- Parameters:
- borderDashCallback- to set the line dash pattern used when stroking lines, using an array of values which specify alternating lengths of lines and gaps which describe the pattern
 
 - 
getBorderDashOffsetCallbackpublic default BorderDashOffsetCallback<AnnotationContext> getBorderDashOffsetCallback() Returns the callback called to set the line dash pattern offset.- Returns:
- the callback called to set the line dash pattern offset
 
 - 
setBorderDashOffsetpublic default void setBorderDashOffset(BorderDashOffsetCallback<AnnotationContext> borderDashOffsetCallback) Sets the callback to set the line dash pattern offset.- Parameters:
- borderDashOffsetCallback- to set the line dash pattern offset
 
 - 
setBorderDashOffsetpublic default void setBorderDashOffset(NativeCallback borderDashOffsetCallback) Sets the callback to set the line dash pattern offset.- Parameters:
- borderDashOffsetCallback- to set the line dash pattern offset
 
 - 
setBorderShadowColorpublic default void setBorderShadowColor(IsColor borderColor) Sets the color of the border shadow of annotation.- Parameters:
- borderColor- the color of the border shadow of annotation
 
 - 
setBorderShadowColorpublic default void setBorderShadowColor(String borderColor) Sets the color of the border shadow of annotation.- Parameters:
- borderColor- the color of the border shadow of annotation
 
 - 
getBorderShadowColorAsStringpublic default String getBorderShadowColorAsString() Returns the color of the border shadow of annotation.- Returns:
- the color of the border shadow of annotation
 
 - 
getBorderShadowColorpublic default IsColor getBorderShadowColor() Returns the color of the border shadow of annotation.- Returns:
- the color of the border shadow of annotation
 
 - 
setShadowBlurpublic default void setShadowBlur(double shadowBlur) Sets the amount of blur applied to shadows.- Parameters:
- shadowBlur- the amount of blur applied to shadows
 
 - 
getShadowBlurpublic default double getShadowBlur() Returns the amount of blur applied to shadows.- Returns:
- the amount of blur applied to shadows
 
 - 
setShadowOffsetXpublic default void setShadowOffsetX(int shadowOffset) Sets the distance that shadows will be offset horizontally.- Parameters:
- shadowOffset- the distance that shadows will be offset horizontally.
 
 - 
getShadowOffsetXpublic default int getShadowOffsetX() Returns the distance that shadows will be offset horizontally.- Returns:
- the distance that shadows will be offset horizontally.
 
 - 
setShadowOffsetYpublic default void setShadowOffsetY(int shadowOffset) Sets the distance that shadows will be offset vertically.- Parameters:
- shadowOffset- the distance that shadows will be offset vertically.
 
 - 
getShadowOffsetYpublic default int getShadowOffsetY() Returns the distance that shadows will be offset vertically.- Returns:
- the distance that shadows will be offset vertically.
 
 - 
getBorderShadowColorCallbackpublic default ColorCallback<AnnotationContext> getBorderShadowColorCallback() Returns the callback called to set the color of the border shadow of annotation.- Returns:
- the callback called to set the color of the border shadow of annotation
 
 - 
setBorderShadowColorpublic default void setBorderShadowColor(ColorCallback<AnnotationContext> borderShadowColorCallback) Sets the callback to set the color of the border shadow of annotation.- Parameters:
- borderShadowColorCallback- to set the color of the border shadow of annotation
 
 - 
setBorderShadowColorpublic default void setBorderShadowColor(NativeCallback borderShadowColorCallback) Sets the callback to set the color of the border shadow of annotation.- Parameters:
- borderShadowColorCallback- to set the color of the border shadow of annotation
 
 - 
getShadowBlurCallbackpublic default ShadowBlurCallback getShadowBlurCallback() Returns the callback called to set the amount of blur applied to shadows.- Returns:
- the callback called to set the amount of blur applied to shadows.
 
 - 
setShadowBlurpublic default void setShadowBlur(ShadowBlurCallback shadowBlurCallback) Sets the callback to set the amount of blur applied to shadows.- Parameters:
- shadowBlurCallback- to set the amount of blur applied to shadows.
 
 - 
setShadowBlurpublic default void setShadowBlur(NativeCallback shadowBlurCallback) Sets the callback to set the amount of blur applied to shadows.- Parameters:
- shadowBlurCallback- to set the amount of blur applied to shadows.
 
 - 
getShadowOffsetXCallbackpublic default ShadowOffsetCallback getShadowOffsetXCallback() Returns the callback called to set the distance that shadows will be offset horizontally.- Returns:
- the callback called to set the distance that shadows will be offset horizontally.
 
 - 
setShadowOffsetXpublic default void setShadowOffsetX(ShadowOffsetCallback shadowOffsetCallback) Sets the callback to set the distance that shadows will be offset horizontally.- Parameters:
- shadowOffsetCallback- to set the distance that shadows will be offset horizontally.
 
 - 
setShadowOffsetXpublic default void setShadowOffsetX(NativeCallback shadowOffsetCallback) Sets the callback to set the distance that shadows will be offset horizontally.- Parameters:
- shadowOffsetCallback- to set the distance that shadows will be offset horizontally.
 
 - 
getShadowOffsetYCallbackpublic default ShadowOffsetCallback getShadowOffsetYCallback() Returns the callback called to set the distance that shadows will be offset vertically.- Returns:
- the callback called to set the distance that shadows will be offset vertically.
 
 - 
setShadowOffsetYpublic default void setShadowOffsetY(ShadowOffsetCallback shadowOffsetCallback) Sets the callback to set the distance that shadows will be offset vertically.- Parameters:
- shadowOffsetCallback- to set the distance that shadows will be offset vertically.
 
 - 
setShadowOffsetYpublic default void setShadowOffsetY(NativeCallback shadowOffsetCallback) Sets the callback to set the distance that shadows will be offset vertically.- Parameters:
- shadowOffsetCallback- to set the distance that shadows will be offset vertically.
 
 - 
getEnterCallbackpublic default EnterCallback getEnterCallback() Returns the callback called when a "enter" event is occurring.- Returns:
- the callback called when a "enter" event is occurring
 
 - 
setEnterCallbackpublic default void setEnterCallback(EnterCallback enterCallback) Sets the callback called when a "enter" event is occurring.- Parameters:
- enterCallback- the callback called when a "enter" event is occurring
 
 - 
getLeaveCallbackpublic default LeaveCallback getLeaveCallback() Returns the callback called when a "leave" event is occurring.- Returns:
- the callback called when a "leave" event is occurring
 
 - 
setLeaveCallbackpublic default void setLeaveCallback(LeaveCallback leaveCallback) Sets the callback called when a "leave" event is occurring.- Parameters:
- leaveCallback- the callback called when a "leave" event is occurring
 
 - 
getClickCallbackpublic default ClickCallback getClickCallback() Returns the callback called when a "click" event is occurring.- Returns:
- the callback called when a "click" event is occurring
 
 - 
setClickCallbackpublic default void setClickCallback(ClickCallback clickCallback) Sets the callback called when a "click" event is occurring.- Parameters:
- clickCallback- the callback called when a "click" event is occurring
 
 
- 
 
-