Class AbstractAnnotation

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected AbstractAnnotation()
      Constructs an annotation.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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.
      protected void fireAnnotationChanged()
      Notifies all registered listeners that the annotation has changed.
      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.
      protected void notifyListeners​(AnnotationChangeEvent event)
      Notifies all registered listeners that the annotation has changed.
      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, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait