OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. |
| 4 |
| 5 // WARNING: Do not edit - generated code. |
| 6 |
| 7 interface Range { |
| 8 |
| 9 static final int END_TO_END = 2; |
| 10 |
| 11 static final int END_TO_START = 3; |
| 12 |
| 13 static final int NODE_AFTER = 1; |
| 14 |
| 15 static final int NODE_BEFORE = 0; |
| 16 |
| 17 static final int NODE_BEFORE_AND_AFTER = 2; |
| 18 |
| 19 static final int NODE_INSIDE = 3; |
| 20 |
| 21 static final int START_TO_END = 1; |
| 22 |
| 23 static final int START_TO_START = 0; |
| 24 |
| 25 final bool collapsed; |
| 26 |
| 27 final Node commonAncestorContainer; |
| 28 |
| 29 final Node endContainer; |
| 30 |
| 31 final int endOffset; |
| 32 |
| 33 final Node startContainer; |
| 34 |
| 35 final int startOffset; |
| 36 |
| 37 DocumentFragment cloneContents(); |
| 38 |
| 39 Range cloneRange(); |
| 40 |
| 41 void collapse(bool toStart); |
| 42 |
| 43 int compareNode(Node refNode); |
| 44 |
| 45 int comparePoint(Node refNode, int offset); |
| 46 |
| 47 DocumentFragment createContextualFragment(String html); |
| 48 |
| 49 void deleteContents(); |
| 50 |
| 51 void detach(); |
| 52 |
| 53 void expand(String unit); |
| 54 |
| 55 DocumentFragment extractContents(); |
| 56 |
| 57 ClientRect getBoundingClientRect(); |
| 58 |
| 59 ClientRectList getClientRects(); |
| 60 |
| 61 void insertNode(Node newNode); |
| 62 |
| 63 bool intersectsNode(Node refNode); |
| 64 |
| 65 bool isPointInRange(Node refNode, int offset); |
| 66 |
| 67 void selectNode(Node refNode); |
| 68 |
| 69 void selectNodeContents(Node refNode); |
| 70 |
| 71 void setEnd(Node refNode, int offset); |
| 72 |
| 73 void setEndAfter(Node refNode); |
| 74 |
| 75 void setEndBefore(Node refNode); |
| 76 |
| 77 void setStart(Node refNode, int offset); |
| 78 |
| 79 void setStartAfter(Node refNode); |
| 80 |
| 81 void setStartBefore(Node refNode); |
| 82 |
| 83 void surroundContents(Node newParent); |
| 84 |
| 85 String toString(); |
| 86 } |
OLD | NEW |