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 CSSValueWrappingImplementa
tion implements CSSPrimitiveValue { | |
8 CSSPrimitiveValueWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | |
9 | |
10 int get primitiveType() { return _ptr.primitiveType; } | |
11 | |
12 Counter getCounterValue() { | |
13 return LevelDom.wrapCounter(_ptr.getCounterValue()); | |
14 } | |
15 | |
16 num getFloatValue(int unitType) { | |
17 return _ptr.getFloatValue(unitType); | |
18 } | |
19 | |
20 RGBColor getRGBColorValue() { | |
21 return LevelDom.wrapRGBColor(_ptr.getRGBColorValue()); | |
22 } | |
23 | |
24 Rect getRectValue() { | |
25 return LevelDom.wrapRect(_ptr.getRectValue()); | |
26 } | |
27 | |
28 String getStringValue() { | |
29 return _ptr.getStringValue(); | |
30 } | |
31 | |
32 void setFloatValue(int unitType, num floatValue) { | |
33 _ptr.setFloatValue(unitType, floatValue); | |
34 return; | |
35 } | |
36 | |
37 void setStringValue(int stringType, String stringValue) { | |
38 _ptr.setStringValue(stringType, stringValue); | |
39 return; | |
40 } | |
41 } | |
OLD | NEW |