File tree Expand file tree Collapse file tree 2 files changed +17
-7
lines changed
sources/net.sf.j2s.html/src/net/sf/j2s/html Expand file tree Collapse file tree 2 files changed +17
-7
lines changed Original file line number Diff line number Diff line change 1
1
package net .sf .j2s .html ;
2
2
3
3
4
-
5
-
6
-
7
4
public class Element {
8
5
public ContentWindow contentWindow ;
9
6
10
7
public Element parentNode ;
11
8
public Element [] childNodes ;
12
9
public Element nextSibling ;
10
+ public Element previousSibling ;
13
11
public int offsetLeft ;
14
12
public int offsetTop ;
15
13
public Element offsetParent ;
@@ -62,17 +60,22 @@ public class Element {
62
60
63
61
public boolean multiple ;
64
62
63
+ public String action ;
64
+ public String method ;
65
+ public String enctype ;
66
+ public String accept ;
67
+
65
68
public Object onchange ;
66
69
67
70
public Object onselectchange ;
68
71
69
- public String rows ;
72
+ public int rows ;
70
73
71
- public String cols ;
74
+ public int cols ;
72
75
73
- public String width ;
76
+ public int width ;
74
77
75
- public String height ;
78
+ public int height ;
76
79
77
80
public int offsetWidth , clientWidth , scrollWidth , scrollLeft ;
78
81
@@ -135,5 +138,9 @@ public class Element {
135
138
public native Element getElementById (String id );
136
139
137
140
public native void setAttribute (String prop , String value );
141
+
142
+ public native void submit ();
143
+
144
+ public native void reset ();
138
145
139
146
}
Original file line number Diff line number Diff line change @@ -10,6 +10,9 @@ public class window {
10
10
11
11
public static location location ;
12
12
13
+ public static int innerWidth ;
14
+ public static int innerHeight ;
15
+
13
16
public native static int setInterval (Object runnable , int milliseconds );
14
17
15
18
public native static void clearInterval (int timerId );
You can’t perform that action at this time.
0 commit comments