OLD | NEW |
1 | 1 |
2 class _ElementJs extends _NodeJs implements Element native "*Element" { | 2 class _ElementJs extends _NodeJs implements Element native "*Element" { |
3 | 3 |
4 static final int ALLOW_KEYBOARD_INPUT = 1; | 4 static final int ALLOW_KEYBOARD_INPUT = 1; |
5 | 5 |
6 int get childElementCount() native "return this.childElementCount;"; | 6 final int childElementCount; |
7 | 7 |
8 int get clientHeight() native "return this.clientHeight;"; | 8 final int clientHeight; |
9 | 9 |
10 int get clientLeft() native "return this.clientLeft;"; | 10 final int clientLeft; |
11 | 11 |
12 int get clientTop() native "return this.clientTop;"; | 12 final int clientTop; |
13 | 13 |
14 int get clientWidth() native "return this.clientWidth;"; | 14 final int clientWidth; |
15 | 15 |
16 _ElementJs get firstElementChild() native "return this.firstElementChild;"; | 16 final _ElementJs firstElementChild; |
17 | 17 |
18 _ElementJs get lastElementChild() native "return this.lastElementChild;"; | 18 final _ElementJs lastElementChild; |
19 | 19 |
20 _ElementJs get nextElementSibling() native "return this.nextElementSibling;"; | 20 final _ElementJs nextElementSibling; |
21 | 21 |
22 int get offsetHeight() native "return this.offsetHeight;"; | 22 final int offsetHeight; |
23 | 23 |
24 int get offsetLeft() native "return this.offsetLeft;"; | 24 final int offsetLeft; |
25 | 25 |
26 _ElementJs get offsetParent() native "return this.offsetParent;"; | 26 final _ElementJs offsetParent; |
27 | 27 |
28 int get offsetTop() native "return this.offsetTop;"; | 28 final int offsetTop; |
29 | 29 |
30 int get offsetWidth() native "return this.offsetWidth;"; | 30 final int offsetWidth; |
31 | 31 |
32 _ElementJs get previousElementSibling() native "return this.previousElementSib
ling;"; | 32 final _ElementJs previousElementSibling; |
33 | 33 |
34 int get scrollHeight() native "return this.scrollHeight;"; | 34 final int scrollHeight; |
35 | 35 |
36 int get scrollLeft() native "return this.scrollLeft;"; | 36 int scrollLeft; |
37 | 37 |
38 void set scrollLeft(int value) native "this.scrollLeft = value;"; | 38 int scrollTop; |
39 | 39 |
40 int get scrollTop() native "return this.scrollTop;"; | 40 final int scrollWidth; |
41 | 41 |
42 void set scrollTop(int value) native "this.scrollTop = value;"; | 42 final _CSSStyleDeclarationJs style; |
43 | 43 |
44 int get scrollWidth() native "return this.scrollWidth;"; | 44 final String tagName; |
45 | |
46 _CSSStyleDeclarationJs get style() native "return this.style;"; | |
47 | |
48 String get tagName() native "return this.tagName;"; | |
49 | 45 |
50 void blur() native; | 46 void blur() native; |
51 | 47 |
52 void focus() native; | 48 void focus() native; |
53 | 49 |
54 String getAttribute(String name) native; | 50 String getAttribute(String name) native; |
55 | 51 |
56 String getAttributeNS(String namespaceURI, String localName) native; | 52 String getAttributeNS(String namespaceURI, String localName) native; |
57 | 53 |
58 _AttrJs getAttributeNode(String name) native; | 54 _AttrJs getAttributeNode(String name) native; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 void setAttributeNS(String namespaceURI, String qualifiedName, String value) n
ative; | 92 void setAttributeNS(String namespaceURI, String qualifiedName, String value) n
ative; |
97 | 93 |
98 _AttrJs setAttributeNode(_AttrJs newAttr) native; | 94 _AttrJs setAttributeNode(_AttrJs newAttr) native; |
99 | 95 |
100 _AttrJs setAttributeNodeNS(_AttrJs newAttr) native; | 96 _AttrJs setAttributeNodeNS(_AttrJs newAttr) native; |
101 | 97 |
102 bool webkitMatchesSelector(String selectors) native; | 98 bool webkitMatchesSelector(String selectors) native; |
103 | 99 |
104 void webkitRequestFullScreen(int flags) native; | 100 void webkitRequestFullScreen(int flags) native; |
105 } | 101 } |
OLD | NEW |