Package snap.text
Class TextLink
java.lang.Object
snap.text.TextLink
A class to represent a hyperlink in a RichText TextStyle.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Standard equals implementation.getColor()
Returns the link color.Returns the link string.int
hashCode()
Standard hashCode implementation.static TextLink
Creates a text link for given object.void
Sets the link string.toString()
Standard toString implementation.
-
Constructor Details
-
TextLink
public TextLink()Constructor. -
TextLink
Creates a new TextLink.
-
-
Method Details
-
getString
Returns the link string. -
setString
Sets the link string. -
getColor
Returns the link color. -
equals
Standard equals implementation. -
hashCode
public int hashCode()Standard hashCode implementation. -
toString
Standard toString implementation. -
of
Creates a text link for given object.
-