Uses of Interface
org.pepstock.charba.client.annotation.AnnotationId
-
Packages that use AnnotationId Package Description org.pepstock.charba.client.annotation Contains all classes to activate theAnnotationPlugin.ID
plugin (AKAchartjs-plugin-annotation.js
) for CHART.js. -
-
Uses of AnnotationId in org.pepstock.charba.client.annotation
Methods in org.pepstock.charba.client.annotation that return AnnotationId Modifier and Type Method Description static AnnotationId
AnnotationId. checkAndGetAnnotationID(String id, AnnotationId defaultValue)
Returns the ID of the annotation checking is consistent.static AnnotationId
AnnotationId. create(String id)
Returns a key instance by its string value.AnnotationId
AnnotationType. createId()
Creates a unique id for the annotation.
The format is:
AnnotationId
AbstractAnnotation. getId()
Returns the id of annotation.Methods in org.pepstock.charba.client.annotation with parameters of type AnnotationId Modifier and Type Method Description static AnnotationId
AnnotationId. checkAndGetAnnotationID(String id, AnnotationId defaultValue)
Returns the ID of the annotation checking is consistent.static void
AnnotationId. checkIfValid(AnnotationId id)
Checks if id passed as argument is notnull
and its value is notnull
as well and could be a valid annotation configuration object id.
If not, throw aIllegalArgumentException
.AbstractAnnotation
AnnotationOptions. getAnnotation(AnnotationId id)
Returns the annotation with the id passed as argument ornull
if not exist.boolean
AnnotationOptions. hasAnnotation(AnnotationId id)
Returnstrue
if the annotation with the id passed as argument exists.static boolean
AnnotationId. isValid(AnnotationId id)
Returnstrue
if id passed as argument is notnull
and its value is notnull
as well and could be a valid annotation configuration object id.void
AnnotationOptions. removeAnnotation(AnnotationId id)
Removes the annotation by the id passed as argument, if exists.Constructors in org.pepstock.charba.client.annotation with parameters of type AnnotationId Constructor Description BoxAnnotation(AnnotationId id)
Creates a box annotation to be added to anAnnotationOptions
instance, using the ID passed as argument.BoxAnnotation(AnnotationId id, IsChart chart)
Creates a box annotation to be added to anAnnotationOptions
instance, 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.EllipseAnnotation(AnnotationId id)
Creates a ellipse annotation to be added to anAnnotationOptions
instance, using the ID passed as argument.EllipseAnnotation(AnnotationId id, IsChart chart)
Creates a ellipse annotation to be added to anAnnotationOptions
instance, 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.LineAnnotation(AnnotationId id)
Creates a line annotation to be added to anAnnotationOptions
instance, using the ID passed as argument.LineAnnotation(AnnotationId id, IsChart chart)
Creates a line annotation to be added to anAnnotationOptions
instance, 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 line annotation to be added to anAnnotationOptions
instance, using the ID passed as argument.PointAnnotation(AnnotationId id, IsChart chart)
Creates a line annotation to be added to anAnnotationOptions
instance, 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.
-