public class CSSPrimitiveValueImpl extends CSSValueImpl implements org.w3c.dom.css.CSSPrimitiveValue
| Modifier and Type | Field and Description |
|---|---|
static int |
CSS_ATTR |
static int |
CSS_CM |
static int |
CSS_COUNTER |
static int |
CSS_DEG |
static int |
CSS_DIMENSION |
static int |
CSS_EMS |
static int |
CSS_EXS |
static int |
CSS_GRAD |
static int |
CSS_HZ |
static int |
CSS_IDENT |
static int |
CSS_IN |
static int |
CSS_KHZ |
static int |
CSS_MM |
static int |
CSS_MS |
static int |
CSS_NUMBER |
static int |
CSS_PC |
static int |
CSS_PERCENTAGE |
static int |
CSS_PT |
static int |
CSS_PX |
static int |
CSS_RAD |
static int |
CSS_RECT |
static int |
CSS_RGBCOLOR |
static int |
CSS_S |
static int |
CSS_STRING |
static int |
CSS_UNKNOWN |
static int |
CSS_URI |
static int |
CSS_VH |
static int |
CSS_VMAX |
static int |
CSS_VMIN |
static int |
CSS_VW |
CSS_CUSTOM, CSS_INHERIT, CSS_PRIMITIVE_VALUE, CSS_VALUE_LIST| Constructor and Description |
|---|
CSSPrimitiveValueImpl(long peer) |
| Modifier and Type | Method and Description |
|---|---|
org.w3c.dom.css.Counter |
getCounterValue() |
(package private) static long |
getCounterValueImpl(long peer) |
float |
getFloatValue(short unitType) |
(package private) static float |
getFloatValueImpl(long peer,
short unitType) |
(package private) static org.w3c.dom.css.CSSPrimitiveValue |
getImpl(long peer) |
short |
getPrimitiveType() |
(package private) static short |
getPrimitiveTypeImpl(long peer) |
org.w3c.dom.css.Rect |
getRectValue() |
(package private) static long |
getRectValueImpl(long peer) |
org.w3c.dom.css.RGBColor |
getRGBColorValue() |
(package private) static long |
getRGBColorValueImpl(long peer) |
java.lang.String |
getStringValue() |
(package private) static java.lang.String |
getStringValueImpl(long peer) |
void |
setFloatValue(short unitType,
float floatValue) |
(package private) static void |
setFloatValueImpl(long peer,
short unitType,
float floatValue) |
void |
setStringValue(short stringType,
java.lang.String stringValue) |
(package private) static void |
setStringValueImpl(long peer,
short stringType,
java.lang.String stringValue) |
create, equals, getCssText, getCssTextImpl, getCssValueType, getCssValueTypeImpl, getPeer, getPeer, hashCode, setCssText, setCssTextImplpublic static final int CSS_UNKNOWN
public static final int CSS_NUMBER
public static final int CSS_PERCENTAGE
public static final int CSS_EMS
public static final int CSS_EXS
public static final int CSS_PX
public static final int CSS_CM
public static final int CSS_MM
public static final int CSS_IN
public static final int CSS_PT
public static final int CSS_PC
public static final int CSS_DEG
public static final int CSS_RAD
public static final int CSS_GRAD
public static final int CSS_MS
public static final int CSS_S
public static final int CSS_HZ
public static final int CSS_KHZ
public static final int CSS_DIMENSION
public static final int CSS_STRING
public static final int CSS_URI
public static final int CSS_IDENT
public static final int CSS_ATTR
public static final int CSS_COUNTER
public static final int CSS_RECT
public static final int CSS_RGBCOLOR
public static final int CSS_VW
public static final int CSS_VH
public static final int CSS_VMIN
public static final int CSS_VMAX
static org.w3c.dom.css.CSSPrimitiveValue getImpl(long peer)
public short getPrimitiveType()
getPrimitiveType in interface org.w3c.dom.css.CSSPrimitiveValuestatic short getPrimitiveTypeImpl(long peer)
public void setFloatValue(short unitType,
float floatValue)
throws org.w3c.dom.DOMException
setFloatValue in interface org.w3c.dom.css.CSSPrimitiveValueorg.w3c.dom.DOMExceptionstatic void setFloatValueImpl(long peer,
short unitType,
float floatValue)
public float getFloatValue(short unitType)
throws org.w3c.dom.DOMException
getFloatValue in interface org.w3c.dom.css.CSSPrimitiveValueorg.w3c.dom.DOMExceptionstatic float getFloatValueImpl(long peer,
short unitType)
public void setStringValue(short stringType,
java.lang.String stringValue)
throws org.w3c.dom.DOMException
setStringValue in interface org.w3c.dom.css.CSSPrimitiveValueorg.w3c.dom.DOMExceptionstatic void setStringValueImpl(long peer,
short stringType,
java.lang.String stringValue)
public java.lang.String getStringValue()
throws org.w3c.dom.DOMException
getStringValue in interface org.w3c.dom.css.CSSPrimitiveValueorg.w3c.dom.DOMExceptionstatic java.lang.String getStringValueImpl(long peer)
public org.w3c.dom.css.Counter getCounterValue()
throws org.w3c.dom.DOMException
getCounterValue in interface org.w3c.dom.css.CSSPrimitiveValueorg.w3c.dom.DOMExceptionstatic long getCounterValueImpl(long peer)
public org.w3c.dom.css.Rect getRectValue()
throws org.w3c.dom.DOMException
getRectValue in interface org.w3c.dom.css.CSSPrimitiveValueorg.w3c.dom.DOMExceptionstatic long getRectValueImpl(long peer)
public org.w3c.dom.css.RGBColor getRGBColorValue()
throws org.w3c.dom.DOMException
getRGBColorValue in interface org.w3c.dom.css.CSSPrimitiveValueorg.w3c.dom.DOMExceptionstatic long getRGBColorValueImpl(long peer)