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 int get childElementCount() native "return this.childElementCount;"; |
7 | 7 |
8 int get clientHeight() native "return this.clientHeight;"; | 8 int get clientHeight() native "return this.clientHeight;"; |
9 | 9 |
10 int get clientLeft() native "return this.clientLeft;"; | 10 int get clientLeft() native "return this.clientLeft;"; |
11 | 11 |
12 int get clientTop() native "return this.clientTop;"; | 12 int get clientTop() native "return this.clientTop;"; |
13 | 13 |
14 int get clientWidth() native "return this.clientWidth;"; | 14 int get clientWidth() native "return this.clientWidth;"; |
15 | 15 |
16 ElementJs get firstElementChild() native "return this.firstElementChild;"; | 16 _ElementJs get firstElementChild() native "return this.firstElementChild;"; |
17 | 17 |
18 ElementJs get lastElementChild() native "return this.lastElementChild;"; | 18 _ElementJs get lastElementChild() native "return this.lastElementChild;"; |
19 | 19 |
20 ElementJs get nextElementSibling() native "return this.nextElementSibling;"; | 20 _ElementJs get nextElementSibling() native "return this.nextElementSibling;"; |
21 | 21 |
22 int get offsetHeight() native "return this.offsetHeight;"; | 22 int get offsetHeight() native "return this.offsetHeight;"; |
23 | 23 |
24 int get offsetLeft() native "return this.offsetLeft;"; | 24 int get offsetLeft() native "return this.offsetLeft;"; |
25 | 25 |
26 ElementJs get offsetParent() native "return this.offsetParent;"; | 26 _ElementJs get offsetParent() native "return this.offsetParent;"; |
27 | 27 |
28 int get offsetTop() native "return this.offsetTop;"; | 28 int get offsetTop() native "return this.offsetTop;"; |
29 | 29 |
30 int get offsetWidth() native "return this.offsetWidth;"; | 30 int get offsetWidth() native "return this.offsetWidth;"; |
31 | 31 |
32 ElementJs get previousElementSibling() native "return this.previousElementSibl
ing;"; | 32 _ElementJs get previousElementSibling() native "return this.previousElementSib
ling;"; |
33 | 33 |
34 int get scrollHeight() native "return this.scrollHeight;"; | 34 int get scrollHeight() native "return this.scrollHeight;"; |
35 | 35 |
36 int get scrollLeft() native "return this.scrollLeft;"; | 36 int get scrollLeft() native "return this.scrollLeft;"; |
37 | 37 |
38 void set scrollLeft(int value) native "this.scrollLeft = value;"; | 38 void set scrollLeft(int value) native "this.scrollLeft = value;"; |
39 | 39 |
40 int get scrollTop() native "return this.scrollTop;"; | 40 int get scrollTop() native "return this.scrollTop;"; |
41 | 41 |
42 void set scrollTop(int value) native "this.scrollTop = value;"; | 42 void set scrollTop(int value) native "this.scrollTop = value;"; |
43 | 43 |
44 int get scrollWidth() native "return this.scrollWidth;"; | 44 int get scrollWidth() native "return this.scrollWidth;"; |
45 | 45 |
46 CSSStyleDeclarationJs get style() native "return this.style;"; | 46 _CSSStyleDeclarationJs get style() native "return this.style;"; |
47 | 47 |
48 String get tagName() native "return this.tagName;"; | 48 String get tagName() native "return this.tagName;"; |
49 | 49 |
50 void blur() native; | 50 void blur() native; |
51 | 51 |
52 void focus() native; | 52 void focus() native; |
53 | 53 |
54 String getAttribute(String name) native; | 54 String getAttribute(String name) native; |
55 | 55 |
56 String getAttributeNS(String namespaceURI, String localName) native; | 56 String getAttributeNS(String namespaceURI, String localName) native; |
57 | 57 |
58 AttrJs getAttributeNode(String name) native; | 58 _AttrJs getAttributeNode(String name) native; |
59 | 59 |
60 AttrJs getAttributeNodeNS(String namespaceURI, String localName) native; | 60 _AttrJs getAttributeNodeNS(String namespaceURI, String localName) native; |
61 | 61 |
62 ClientRectJs getBoundingClientRect() native; | 62 _ClientRectJs getBoundingClientRect() native; |
63 | 63 |
64 ClientRectListJs getClientRects() native; | 64 _ClientRectListJs getClientRects() native; |
65 | 65 |
66 NodeListJs getElementsByClassName(String name) native; | 66 _NodeListJs getElementsByClassName(String name) native; |
67 | 67 |
68 NodeListJs getElementsByTagName(String name) native; | 68 _NodeListJs getElementsByTagName(String name) native; |
69 | 69 |
70 NodeListJs getElementsByTagNameNS(String namespaceURI, String localName) nativ
e; | 70 _NodeListJs getElementsByTagNameNS(String namespaceURI, String localName) nati
ve; |
71 | 71 |
72 bool hasAttribute(String name) native; | 72 bool hasAttribute(String name) native; |
73 | 73 |
74 bool hasAttributeNS(String namespaceURI, String localName) native; | 74 bool hasAttributeNS(String namespaceURI, String localName) native; |
75 | 75 |
76 ElementJs querySelector(String selectors) native; | 76 _ElementJs querySelector(String selectors) native; |
77 | 77 |
78 NodeListJs querySelectorAll(String selectors) native; | 78 _NodeListJs querySelectorAll(String selectors) native; |
79 | 79 |
80 void removeAttribute(String name) native; | 80 void removeAttribute(String name) native; |
81 | 81 |
82 void removeAttributeNS(String namespaceURI, String localName) native; | 82 void removeAttributeNS(String namespaceURI, String localName) native; |
83 | 83 |
84 AttrJs removeAttributeNode(AttrJs oldAttr) native; | 84 _AttrJs removeAttributeNode(_AttrJs oldAttr) native; |
85 | 85 |
86 void scrollByLines(int lines) native; | 86 void scrollByLines(int lines) native; |
87 | 87 |
88 void scrollByPages(int pages) native; | 88 void scrollByPages(int pages) native; |
89 | 89 |
90 void scrollIntoView([bool alignWithTop = null]) native; | 90 void scrollIntoView([bool alignWithTop = null]) native; |
91 | 91 |
92 void scrollIntoViewIfNeeded([bool centerIfNeeded = null]) native; | 92 void scrollIntoViewIfNeeded([bool centerIfNeeded = null]) native; |
93 | 93 |
94 void setAttribute(String name, String value) native; | 94 void setAttribute(String name, String value) native; |
95 | 95 |
96 void setAttributeNS(String namespaceURI, String qualifiedName, String value) n
ative; | 96 void setAttributeNS(String namespaceURI, String qualifiedName, String value) n
ative; |
97 | 97 |
98 AttrJs setAttributeNode(AttrJs newAttr) native; | 98 _AttrJs setAttributeNode(_AttrJs newAttr) native; |
99 | 99 |
100 AttrJs setAttributeNodeNS(AttrJs newAttr) native; | 100 _AttrJs setAttributeNodeNS(_AttrJs newAttr) native; |
101 | 101 |
102 bool webkitMatchesSelector(String selectors) native; | 102 bool webkitMatchesSelector(String selectors) native; |
103 | 103 |
104 void webkitRequestFullScreen(int flags) native; | 104 void webkitRequestFullScreen(int flags) native; |
105 } | 105 } |
OLD | NEW |