Class AbstractAnnotation

  • Direct Known Subclasses:
    Arrow, Highlight, Text

    public abstract class AbstractAnnotation
    extends java.lang.Object
    Abstract annotation class containing common methods.
    • Method Detail

      • getPage

        public int getPage()
        Gets the page.
        Returns:
        the page
      • isEdit

        public boolean isEdit()
        Checks if annotation can be edited.
        Returns:
        true, the annotation can be edited
      • getProperty

        public java.lang.String getProperty​(AbstractAnnotation.AnnotationProperty property)
        Gets the property.
        Parameters:
        property - the property
        Returns:
        the value of the property
      • setProperty

        public void setProperty​(AbstractAnnotation.AnnotationProperty property,
                                java.lang.String value)
        Sets the property.
        Parameters:
        property - the property
        value - the value
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
        See Also:
        Object.hashCode()
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
        See Also:
        Object.equals(java.lang.Object)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
        See Also:
        Object.toString()