Documentation of 'org.jfree.chart.annotations.AbstractAnnotation' Java class
AbstractAnnotation
org.jfree.chart.annotations

Class AbstractAnnotation

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void addChangeListener(AnnotationChangeListener listener)
      Registers an object to receive notification of changes to the annotation.
      java.lang.Object clone()
      Returns a clone of the annotation.
      boolean getNotify()
      Returns a flag that indicates whether listeners should be notified about changes to the annotation.
      boolean hasListener(java.util.EventListener listener)
      Returns true if the specified object is registered with the annotation as a listener.
      void removeChangeListener(AnnotationChangeListener listener)
      Deregisters an object so that it no longer receives notification of changes to the annotation.
      void setNotify(boolean flag)
      Sets a flag that indicates whether listeners should be notified about changes of an annotation.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getNotify

        public boolean getNotify()
        Returns a flag that indicates whether listeners should be notified about changes to the annotation.
        Returns:
        the flag.
        See Also:
        setNotify(boolean)
      • setNotify

        public void setNotify(boolean flag)
        Sets a flag that indicates whether listeners should be notified about changes of an annotation.
        Parameters:
        flag - the flag
        See Also:
        getNotify()
      • clone

        public java.lang.Object clone()
                               throws java.lang.CloneNotSupportedException
        Returns a clone of the annotation. The cloned annotation will NOT include the AnnotationChangeListener references that have been registered with this annotation.
        Overrides:
        clone in class java.lang.Object
        Returns:
        A clone.
        Throws:
        java.lang.CloneNotSupportedException - if the annotation does not support cloning.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.