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.IDplugin (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 AnnotationIdAnnotationId. checkAndGetAnnotationID(String id, AnnotationId defaultValue)Returns the ID of the annotation checking is consistent.static AnnotationIdAnnotationId. create(String id)Returns a key instance by its string value.AnnotationIdAnnotationType. createId()Creates a unique id for the annotation.
The format is:
AnnotationIdAbstractAnnotation. getId()Returns the id of annotation.Methods in org.pepstock.charba.client.annotation with parameters of type AnnotationId Modifier and Type Method Description static AnnotationIdAnnotationId. checkAndGetAnnotationID(String id, AnnotationId defaultValue)Returns the ID of the annotation checking is consistent.static voidAnnotationId. checkIfValid(AnnotationId id)Checks if id passed as argument is notnulland its value is notnullas well and could be a valid annotation configuration object id.
If not, throw aIllegalArgumentException.AbstractAnnotationAnnotationOptions. getAnnotation(AnnotationId id)Returns the annotation with the id passed as argument ornullif not exist.booleanAnnotationOptions. hasAnnotation(AnnotationId id)Returnstrueif the annotation with the id passed as argument exists.static booleanAnnotationId. isValid(AnnotationId id)Returnstrueif id passed as argument is notnulland its value is notnullas well and could be a valid annotation configuration object id.voidAnnotationOptions. 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 anAnnotationOptionsinstance, using the ID passed as argument.BoxAnnotation(AnnotationId id, IsChart chart)Creates a box 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.EllipseAnnotation(AnnotationId id)Creates a ellipse annotation to be added to anAnnotationOptionsinstance, using the ID passed as argument.EllipseAnnotation(AnnotationId id, IsChart chart)Creates a ellipse 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.LineAnnotation(AnnotationId id)Creates a line annotation to be added to anAnnotationOptionsinstance, using the ID passed as argument.LineAnnotation(AnnotationId id, IsChart chart)Creates a line 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 line annotation to be added to anAnnotationOptionsinstance, using the ID passed as argument.PointAnnotation(AnnotationId id, IsChart chart)Creates a line 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.
-