Class TextLink


  • public class TextLink
    extends java.lang.Object
    A custom class.
    • Constructor Summary

      Constructors 
      Constructor Description
      TextLink()
      Creates a new TextLink.
      TextLink​(java.lang.String aLink)
      Creates a new TextLink.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object anObj)
      Standard equals implementation.
      SnapColor getColor()
      Returns the link color.
      java.lang.String getString()
      Returns the link string.
      int hashCode()
      Standard hashCode implementation.
      void setString​(java.lang.String aString)
      Sets the link string.
      java.lang.String toString()
      Standard toString implementation.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • TextLink

        public TextLink()
        Creates a new TextLink.
      • TextLink

        public TextLink​(java.lang.String aLink)
        Creates a new TextLink.
    • Method Detail

      • getString

        public java.lang.String getString()
        Returns the link string.
      • setString

        public void setString​(java.lang.String aString)
        Sets the link string.
      • getColor

        public SnapColor getColor()
        Returns the link color.
      • equals

        public boolean equals​(java.lang.Object anObj)
        Standard equals implementation.
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Standard hashCode implementation.
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Standard toString implementation.
        Overrides:
        toString in class java.lang.Object