public class HTMLElementImpl extends ElementImpl implements org.w3c.dom.html.HTMLElement
Modifier and Type | Field and Description |
---|---|
static String |
UNSPECIFIED_ATTRIBUTE |
CONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONST
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
Constructor and Description |
---|
HTMLElementImpl() |
Modifier and Type | Method and Description |
---|---|
void |
click() |
void |
doClickAction() |
protected String |
getAttributeWithDefault(String attributeName,
String defaultValue) |
protected String |
getAttributeWithNoDefault(String attributeName) |
protected boolean |
getBooleanAttribute(String name) |
String |
getClassName() |
String |
getDir() |
NodeList |
getElementsByTagName(String name) |
String |
getId() |
protected int |
getIntegerAttribute(String name) |
protected int |
getIntegerAttribute(String name,
int defaultValue) |
String |
getLang() |
String |
getTitle() |
protected void |
setAttribute(String name,
boolean disabled) |
protected void |
setAttribute(String name,
int value) |
void |
setClassName(String className) |
void |
setDir(String dir) |
void |
setId(String id) |
void |
setLang(String lang) |
void |
setTitle(String title) |
addDomListener, createElement, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getElementsByTagNameNS, getNodeType, getNodeValue, getSchemaTypeInfo, handleEvent, hasAttribute, hasAttributeNS, hasAttributes, importNode, removeAttribute, removeAttributeNode, removeAttributeNS, reportPropertyChanged, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setNodeValue
getLocalName, getNamespaceURI, getNodeName, getTagName, initialize, initialize
appendChild, cloneNode, compareDocumentPosition, getBaseURI, getChildIfPermitted, getChildNodes, getElementsByTagNames, getFeature, getFirstChild, getJavaPropertyName, getLastChild, getNextSibling, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasChildNodes, initialize, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, preOrderIterator, preOrderIterator, preOrderIteratorAfterNode, preOrderIteratorAfterNode, removeChild, replaceChild, setPrefix, setTextContent, setUserData
clearCaches, createAnonymousFunctionName, get, has, newScriptingEngine, put
clearErrorMessages, discardDocumentWriteBuffer, doEvent, doEventScript, evaluateExpression, getDocumentWriteBuffer, getErrorMessages, handleScriptException, runScript, supportsScriptLanguage
associateValue, avoidObjectDetection, 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, getDefaultValue, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, has, hasInstance, hasProperty, hasProperty, isConst, isGetterOrSetter, isSealed, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setGetterOrSetter, setParentScope, setPrototype
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagNameNS, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
public static final String UNSPECIFIED_ATTRIBUTE
public void click()
public void doClickAction()
public String getId()
getId
in interface org.w3c.dom.html.HTMLElement
public void setId(String id)
setId
in interface org.w3c.dom.html.HTMLElement
public String getTitle()
getTitle
in interface org.w3c.dom.html.HTMLElement
public void setTitle(String title)
setTitle
in interface org.w3c.dom.html.HTMLElement
public String getLang()
getLang
in interface org.w3c.dom.html.HTMLElement
public void setLang(String lang)
setLang
in interface org.w3c.dom.html.HTMLElement
public String getDir()
getDir
in interface org.w3c.dom.html.HTMLElement
public void setDir(String dir)
setDir
in interface org.w3c.dom.html.HTMLElement
public String getClassName()
getClassName
in interface org.mozilla.javascript.Scriptable
getClassName
in interface org.w3c.dom.html.HTMLElement
getClassName
in class AbstractDomComponent
public void setClassName(String className)
setClassName
in interface org.w3c.dom.html.HTMLElement
public NodeList getElementsByTagName(String name)
getElementsByTagName
in interface Element
getElementsByTagName
in class NodeImpl
protected final String getAttributeWithDefault(String attributeName, String defaultValue)
protected boolean getBooleanAttribute(String name)
protected int getIntegerAttribute(String name)
protected int getIntegerAttribute(String name, int defaultValue)
protected void setAttribute(String name, boolean disabled)
protected void setAttribute(String name, int value)
Copyright © 2012. All Rights Reserved.