6f516ae928
dartdoc will be added in the fake dart:html library in lib/html/doc and merged into the real dart:html library during dart:html build. We will be adding a tool to that can be run as part of the dart:html build to merge in the documentation. The tool will also be able to run stand-alone to update the documentation post-build. This will allow documentation work to continue independently of building. Review URL: https://chromiumcodereview.appspot.com//10544064 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8415 260f80e4-7a28-3924-810f-c04153c831b5
94 lines
2.1 KiB
Plaintext
94 lines
2.1 KiB
Plaintext
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
|
// for details. All rights reserved. Use of this source code is governed by a
|
|
// BSD-style license that can be found in the LICENSE file.
|
|
|
|
// WARNING:
|
|
// This file contains documentation that is merged into the real source.
|
|
// Do not make code changes here.
|
|
|
|
/// @domName CSSPrimitiveValue
|
|
interface CSSPrimitiveValue extends CSSValue {
|
|
|
|
static final int CSS_ATTR = 22;
|
|
|
|
static final int CSS_CM = 6;
|
|
|
|
static final int CSS_COUNTER = 23;
|
|
|
|
static final int CSS_DEG = 11;
|
|
|
|
static final int CSS_DIMENSION = 18;
|
|
|
|
static final int CSS_EMS = 3;
|
|
|
|
static final int CSS_EXS = 4;
|
|
|
|
static final int CSS_GRAD = 13;
|
|
|
|
static final int CSS_HZ = 16;
|
|
|
|
static final int CSS_IDENT = 21;
|
|
|
|
static final int CSS_IN = 8;
|
|
|
|
static final int CSS_KHZ = 17;
|
|
|
|
static final int CSS_MM = 7;
|
|
|
|
static final int CSS_MS = 14;
|
|
|
|
static final int CSS_NUMBER = 1;
|
|
|
|
static final int CSS_PC = 10;
|
|
|
|
static final int CSS_PERCENTAGE = 2;
|
|
|
|
static final int CSS_PT = 9;
|
|
|
|
static final int CSS_PX = 5;
|
|
|
|
static final int CSS_RAD = 12;
|
|
|
|
static final int CSS_RECT = 24;
|
|
|
|
static final int CSS_RGBCOLOR = 25;
|
|
|
|
static final int CSS_S = 15;
|
|
|
|
static final int CSS_STRING = 19;
|
|
|
|
static final int CSS_UNKNOWN = 0;
|
|
|
|
static final int CSS_URI = 20;
|
|
|
|
static final int CSS_VH = 27;
|
|
|
|
static final int CSS_VMIN = 28;
|
|
|
|
static final int CSS_VW = 26;
|
|
|
|
/** @domName CSSPrimitiveValue.primitiveType */
|
|
final int primitiveType;
|
|
|
|
/** @domName CSSPrimitiveValue.getCounterValue */
|
|
Counter getCounterValue();
|
|
|
|
/** @domName CSSPrimitiveValue.getFloatValue */
|
|
num getFloatValue(int unitType);
|
|
|
|
/** @domName CSSPrimitiveValue.getRGBColorValue */
|
|
RGBColor getRGBColorValue();
|
|
|
|
/** @domName CSSPrimitiveValue.getRectValue */
|
|
Rect getRectValue();
|
|
|
|
/** @domName CSSPrimitiveValue.getStringValue */
|
|
String getStringValue();
|
|
|
|
/** @domName CSSPrimitiveValue.setFloatValue */
|
|
void setFloatValue(int unitType, num floatValue);
|
|
|
|
/** @domName CSSPrimitiveValue.setStringValue */
|
|
void setStringValue(int stringType, String stringValue);
|
|
}
|