
public class JsCSSPrimitiveValue extends JsCSSValue implements CSSPrimitiveValue
CSS_ATTR, CSS_CM, CSS_COUNTER, CSS_DEG, CSS_DIMENSION, CSS_EMS, CSS_EXS, CSS_GRAD, CSS_HZ, CSS_IDENT, CSS_IN, CSS_KHZ, CSS_MM, CSS_MS, CSS_NUMBER, CSS_PC, CSS_PERCENTAGE, CSS_PT, CSS_PX, CSS_RAD, CSS_RECT, CSS_RGBCOLOR, CSS_S, CSS_STRING, CSS_UNKNOWN, CSS_URI, CSS_VH, CSS_VMIN, CSS_VWCSS_CUSTOM, CSS_INHERIT, CSS_PRIMITIVE_VALUE, CSS_VALUE_LISTSVG_ZOOMANDPAN_DISABLE, SVG_ZOOMANDPAN_MAGNIFY, SVG_ZOOMANDPAN_UNKNOWN| Modifier | Constructor and Description |
|---|---|
protected |
JsCSSPrimitiveValue() |
| Modifier and Type | Method and Description |
|---|---|
JsCounter |
getCounterValue() |
float |
getFloatValue(int unitType) |
int |
getPrimitiveType() |
JsRect |
getRectValue() |
JsRGBColor |
getRGBColorValue() |
String |
getStringValue() |
void |
setFloatValue(int unitType,
float floatValue) |
void |
setStringValue(int stringType,
String stringValue) |
getCssText, getCssValueType, setCssTextaddEventListener, addEventListener, beginElement, beginElementAt, dispatchEvent, endElement, endElementAt, getAnimatedClassName, getAnimatedHeight, getAnimatedHref, getAnimatedResult, getAnimatedTransform, getAnimatedWidth, getAnimatedX, getAnimatedY, getBBox, getChildElementCount, getCTM, getExternalResourcesRequired, getFarthestViewportElement, getFirstElementChild, getLastElementChild, getNearestViewportElement, getNextElementSibling, getPresentationAttribute, getPreserveAspectRatio, getPreviousElementSibling, getRequiredExtensions, getRequiredFeatures, getScreenCTM, getSvgStyle, getSystemLanguage, getTransformToElement, getViewBox, getXmllang, getXmlspace, getZoomAndPan, hasExtension, querySelector, querySelectorAll, removeEventListener, removeEventListener, setXmllang, setXmlspace, setZoomAndPanat, at, intAt, intAt, length, numberAt, numberAt, setAt, setAt, setAt, setAt, setAt, setAtcast, createArray, createArray, createFunction, createObject, equals, hashCode, toSource, toStringgetCssText, getCssValueType, setCssTextintAt, lengthnumberAtpublic final int getPrimitiveType()
getPrimitiveType in interface CSSPrimitiveValuepublic final JsCounter getCounterValue()
getCounterValue in interface CSSPrimitiveValuepublic final float getFloatValue(int unitType)
getFloatValue in interface CSSPrimitiveValuepublic final JsRGBColor getRGBColorValue()
getRGBColorValue in interface CSSPrimitiveValuepublic final JsRect getRectValue()
getRectValue in interface CSSPrimitiveValuepublic final String getStringValue()
getStringValue in interface CSSPrimitiveValuepublic final void setFloatValue(int unitType,
float floatValue)
setFloatValue in interface CSSPrimitiveValuepublic final void setStringValue(int stringType,
String stringValue)
setStringValue in interface CSSPrimitiveValueCopyright © 2016. All rights reserved.