Class TextBlockAnchor

  • All Implemented Interfaces:
    java.io.Serializable

    public final class TextBlockAnchor
    extends java.lang.Object
    implements java.io.Serializable
    Used to indicate the position of an anchor point for a text block.
    See Also:
    Serialized Form
    • Constructor Detail

      • TextBlockAnchor

        private TextBlockAnchor​(java.lang.String name)
        Private constructor.
        Parameters:
        name - the name.
    • Method Detail

      • toString

        public java.lang.String toString()
        Returns a string representing the object.
        Overrides:
        toString in class java.lang.Object
        Returns:
        The string.
      • equals

        public boolean equals​(java.lang.Object o)
        Returns true if this object is equal to the specified object, and false otherwise.
        Overrides:
        equals in class java.lang.Object
        Parameters:
        o - the other object.
        Returns:
        A boolean.
      • hashCode

        public int hashCode()
        Returns a hash code value for the object.
        Overrides:
        hashCode in class java.lang.Object
        Returns:
        the hashcode
      • readResolve

        private java.lang.Object readResolve()
                                      throws java.io.ObjectStreamException
        Ensures that serialization returns the unique instances.
        Returns:
        The object.
        Throws:
        java.io.ObjectStreamException - if there is a problem.