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 _IDBCursorWrappingImplementation extends DOMWrapperBase implements IDBCurs
or { | |
8 _IDBCursorWrappingImplementation() : super() {} | |
9 | |
10 static create__IDBCursorWrappingImplementation() native { | |
11 return new _IDBCursorWrappingImplementation(); | |
12 } | |
13 | |
14 int get direction() { return _get_direction(this); } | |
15 static int _get_direction(var _this) native; | |
16 | |
17 IDBKey get key() { return _get_key(this); } | |
18 static IDBKey _get_key(var _this) native; | |
19 | |
20 IDBKey get primaryKey() { return _get_primaryKey(this); } | |
21 static IDBKey _get_primaryKey(var _this) native; | |
22 | |
23 IDBAny get source() { return _get_source(this); } | |
24 static IDBAny _get_source(var _this) native; | |
25 | |
26 void continueFunction([IDBKey key = null]) { | |
27 if (key === null) { | |
28 _continueFunction(this); | |
29 return; | |
30 } else { | |
31 _continueFunction_2(this, key); | |
32 return; | |
33 } | |
34 } | |
35 static void _continueFunction(receiver) native; | |
36 static void _continueFunction_2(receiver, key) native; | |
37 | |
38 IDBRequest delete() { | |
39 return _delete(this); | |
40 } | |
41 static IDBRequest _delete(receiver) native; | |
42 | |
43 IDBRequest update(Dynamic value) { | |
44 return _update(this, value); | |
45 } | |
46 static IDBRequest _update(receiver, value) native; | |
47 | |
48 String get typeName() { return "IDBCursor"; } | |
49 } | |
OLD | NEW |