You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
145 lines
4.7 KiB
145 lines
4.7 KiB
//Auto-generated by kalyptus. DO NOT EDIT.
|
|
package org.kde.koala;
|
|
|
|
import org.kde.qt.Qt;
|
|
import org.kde.qt.QtSupport;
|
|
|
|
/**
|
|
|
|
All HTML element interfaces derive from this class. Elements that
|
|
only expose the HTML core attributes are represented by the base
|
|
<code>HTMLElement</code> interface. These elements are as
|
|
follows:
|
|
\li <code>HEAD</code>
|
|
<li>special</li>: <tt> SUB, SUP, SPAN, BDO </tt>
|
|
<li>font</li>: <tt> TT, I, B, U, S, STRIKE, BIG, SMALL </tt>
|
|
<li>phrase</li>: <tt> EM, STRONG, DFN, CODE, SAMP, KBD, VAR,
|
|
CITE, ACRONYM, ABBR</tt>
|
|
<li>list</li>: <tt> DD, DT </tt>
|
|
\li <tt> NOFRAMES, NOSCRIPT </tt>
|
|
\li <tt> ADDRESS, CENTER </tt>
|
|
Note: The <code>style</code> attribute for this
|
|
interface is reserved for future usage.
|
|
@short All HTML element interfaces derive from this class.
|
|
|
|
*/
|
|
public class HTMLElement extends Element {
|
|
protected HTMLElement(Class dummy){super((Class) null);}
|
|
public HTMLElement() {
|
|
super((Class) null);
|
|
newHTMLElement();
|
|
}
|
|
private native void newHTMLElement();
|
|
public HTMLElement(HTMLElement other) {
|
|
super((Class) null);
|
|
newHTMLElement(other);
|
|
}
|
|
private native void newHTMLElement(HTMLElement other);
|
|
public HTMLElement(Node other) {
|
|
super((Class) null);
|
|
newHTMLElement(other);
|
|
}
|
|
private native void newHTMLElement(Node other);
|
|
/**
|
|
The element's identifier. See the <a
|
|
href="http://www.w3.org/TR/REC-html40/struct/global.html#adef-id">
|
|
id attribute definition </a> in HTML 4.0.
|
|
@short The element's identifier.
|
|
*/
|
|
public native String id();
|
|
/**
|
|
see id
|
|
@short see id
|
|
*/
|
|
public native void setId(String arg1);
|
|
/**
|
|
The element's advisory title. See the <a
|
|
href="http://www.w3.org/TR/REC-html40/struct/global.html#adef-title">
|
|
title attribute definition </a> in HTML 4.0.
|
|
@short The element's advisory title.
|
|
*/
|
|
public native String title();
|
|
/**
|
|
see title
|
|
@short see title
|
|
*/
|
|
public native void setTitle(String arg1);
|
|
/**
|
|
Language code defined in RFC 1766. See the <a
|
|
href="http://www.w3.org/TR/REC-html40/struct/dirlang.html#adef-lang">
|
|
lang attribute definition </a> in HTML 4.0.
|
|
@short Language code defined in RFC 1766.
|
|
*/
|
|
public native String lang();
|
|
/**
|
|
see lang
|
|
@short see lang
|
|
*/
|
|
public native void setLang(String arg1);
|
|
/**
|
|
Specifies the base direction of directionally neutral text and
|
|
the directionality of tables. See the <a
|
|
href="http://www.w3.org/TR/REC-html40/struct/dirlang.html#adef-dir">
|
|
dir attribute definition </a> in HTML 4.0.
|
|
@short Specifies the base direction of directionally neutral text and the directionality of tables.
|
|
*/
|
|
public native String dir();
|
|
/**
|
|
see dir
|
|
@short see dir
|
|
*/
|
|
public native void setDir(String arg1);
|
|
/**
|
|
The class attribute of the element. This attribute has been
|
|
renamed due to conflicts with the "class" keyword exposed by
|
|
many languages. See the <a
|
|
href="http://www.w3.org/TR/REC-html40/struct/global.html#adef-class">
|
|
class attribute definition </a> in HTML 4.0.
|
|
@short The class attribute of the element.
|
|
*/
|
|
public native String className();
|
|
/**
|
|
see className
|
|
@short see className
|
|
*/
|
|
public native void setClassName(String arg1);
|
|
/**
|
|
The HTML code contained in this element.
|
|
This function is not part of the DOM specifications as defined by the w3c.
|
|
@short The HTML code contained in this element.
|
|
*/
|
|
public native String innerHTML();
|
|
/**
|
|
Set the HTML content of this node.
|
|
@short Set the HTML content of this node.
|
|
*/
|
|
public native void setInnerHTML(String html);
|
|
/**
|
|
The text contained in this element.
|
|
This function is not part of the DOM specifications as defined by the w3c.
|
|
@short The text contained in this element.
|
|
*/
|
|
public native String innerText();
|
|
/**
|
|
Set the text content of this node.
|
|
@short Set the text content of this node.
|
|
*/
|
|
public native void setInnerText(String text);
|
|
/**
|
|
Retrieves a collection of nodes that are direct descendants of this node.
|
|
IE-specific extension.
|
|
@short Retrieves a collection of nodes that are direct descendants of this node.
|
|
*/
|
|
public native HTMLCollection children();
|
|
/**
|
|
Retrieves a collection of all nodes that descend from this node.
|
|
IE-specific extension.
|
|
@short Retrieves a collection of all nodes that descend from this node.
|
|
*/
|
|
public native HTMLCollection all();
|
|
public native void removeCSSProperty(String property);
|
|
public native void addCSSProperty(String property, String value);
|
|
// DOM::HTMLElement* HTMLElement(DOM::HTMLElementImpl* arg1); >>>> NOT CONVERTED
|
|
protected native void assignOther(Node other, int elementId);
|
|
}
|