|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kde.koala.Node
org.kde.koala.Element
org.kde.koala.HTMLElement
public class HTMLElement
All HTML element interfaces derive from this class. Elements that
only expose the HTML core attributes are represented by the base
HTMLElement
interface. These elements are as
follows:
\li HEAD
style
attribute for this
interface is reserved for future usage.
Constructor Summary | |
---|---|
|
HTMLElement()
|
protected |
HTMLElement(java.lang.Class dummy)
|
|
HTMLElement(HTMLElement other)
|
|
HTMLElement(Node other)
|
Method Summary | |
---|---|
void |
addCSSProperty(java.lang.String property,
java.lang.String value)
|
HTMLCollection |
all()
Retrieves a collection of all nodes that descend from this node. |
protected void |
assignOther(Node other,
int elementId)
|
HTMLCollection |
children()
Retrieves a collection of nodes that are direct descendants of this node. |
java.lang.String |
className()
The class attribute of the element. |
java.lang.String |
dir()
Specifies the base direction of directionally neutral text and the directionality of tables. |
java.lang.String |
id()
The element's identifier. |
java.lang.String |
innerHTML()
The HTML code contained in this element. |
java.lang.String |
innerText()
The text contained in this element. |
java.lang.String |
lang()
Language code defined in RFC 1766. |
void |
removeCSSProperty(java.lang.String property)
|
void |
setClassName(java.lang.String arg1)
see className |
void |
setDir(java.lang.String arg1)
see dir |
void |
setId(java.lang.String arg1)
see id |
void |
setInnerHTML(java.lang.String html)
Set the HTML content of this node. |
void |
setInnerText(java.lang.String text)
Set the text content of this node. |
void |
setLang(java.lang.String arg1)
see lang |
void |
setTitle(java.lang.String arg1)
see title |
java.lang.String |
title()
The element's advisory title. |
Methods inherited from class org.kde.koala.Node |
---|
addEventListener, appendChild, applyChanges, attributes, childNodes, cloneNode, dispatchEvent, elementId, firstChild, getRect, hasAttributes, hasChildNodes, index, insertBefore, isNull, isSupported, lastChild, localName, namespaceURI, nextSibling, nodeName, nodeType, nodeValue, normalize, op_equals, op_not_equals, ownerDocument, parentNode, prefix, previousSibling, removeChild, removeEventListener, replaceChild, setNodeValue, setPrefix |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected HTMLElement(java.lang.Class dummy)
public HTMLElement()
public HTMLElement(HTMLElement other)
public HTMLElement(Node other)
Method Detail |
---|
public java.lang.String id()
public void setId(java.lang.String arg1)
public java.lang.String title()
public void setTitle(java.lang.String arg1)
public java.lang.String lang()
public void setLang(java.lang.String arg1)
public java.lang.String dir()
public void setDir(java.lang.String arg1)
public java.lang.String className()
public void setClassName(java.lang.String arg1)
public java.lang.String innerHTML()
public void setInnerHTML(java.lang.String html)
public java.lang.String innerText()
public void setInnerText(java.lang.String text)
public HTMLCollection children()
public HTMLCollection all()
public void removeCSSProperty(java.lang.String property)
public void addCSSProperty(java.lang.String property, java.lang.String value)
protected void assignOther(Node other, int elementId)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |