OLD | NEW |
| (Empty) |
1 | |
2 class _RangeJs extends _DOMTypeJs implements Range native "*Range" { | |
3 | |
4 static final int END_TO_END = 2; | |
5 | |
6 static final int END_TO_START = 3; | |
7 | |
8 static final int NODE_AFTER = 1; | |
9 | |
10 static final int NODE_BEFORE = 0; | |
11 | |
12 static final int NODE_BEFORE_AND_AFTER = 2; | |
13 | |
14 static final int NODE_INSIDE = 3; | |
15 | |
16 static final int START_TO_END = 1; | |
17 | |
18 static final int START_TO_START = 0; | |
19 | |
20 final bool collapsed; | |
21 | |
22 final _NodeJs commonAncestorContainer; | |
23 | |
24 final _NodeJs endContainer; | |
25 | |
26 final int endOffset; | |
27 | |
28 final _NodeJs startContainer; | |
29 | |
30 final int startOffset; | |
31 | |
32 _DocumentFragmentJs cloneContents() native; | |
33 | |
34 _RangeJs cloneRange() native; | |
35 | |
36 void collapse(bool toStart) native; | |
37 | |
38 int compareNode(_NodeJs refNode) native; | |
39 | |
40 int comparePoint(_NodeJs refNode, int offset) native; | |
41 | |
42 _DocumentFragmentJs createContextualFragment(String html) native; | |
43 | |
44 void deleteContents() native; | |
45 | |
46 void detach() native; | |
47 | |
48 void expand(String unit) native; | |
49 | |
50 _DocumentFragmentJs extractContents() native; | |
51 | |
52 _ClientRectJs getBoundingClientRect() native; | |
53 | |
54 _ClientRectListJs getClientRects() native; | |
55 | |
56 void insertNode(_NodeJs newNode) native; | |
57 | |
58 bool intersectsNode(_NodeJs refNode) native; | |
59 | |
60 bool isPointInRange(_NodeJs refNode, int offset) native; | |
61 | |
62 void selectNode(_NodeJs refNode) native; | |
63 | |
64 void selectNodeContents(_NodeJs refNode) native; | |
65 | |
66 void setEnd(_NodeJs refNode, int offset) native; | |
67 | |
68 void setEndAfter(_NodeJs refNode) native; | |
69 | |
70 void setEndBefore(_NodeJs refNode) native; | |
71 | |
72 void setStart(_NodeJs refNode, int offset) native; | |
73 | |
74 void setStartAfter(_NodeJs refNode) native; | |
75 | |
76 void setStartBefore(_NodeJs refNode) native; | |
77 | |
78 void surroundContents(_NodeJs newParent) native; | |
79 | |
80 String toString() native; | |
81 } | |
OLD | NEW |