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_VW
CSS_CUSTOM, CSS_INHERIT, CSS_PRIMITIVE_VALUE, CSS_VALUE_LIST
SVG_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, setCssText
addEventListener, 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, setZoomAndPan
at, at, intAt, intAt, length, numberAt, numberAt, setAt, setAt, setAt, setAt, setAt, setAt
cast, createArray, createArray, createFunction, createObject, equals, hashCode, toSource, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getCssText, getCssValueType, setCssText
intAt, length
numberAt
public final int getPrimitiveType()
getPrimitiveType
in interface CSSPrimitiveValue
public final JsCounter getCounterValue()
getCounterValue
in interface CSSPrimitiveValue
public final float getFloatValue(int unitType)
getFloatValue
in interface CSSPrimitiveValue
public final JsRGBColor getRGBColorValue()
getRGBColorValue
in interface CSSPrimitiveValue
public final JsRect getRectValue()
getRectValue
in interface CSSPrimitiveValue
public final String getStringValue()
getStringValue
in interface CSSPrimitiveValue
public final void setFloatValue(int unitType, float floatValue)
setFloatValue
in interface CSSPrimitiveValue
public final void setStringValue(int stringType, String stringValue)
setStringValue
in interface CSSPrimitiveValue
Copyright © 2016. All rights reserved.