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 _CSSPrimitiveValueWrappingImplementation extends _CSSValueWrappingImplemen
tation implements CSSPrimitiveValue { | |
8 _CSSPrimitiveValueWrappingImplementation() : super() {} | |
9 | |
10 static create__CSSPrimitiveValueWrappingImplementation() native { | |
11 return new _CSSPrimitiveValueWrappingImplementation(); | |
12 } | |
13 | |
14 int get primitiveType() { return _get_primitiveType(this); } | |
15 static int _get_primitiveType(var _this) native; | |
16 | |
17 Counter getCounterValue() { | |
18 return _getCounterValue(this); | |
19 } | |
20 static Counter _getCounterValue(receiver) native; | |
21 | |
22 num getFloatValue(int unitType) { | |
23 return _getFloatValue(this, unitType); | |
24 } | |
25 static num _getFloatValue(receiver, unitType) native; | |
26 | |
27 RGBColor getRGBColorValue() { | |
28 return _getRGBColorValue(this); | |
29 } | |
30 static RGBColor _getRGBColorValue(receiver) native; | |
31 | |
32 Rect getRectValue() { | |
33 return _getRectValue(this); | |
34 } | |
35 static Rect _getRectValue(receiver) native; | |
36 | |
37 String getStringValue() { | |
38 return _getStringValue(this); | |
39 } | |
40 static String _getStringValue(receiver) native; | |
41 | |
42 void setFloatValue(int unitType, num floatValue) { | |
43 _setFloatValue(this, unitType, floatValue); | |
44 return; | |
45 } | |
46 static void _setFloatValue(receiver, unitType, floatValue) native; | |
47 | |
48 void setStringValue(int stringType, String stringValue) { | |
49 _setStringValue(this, stringType, stringValue); | |
50 return; | |
51 } | |
52 static void _setStringValue(receiver, stringType, stringValue) native; | |
53 | |
54 String get typeName() { return "CSSPrimitiveValue"; } | |
55 } | |
OLD | NEW |