Class HTMLLink
java.lang.Object
com.amalgamasimulation.desktop.html.HTMLTag
com.amalgamasimulation.desktop.html.text.HTMLLink
- All Implemented Interfaces:
HTMLConvertable
Represents an HTML hyperlink (`` tag). It extends
HTMLTag and
provides a simple way to create clickable links with text and a URL.- Author:
- Alexey Glazyrin
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.amalgamasimulation.desktop.html.HTMLTag
append, attr, backgroundColor, colorToRGBA, copy, fillCopy, font, fontColor, fontFamily, fontSizeInPx, fontStyle, fontWeight, getAttributes, getChildren, lineHeight, marginInPx, maxHeightInPx, maxWidthInPx, paddingInPx, relativeHeight, relativeWidth, removeChildren, style, tag, tag, textAlignment, toCSS, toHTMLMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.amalgamasimulation.desktop.html.HTMLConvertable
copy, toHTML
-
Constructor Details
-
HTMLLink
Constructs a new HTMLLink instance with the specified text and URL.- Parameters:
text- the text to display as the linkurl- the URL to link to
-