Class AnnotationContext


  • public final class AnnotationContext
    extends ChartContext
    The callback or handler context wrapper, created and passed by AnnotationPlugin.ID which contains the link to the native chart.
    Author:
    Andrea "Stock" Stocchero
    • Method Detail

      • getAnnotation

        public AbstractAnnotation getAnnotation()
        Returns the annotation of plugin.
        Returns:
        the annotation of plugin
      • isConsistent

        protected boolean isConsistent()
        Description copied from class: ChartContext
        Returns true if the context is consistent.
        Custom context (the plugin ones) should extend it and check if the context is consistent before invoking the callback.
        Overrides:
        isConsistent in class ChartContext
        Returns:
        true if the context is consistent