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 interface CSSPrimitiveValue extends CSSValue { | |
8 | |
9 static final int CSS_ATTR = 22; | |
10 | |
11 static final int CSS_CM = 6; | |
12 | |
13 static final int CSS_COUNTER = 23; | |
14 | |
15 static final int CSS_DEG = 11; | |
16 | |
17 static final int CSS_DIMENSION = 18; | |
18 | |
19 static final int CSS_EMS = 3; | |
20 | |
21 static final int CSS_EXS = 4; | |
22 | |
23 static final int CSS_GRAD = 13; | |
24 | |
25 static final int CSS_HZ = 16; | |
26 | |
27 static final int CSS_IDENT = 21; | |
28 | |
29 static final int CSS_IN = 8; | |
30 | |
31 static final int CSS_KHZ = 17; | |
32 | |
33 static final int CSS_MM = 7; | |
34 | |
35 static final int CSS_MS = 14; | |
36 | |
37 static final int CSS_NUMBER = 1; | |
38 | |
39 static final int CSS_PC = 10; | |
40 | |
41 static final int CSS_PERCENTAGE = 2; | |
42 | |
43 static final int CSS_PT = 9; | |
44 | |
45 static final int CSS_PX = 5; | |
46 | |
47 static final int CSS_RAD = 12; | |
48 | |
49 static final int CSS_RECT = 24; | |
50 | |
51 static final int CSS_RGBCOLOR = 25; | |
52 | |
53 static final int CSS_S = 15; | |
54 | |
55 static final int CSS_STRING = 19; | |
56 | |
57 static final int CSS_UNKNOWN = 0; | |
58 | |
59 static final int CSS_URI = 20; | |
60 | |
61 int get primitiveType(); | |
62 | |
63 Counter getCounterValue(); | |
64 | |
65 num getFloatValue(int unitType); | |
66 | |
67 RGBColor getRGBColorValue(); | |
68 | |
69 Rect getRectValue(); | |
70 | |
71 String getStringValue(); | |
72 | |
73 void setFloatValue(int unitType, num floatValue); | |
74 | |
75 void setStringValue(int stringType, String stringValue); | |
76 } | |
OLD | NEW |