public interface HTMLElement extends ScriptingEventHandler
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAttribute(java.lang.String name)
Returns the value of the attribute of this element with the specified name.
|
java.lang.String |
getClassName()
Returns the class associated with this element.
|
java.lang.String |
getID()
Returns the ID associated with this element.
|
java.lang.String |
getName()
Returns the name associated with this element.
|
org.w3c.dom.Node |
getNode()
Returns the DOM node underlying this element.
|
ScriptableDelegate |
getParentDelegate()
Returns the scriptable delegate which can provide the scriptable delegate for this element.
|
ScriptingHandler |
getScriptingHandler()
Returns the delegate which supports scripting this element.
|
java.lang.String |
getTagName()
Returns the tag name of this node.
|
java.lang.String |
getText()
Returns the contents of this element, converted to a string.
|
java.lang.String |
getTitle()
Returns the title associated with this element.
|
boolean |
isSupportedAttribute(java.lang.String name)
Returns true if this element may have an attribute with the specified name.
|
ScriptableDelegate |
newScriptable() |
void |
removeAttribute(java.lang.String name)
Remove the attribute of this element with the specified name.
|
void |
setAttribute(java.lang.String name,
java.lang.Object value)
Set the value of the attribute of this element with the specified name.
|
doEvent, doEventScript, handleEvent
java.lang.String getID()
java.lang.String getClassName()
java.lang.String getName()
java.lang.String getTitle()
java.lang.String getAttribute(java.lang.String name)
void setAttribute(java.lang.String name, java.lang.Object value)
void removeAttribute(java.lang.String name)
boolean isSupportedAttribute(java.lang.String name)
ScriptingHandler getScriptingHandler()
java.lang.String getText()
java.lang.String getTagName()
ScriptableDelegate newScriptable()
ScriptableDelegate getParentDelegate()
org.w3c.dom.Node getNode()