public interface GXILinkTag extends GXIClickableTag
An onNewLink event is thrown when a new link is created by the Renderer.
The method getContent() returns the text of the link.
To create a new link use GXHtmlTagFactory.instance().newLink(...)
TODO roi render config links
| Modifier and Type | Method and Description |
|---|---|
String |
getOnClick() |
String |
getTarget() |
String |
getText()
Returns the tag's text.
|
void |
setOnClick(String onClick) |
void |
setTarget(String targetUrl) |
void |
setText(String text)
Sets the tag's text.
|
handleEventcopyFrom, getAttribute, getBottomMargin, getBottomPadding, getChildren, getContent, getHostField, getId, getLength, getOffsetHeight, getOffsetLeft, getOffsetRight, getOffsetTop, getParent, getPosition, getTagName, getTopMargin, getTopPadding, hasChildren, isVisible, removeAttribute, setAttribute, setBottomMargin, setBottomPadding, setId, setLength, setOffsetHeight, setOffsetLeft, setOffsetRight, setOffsetTop, setPosition, setPosition, setTopMargin, setTopPadding, setVisible, setVisibleString getOnClick()
void setOnClick(String onClick)
onClick - The onClick action to execute. JavaScript command in HTMLString getTarget()
void setTarget(String targetUrl)
targetUrl - The target URL. The default value is "#".String getText()
void setText(String text)
text - the tag's textCopyright 2022 Software AG. All rights reserved. Use is subject to license terms.