public class Link extends HTMLTagWithCoreEvents
XMLContainerImpl.sModemContentAndSubtagList| Constructor and Description |
|---|
Link() |
Link(CharSequence inURL) |
Link(CharSequence inURL,
HTMLTag inContentTag) |
Link(CharSequence inURL,
String inContent) |
Link(XMLNode inXMLNode) |
| Modifier and Type | Method and Description |
|---|---|
Link |
addClass(String inValue) |
Img |
addImage(String inSrc) |
Span |
addSpan() |
Span |
addSpan(String inContent) |
Link |
addStyle(String inValue) |
String |
getName() |
String |
getTarget() |
String |
getURL() |
Link |
setClass(String inValue) |
Link |
setId(String inValue) |
Link |
setName(String inValue) |
Link |
setOnClick(String inValue) |
Link |
setOnDblClick(String inValue) |
Link |
setOnKeyDown(String inValue) |
Link |
setOnKeyPress(String inValue) |
Link |
setOnKeyUp(String inValue) |
Link |
setOnMouseDown(String inValue) |
Link |
setOnMouseMove(String inValue) |
Link |
setOnMouseOut(String inValue) |
Link |
setOnMouseOver(String inValue) |
Link |
setOnMouseUp(String inValue) |
Link |
setStyle(CharSequence inValue) |
Link |
setTarget(String inValue)
The target for the link can be set to one of several special values or a tab/window name of your choosing.
|
Link |
setTitle(String inValue) |
Link |
setURL(CharSequence inValue) |
appendToOnClick, appendToOnDblClick, appendToOnKeyDown, appendToOnKeyPress, appendToOnKeyUp, appendToOnMouseDown, appendToOnMouseMove, appendToOnMouseOut, appendToOnMouseOver, appendToOnMouseUp, getOnClick, getOnDblClick, getOnKeyDown, getOnKeyPress, getOnKeyUp, getOnMouseDown, getOnMouseMove, getOnMouseOut, getOnMouseOver, getOnMouseUpapplyColorSpec, clone, getClassAttribute, getDraggable, getId, getStyle, initFromXMLNode, removeClass, removeStyleProperty, setAttribute, setAttribute, setDraggable, setStyleColor, toHTML, toHTML, toHTML, toIndentedHTML, toIndentedHTML, toIndentedHTML, toTextaddSubtag, addSubtag, addXMLNamespaceDeclaration, compareTo, equals, findNodesByAttributeValue, findNodesByAttributeValue, getAttribute, getAttribute, getAttributes, getAttributeValue, getAttributeValue, getEndTag, getNamespace, getQualifiedTagName, getStartTag, getTagName, hasAttribute, hasAttribute, hasAttributes, isEmptyTag, removeAttribute, removeAttribute, replaceCharacterEntities, setAttribute, setAttributes, setContent, setDefaultXMLNamespaceDeclaration, setNamespace, setSortAttributesBeforeWriting, setTagName, setTagName, sortAttributes, toIndentedXML, toIndentedXML, toIndentedXML, toIndentedXML, toString, toXML, toXML, toXML, toXML, useDoubleQuotes, verifyTagName, verifyTagName, verifyTagName, verifyTagNameaddContent, addContentWithoutEscaping, addSubtag, addSubtag, addSubtags, clearContent, clearSubtags, getContent, getContentPlusSubtagList, getNextSibling, getOptionalSubtagByName, getOptionalSubtagByName, getOptionalSubtagByName, getOptionalSubtagByName, getParentNode, getPreviousSibling, getRequiredSubtagById, getRequiredSubtagById, getRequiredSubtagByName, getRequiredSubtagByName, getSubtagByAttribute, getSubtagByAttribute, getSubtags, getSubtagsByAttribute, getSubtagsByAttribute, getSubtagsByAttribute, getSubtagsByAttribute, getSubtagsByAttribute, getSubtagsByClass, getSubtagsByClass, getSubtagsByName, getSubtagsByName, getSubtagsByName, getSubtagsByName, getSubtagsByName, getTotalTagCount, getUnescapedContent, getXMLNodeSubtags, hasContent, hasContentOrSubtags, indexOf, innerHTML, removeSubtag, removeSubtagsByAttribute, removeSubtagsByAttribute, removeSubtagsByAttribute, removeSubtagsByClass, removeSubtagsByClass, removeSubtagsByName, removeSubtagsByName, removeSubtagsByName, setContent, setParentNode, setSubtagsfinalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindNodesByAttributeValue, findNodesByAttributeValue, getAttribute, getAttribute, getAttributes, getAttributeValue, getAttributeValue, getNamespace, getTagName, hasAttribute, hasAttribute, hasAttributes, isEmptyTag, removeAttribute, removeAttribute, replaceCharacterEntities, setAttribute, setAttributes, setNamespace, setTagName, setTagName, toIndentedXML, verifyTagName, verifyTagName, verifyTagName, verifyTagNameaddContent, addContentWithoutEscaping, addSubtag, addSubtags, clearContent, clearSubtags, getContent, getNextSibling, getOptionalSubtagByName, getOptionalSubtagByName, getParentNode, getPreviousSibling, getRequiredSubtagByName, getRequiredSubtagByName, getSubtags, getSubtagsByName, getSubtagsByName, getSubtagsByName, getSubtagsByName, getTotalTagCount, getUnescapedContent, getXMLNodeSubtags, hasContent, indexOf, removeSubtag, removeSubtagsByName, removeSubtagsByName, setContent, setParentNode, setSubtagstoIndentedXML, toIndentedXML, toIndentedXML, toXML, toXML, toXMLpublic Link()
public Link(CharSequence inURL)
public Link(CharSequence inURL, String inContent)
public Link(CharSequence inURL, HTMLTag inContentTag)
public Link setURL(CharSequence inValue)
public Link setTarget(String inValue)
_blank Opens the linked document in a new window or tab
_self Opens the linked document in the same frame as it was clicked (this is default)
_parent Opens the linked document in the parent frame
_top Opens the linked document in the full body of the window
framename Opens the linked document in a named frame
inValue - the target namepublic Link setStyle(CharSequence inValue)
public Link setOnClick(String inValue)
setOnClick in class HTMLTagWithCoreEventspublic Link setOnDblClick(String inValue)
setOnDblClick in class HTMLTagWithCoreEventspublic Link setOnMouseDown(String inValue)
setOnMouseDown in class HTMLTagWithCoreEventspublic Link setOnMouseMove(String inValue)
setOnMouseMove in class HTMLTagWithCoreEventspublic Link setOnMouseOut(String inValue)
setOnMouseOut in class HTMLTagWithCoreEventspublic Link setOnMouseOver(String inValue)
setOnMouseOver in class HTMLTagWithCoreEventspublic Link setOnMouseUp(String inValue)
setOnMouseUp in class HTMLTagWithCoreEventspublic Link setOnKeyDown(String inValue)
setOnKeyDown in class HTMLTagWithCoreEventspublic Link setOnKeyPress(String inValue)
setOnKeyPress in class HTMLTagWithCoreEventspublic Link setOnKeyUp(String inValue)
setOnKeyUp in class HTMLTagWithCoreEvents
jataylor@hairyfatguy.com