public class Anchor extends HTMLElement
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE| Constructor and Description |
|---|
Anchor()
Create an instance.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getDefaultValue(Class hint)
Calls for instance for implicit conversion to string
|
void |
jsConstructor()
Javascript constructor.
|
String |
jsxGet_hash()
Returns the hash portion of the link's URL (the portion following the '#').
|
String |
jsxGet_host()
Returns the host portion of the link's URL (the '[hostname]:[port]' portion).
|
String |
jsxGet_hostname()
Returns the hostname portion of the link's URL.
|
String |
jsxGet_href()
Return the value of the href property of this link.
|
String |
jsxGet_name()
Return the value of the name property of this link.
|
String |
jsxGet_pathname()
Returns the pathname portion of the link's URL.
|
String |
jsxGet_port()
Returns the port portion of the link's URL.
|
String |
jsxGet_protocol()
Returns the protocol portion of the link's URL, including the trailing ':'.
|
String |
jsxGet_search()
Returns the search portion of the link's URL (the portion starting with
'?' and up to but not including any '#').
|
String |
jsxGet_target()
Return the value of the target property of this link.
|
void |
jsxSet_hash(String hash)
Sets the hash portion of the link's URL (the portion following the '#').
|
void |
jsxSet_host(String host)
Sets the host portion of the link's URL (the '[hostname]:[port]' portion).
|
void |
jsxSet_hostname(String hostname)
Sets the hostname portion of the link's URL.
|
void |
jsxSet_href(String href)
Set the href property.
|
void |
jsxSet_name(String name)
Set the name property.
|
void |
jsxSet_pathname(String pathname)
Sets the pathname portion of the link's URL.
|
void |
jsxSet_port(String port)
Sets the port portion of the link's URL.
|
void |
jsxSet_protocol(String protocol)
Sets the protocol portion of the link's URL.
|
void |
jsxSet_search(String search)
Sets the search portion of the link's URL (the portion starting with '?'
and up to but not including any '#')..
|
void |
jsxSet_target(String target)
set the target property of this link.
|
addComponentRequest, clearComponentRequest, compareVersions, doComponentRequest, getAvailHeight, getAvailWidth, getBoxObject, getBufferDepth, getColorDepth, getComponentVersion, getConnectionType, getCookieEnabled, getCpuClass, getHeight, getHtmlElementOrDie, getHtmlElementOrNull, getJavaEnabled, getPlatform, getSystemLanguage, getUserLanguage, getWidth, getWithFallback, isComponentInstalled, isHomePage, jsxFunction_addBehavior, jsxFunction_blur, jsxFunction_dispatchEvent, jsxFunction_fireEvent, jsxFunction_focus, jsxFunction_getAttribute, jsxFunction_getAttributeNode, jsxFunction_getAttributeNS, jsxFunction_getBoundingClientRect, jsxFunction_getClientRects, jsxFunction_getElementsByTagName, jsxFunction_hasAttribute, jsxFunction_hasAttributeNS, jsxFunction_insertAdjacentElement, jsxFunction_insertAdjacentHTML, jsxFunction_removeAttribute, jsxFunction_removeBehavior, jsxFunction_removeExpression, jsxFunction_scrollIntoView, jsxFunction_setAttribute, jsxFunction_setAttributeNode, jsxFunction_setAttributeNS, jsxFunction_setExpression, jsxGet_all, jsxGet_attributes, jsxGet_children, jsxGet_className, jsxGet_currentStyle, jsxGet_disabled, jsxGet_id, jsxGet_innerHTML, jsxGet_innerText, jsxGet_localName, jsxGet_namespaceURI, jsxGet_offsetHeight, jsxGet_offsetLeft, jsxGet_offsetParent, jsxGet_offsetTop, jsxGet_offsetWidth, jsxGet_onblur, jsxGet_onclick, jsxGet_oncontextmenu, jsxGet_ondblclick, jsxGet_onfocus, jsxGet_onkeydown, jsxGet_onkeypress, jsxGet_onkeyup, jsxGet_onmousedown, jsxGet_onmousemove, jsxGet_onmouseout, jsxGet_onmouseover, jsxGet_onmouseup, jsxGet_onresize, jsxGet_outerHTML, jsxGet_ownerDocument, jsxGet_parentElement, jsxGet_prefix, jsxGet_runtimeStyle, jsxGet_scrollHeight, jsxGet_scrollLeft, jsxGet_scrollTop, jsxGet_scrollWidth, jsxGet_style, jsxGet_tagName, jsxGet_title, jsxGet_uniqueID, jsxSet_className, jsxSet_disabled, jsxSet_id, jsxSet_innerHTML, jsxSet_innerText, jsxSet_onblur, jsxSet_onclick, jsxSet_oncontextmenu, jsxSet_ondblclick, jsxSet_onfocus, jsxSet_onkeydown, jsxSet_onkeypress, jsxSet_onkeyup, jsxSet_onmousedown, jsxSet_onmousemove, jsxSet_onmouseout, jsxSet_onmouseover, jsxSet_onmouseup, jsxSet_onresize, jsxSet_outerHTML, jsxSet_scrollLeft, jsxSet_scrollTop, jsxSet_title, navigateHomePage, readAttributes, setDomNode, setHomePage, startDownload, toStringexecuteEvent, fireEvent, getEventHandler, getEventHandlerProp, getJavaScriptNode, jsxFunction_addEventListener, jsxFunction_appendChild, jsxFunction_attachEvent, jsxFunction_cloneNode, jsxFunction_detachEvent, jsxFunction_hasChildNodes, jsxFunction_insertBefore, jsxFunction_isSameNode, jsxFunction_removeChild, jsxFunction_removeEventListener, jsxFunction_replaceChild, jsxGet_childNodes, jsxGet_firstChild, jsxGet_lastChild, jsxGet_nextSibling, jsxGet_nodeName, jsxGet_nodeType, jsxGet_nodeValue, jsxGet_parentNode, jsxGet_previousSibling, jsxSet_nodeValue, setEventHandler, setEventHandlerPropget, getBooleanArg, getClassName, getDomNodeOrDie, getDomNodeOrNull, getIntArg, getLog, getObjectArg, getPrototype, getScriptableFor, getStartingScope, getStringArg, getTransformerScriptableFor, getWindow, getWindow, getWithPreemption, makeScriptableFor, setDomNode, setHtmlElementassociateValue, callMethod, callMethod, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, equivalentValues, get, getAllIds, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, has, has, hasInstance, hasProperty, hasProperty, isConst, isSealed, put, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setGetterOrSetter, setParentScope, setPrototypepublic void jsConstructor()
public void jsxSet_href(String href)
href - href attribute value.public String jsxGet_href() throws Exception
Exception - If an error occurs.public void jsxSet_name(String name)
name - name attribute value.public String jsxGet_name() throws Exception
Exception - If an error occurs.public void jsxSet_target(String target)
target - target attribute value.public String jsxGet_target()
public String jsxGet_search() throws Exception
Exception - If an error occurs.public void jsxSet_search(String search) throws Exception
search - The new search portion of the link's URL.Exception - If an error occurs.public String jsxGet_hash() throws Exception
Exception - If an error occurs.public void jsxSet_hash(String hash) throws Exception
hash - The new hash portion of the link's URL.Exception - If an error occurs.public String jsxGet_host() throws Exception
Exception - If an error occurs.public void jsxSet_host(String host) throws Exception
host - The new host portion of the link's URL.Exception - If an error occurs.public String jsxGet_hostname() throws Exception
Exception - If an error occurs.public void jsxSet_hostname(String hostname) throws Exception
hostname - The new hostname portion of the link's URL.Exception - If an error occurs.public String jsxGet_pathname() throws Exception
Exception - If an error occurs.public void jsxSet_pathname(String pathname) throws Exception
pathname - The new pathname portion of the link's URL.Exception - If an error occurs.public String jsxGet_port() throws Exception
Exception - If an error occurs.public void jsxSet_port(String port) throws Exception
port - The new port portion of the link's URL.Exception - If an error occurs.public String jsxGet_protocol() throws Exception
Exception - If an error occurs.public void jsxSet_protocol(String protocol) throws Exception
protocol - The new protocol portion of the link's URL.Exception - If an error occurs.public Object getDefaultValue(Class hint)
getDefaultValue in interface org.mozilla.javascript.ScriptablegetDefaultValue in class SimpleScriptablehint - the type hintSimpleScriptable.getDefaultValue(java.lang.Class)Copyright © 2002-2012 Gargoyle Software Inc.. All Rights Reserved.