OLD | NEW |
1 | 1 |
2 class _RangeJs extends _DOMTypeJs implements Range native "*Range" { | 2 class _RangeJs extends _DOMTypeJs implements Range native "*Range" { |
3 | 3 |
4 static final int END_TO_END = 2; | 4 static final int END_TO_END = 2; |
5 | 5 |
6 static final int END_TO_START = 3; | 6 static final int END_TO_START = 3; |
7 | 7 |
8 static final int NODE_AFTER = 1; | 8 static final int NODE_AFTER = 1; |
9 | 9 |
10 static final int NODE_BEFORE = 0; | 10 static final int NODE_BEFORE = 0; |
11 | 11 |
12 static final int NODE_BEFORE_AND_AFTER = 2; | 12 static final int NODE_BEFORE_AND_AFTER = 2; |
13 | 13 |
14 static final int NODE_INSIDE = 3; | 14 static final int NODE_INSIDE = 3; |
15 | 15 |
16 static final int START_TO_END = 1; | 16 static final int START_TO_END = 1; |
17 | 17 |
18 static final int START_TO_START = 0; | 18 static final int START_TO_START = 0; |
19 | 19 |
20 bool get collapsed() native "return this.collapsed;"; | 20 final bool collapsed; |
21 | 21 |
22 _NodeJs get commonAncestorContainer() native "return this.commonAncestorContai
ner;"; | 22 final _NodeJs commonAncestorContainer; |
23 | 23 |
24 _NodeJs get endContainer() native "return this.endContainer;"; | 24 final _NodeJs endContainer; |
25 | 25 |
26 int get endOffset() native "return this.endOffset;"; | 26 final int endOffset; |
27 | 27 |
28 _NodeJs get startContainer() native "return this.startContainer;"; | 28 final _NodeJs startContainer; |
29 | 29 |
30 int get startOffset() native "return this.startOffset;"; | 30 final int startOffset; |
31 | 31 |
32 _DocumentFragmentJs cloneContents() native; | 32 _DocumentFragmentJs cloneContents() native; |
33 | 33 |
34 _RangeJs cloneRange() native; | 34 _RangeJs cloneRange() native; |
35 | 35 |
36 void collapse(bool toStart) native; | 36 void collapse(bool toStart) native; |
37 | 37 |
38 int compareNode(_NodeJs refNode) native; | 38 int compareNode(_NodeJs refNode) native; |
39 | 39 |
40 int comparePoint(_NodeJs refNode, int offset) native; | 40 int comparePoint(_NodeJs refNode, int offset) native; |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 void setStart(_NodeJs refNode, int offset) native; | 72 void setStart(_NodeJs refNode, int offset) native; |
73 | 73 |
74 void setStartAfter(_NodeJs refNode) native; | 74 void setStartAfter(_NodeJs refNode) native; |
75 | 75 |
76 void setStartBefore(_NodeJs refNode) native; | 76 void setStartBefore(_NodeJs refNode) native; |
77 | 77 |
78 void surroundContents(_NodeJs newParent) native; | 78 void surroundContents(_NodeJs newParent) native; |
79 | 79 |
80 String toString() native; | 80 String toString() native; |
81 } | 81 } |
OLD | NEW |