| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2011, 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 class _DOMSelectionWrappingImplementation extends DOMWrapperBase implements DOMS
election { | |
| 8 _DOMSelectionWrappingImplementation() : super() {} | |
| 9 | |
| 10 static create__DOMSelectionWrappingImplementation() native { | |
| 11 return new _DOMSelectionWrappingImplementation(); | |
| 12 } | |
| 13 | |
| 14 Node get anchorNode() { return _get_anchorNode(this); } | |
| 15 static Node _get_anchorNode(var _this) native; | |
| 16 | |
| 17 int get anchorOffset() { return _get_anchorOffset(this); } | |
| 18 static int _get_anchorOffset(var _this) native; | |
| 19 | |
| 20 Node get baseNode() { return _get_baseNode(this); } | |
| 21 static Node _get_baseNode(var _this) native; | |
| 22 | |
| 23 int get baseOffset() { return _get_baseOffset(this); } | |
| 24 static int _get_baseOffset(var _this) native; | |
| 25 | |
| 26 Node get extentNode() { return _get_extentNode(this); } | |
| 27 static Node _get_extentNode(var _this) native; | |
| 28 | |
| 29 int get extentOffset() { return _get_extentOffset(this); } | |
| 30 static int _get_extentOffset(var _this) native; | |
| 31 | |
| 32 Node get focusNode() { return _get_focusNode(this); } | |
| 33 static Node _get_focusNode(var _this) native; | |
| 34 | |
| 35 int get focusOffset() { return _get_focusOffset(this); } | |
| 36 static int _get_focusOffset(var _this) native; | |
| 37 | |
| 38 bool get isCollapsed() { return _get_isCollapsed(this); } | |
| 39 static bool _get_isCollapsed(var _this) native; | |
| 40 | |
| 41 int get rangeCount() { return _get_rangeCount(this); } | |
| 42 static int _get_rangeCount(var _this) native; | |
| 43 | |
| 44 String get type() { return _get_type(this); } | |
| 45 static String _get_type(var _this) native; | |
| 46 | |
| 47 void addRange(Range range) { | |
| 48 _addRange(this, range); | |
| 49 return; | |
| 50 } | |
| 51 static void _addRange(receiver, range) native; | |
| 52 | |
| 53 void collapse(Node node, int index) { | |
| 54 _collapse(this, node, index); | |
| 55 return; | |
| 56 } | |
| 57 static void _collapse(receiver, node, index) native; | |
| 58 | |
| 59 void collapseToEnd() { | |
| 60 _collapseToEnd(this); | |
| 61 return; | |
| 62 } | |
| 63 static void _collapseToEnd(receiver) native; | |
| 64 | |
| 65 void collapseToStart() { | |
| 66 _collapseToStart(this); | |
| 67 return; | |
| 68 } | |
| 69 static void _collapseToStart(receiver) native; | |
| 70 | |
| 71 bool containsNode(Node node, bool allowPartial) { | |
| 72 return _containsNode(this, node, allowPartial); | |
| 73 } | |
| 74 static bool _containsNode(receiver, node, allowPartial) native; | |
| 75 | |
| 76 void deleteFromDocument() { | |
| 77 _deleteFromDocument(this); | |
| 78 return; | |
| 79 } | |
| 80 static void _deleteFromDocument(receiver) native; | |
| 81 | |
| 82 void empty() { | |
| 83 _empty(this); | |
| 84 return; | |
| 85 } | |
| 86 static void _empty(receiver) native; | |
| 87 | |
| 88 void extend(Node node, int offset) { | |
| 89 _extend(this, node, offset); | |
| 90 return; | |
| 91 } | |
| 92 static void _extend(receiver, node, offset) native; | |
| 93 | |
| 94 Range getRangeAt(int index) { | |
| 95 return _getRangeAt(this, index); | |
| 96 } | |
| 97 static Range _getRangeAt(receiver, index) native; | |
| 98 | |
| 99 void modify(String alter, String direction, String granularity) { | |
| 100 _modify(this, alter, direction, granularity); | |
| 101 return; | |
| 102 } | |
| 103 static void _modify(receiver, alter, direction, granularity) native; | |
| 104 | |
| 105 void removeAllRanges() { | |
| 106 _removeAllRanges(this); | |
| 107 return; | |
| 108 } | |
| 109 static void _removeAllRanges(receiver) native; | |
| 110 | |
| 111 void selectAllChildren(Node node) { | |
| 112 _selectAllChildren(this, node); | |
| 113 return; | |
| 114 } | |
| 115 static void _selectAllChildren(receiver, node) native; | |
| 116 | |
| 117 void setBaseAndExtent(Node baseNode, int baseOffset, Node extentNode, int exte
ntOffset) { | |
| 118 _setBaseAndExtent(this, baseNode, baseOffset, extentNode, extentOffset); | |
| 119 return; | |
| 120 } | |
| 121 static void _setBaseAndExtent(receiver, baseNode, baseOffset, extentNode, exte
ntOffset) native; | |
| 122 | |
| 123 void setPosition(Node node, int offset) { | |
| 124 _setPosition(this, node, offset); | |
| 125 return; | |
| 126 } | |
| 127 static void _setPosition(receiver, node, offset) native; | |
| 128 | |
| 129 String toString() { | |
| 130 return _toString(this); | |
| 131 } | |
| 132 static String _toString(receiver) native; | |
| 133 | |
| 134 String get typeName() { return "DOMSelection"; } | |
| 135 } | |
| OLD | NEW |