| OLD | NEW |
| (Empty) | |
| 1 // Copyright (c) 2012, 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: |
| 6 // This file contains documentation that is merged into the real source. |
| 7 // Do not make code changes here. |
| 8 |
| 9 /// @domName CSSPrimitiveValue |
| 10 interface CSSPrimitiveValue extends CSSValue { |
| 11 |
| 12 static final int CSS_ATTR = 22; |
| 13 |
| 14 static final int CSS_CM = 6; |
| 15 |
| 16 static final int CSS_COUNTER = 23; |
| 17 |
| 18 static final int CSS_DEG = 11; |
| 19 |
| 20 static final int CSS_DIMENSION = 18; |
| 21 |
| 22 static final int CSS_EMS = 3; |
| 23 |
| 24 static final int CSS_EXS = 4; |
| 25 |
| 26 static final int CSS_GRAD = 13; |
| 27 |
| 28 static final int CSS_HZ = 16; |
| 29 |
| 30 static final int CSS_IDENT = 21; |
| 31 |
| 32 static final int CSS_IN = 8; |
| 33 |
| 34 static final int CSS_KHZ = 17; |
| 35 |
| 36 static final int CSS_MM = 7; |
| 37 |
| 38 static final int CSS_MS = 14; |
| 39 |
| 40 static final int CSS_NUMBER = 1; |
| 41 |
| 42 static final int CSS_PC = 10; |
| 43 |
| 44 static final int CSS_PERCENTAGE = 2; |
| 45 |
| 46 static final int CSS_PT = 9; |
| 47 |
| 48 static final int CSS_PX = 5; |
| 49 |
| 50 static final int CSS_RAD = 12; |
| 51 |
| 52 static final int CSS_RECT = 24; |
| 53 |
| 54 static final int CSS_RGBCOLOR = 25; |
| 55 |
| 56 static final int CSS_S = 15; |
| 57 |
| 58 static final int CSS_STRING = 19; |
| 59 |
| 60 static final int CSS_UNKNOWN = 0; |
| 61 |
| 62 static final int CSS_URI = 20; |
| 63 |
| 64 static final int CSS_VH = 27; |
| 65 |
| 66 static final int CSS_VMIN = 28; |
| 67 |
| 68 static final int CSS_VW = 26; |
| 69 |
| 70 /** @domName CSSPrimitiveValue.primitiveType */ |
| 71 final int primitiveType; |
| 72 |
| 73 /** @domName CSSPrimitiveValue.getCounterValue */ |
| 74 Counter getCounterValue(); |
| 75 |
| 76 /** @domName CSSPrimitiveValue.getFloatValue */ |
| 77 num getFloatValue(int unitType); |
| 78 |
| 79 /** @domName CSSPrimitiveValue.getRGBColorValue */ |
| 80 RGBColor getRGBColorValue(); |
| 81 |
| 82 /** @domName CSSPrimitiveValue.getRectValue */ |
| 83 Rect getRectValue(); |
| 84 |
| 85 /** @domName CSSPrimitiveValue.getStringValue */ |
| 86 String getStringValue(); |
| 87 |
| 88 /** @domName CSSPrimitiveValue.setFloatValue */ |
| 89 void setFloatValue(int unitType, num floatValue); |
| 90 |
| 91 /** @domName CSSPrimitiveValue.setStringValue */ |
| 92 void setStringValue(int stringType, String stringValue); |
| 93 } |
| OLD | NEW |