1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
|
//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);
}
|