OLD | NEW |
(Empty) | |
| 1 |
| 2 class _RangeImpl 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 _NodeImpl commonAncestorContainer; |
| 23 |
| 24 final _NodeImpl endContainer; |
| 25 |
| 26 final int endOffset; |
| 27 |
| 28 final _NodeImpl startContainer; |
| 29 |
| 30 final int startOffset; |
| 31 |
| 32 _DocumentFragmentImpl cloneContents() native; |
| 33 |
| 34 _RangeImpl cloneRange() native; |
| 35 |
| 36 void collapse(bool toStart) native; |
| 37 |
| 38 int compareNode(_NodeImpl refNode) native; |
| 39 |
| 40 int comparePoint(_NodeImpl refNode, int offset) native; |
| 41 |
| 42 _DocumentFragmentImpl createContextualFragment(String html) native; |
| 43 |
| 44 void deleteContents() native; |
| 45 |
| 46 void detach() native; |
| 47 |
| 48 void expand(String unit) native; |
| 49 |
| 50 _DocumentFragmentImpl extractContents() native; |
| 51 |
| 52 _ClientRectImpl getBoundingClientRect() native; |
| 53 |
| 54 _ClientRectListImpl getClientRects() native; |
| 55 |
| 56 void insertNode(_NodeImpl newNode) native; |
| 57 |
| 58 bool intersectsNode(_NodeImpl refNode) native; |
| 59 |
| 60 bool isPointInRange(_NodeImpl refNode, int offset) native; |
| 61 |
| 62 void selectNode(_NodeImpl refNode) native; |
| 63 |
| 64 void selectNodeContents(_NodeImpl refNode) native; |
| 65 |
| 66 void setEnd(_NodeImpl refNode, int offset) native; |
| 67 |
| 68 void setEndAfter(_NodeImpl refNode) native; |
| 69 |
| 70 void setEndBefore(_NodeImpl refNode) native; |
| 71 |
| 72 void setStart(_NodeImpl refNode, int offset) native; |
| 73 |
| 74 void setStartAfter(_NodeImpl refNode) native; |
| 75 |
| 76 void setStartBefore(_NodeImpl refNode) native; |
| 77 |
| 78 void surroundContents(_NodeImpl newParent) native; |
| 79 |
| 80 String toString() native; |
| 81 } |
OLD | NEW |