public class OMCSSPrimitiveValue extends OMCSSValue
Modifier and Type | Field and Description |
---|---|
static short |
CSS_ATTR |
static short |
CSS_CM |
static short |
CSS_COUNTER |
static short |
CSS_DEG |
static short |
CSS_DIMENSION |
static short |
CSS_EMS |
static short |
CSS_EXS |
static short |
CSS_GRAD |
static short |
CSS_HZ |
static short |
CSS_IDENT |
static short |
CSS_IN |
static short |
CSS_KHZ |
static short |
CSS_MM |
static short |
CSS_MS |
static short |
CSS_NUMBER |
static short |
CSS_PC |
static short |
CSS_PERCENTAGE |
static short |
CSS_PT |
static short |
CSS_PX |
static short |
CSS_RAD |
static short |
CSS_RECT |
static short |
CSS_RGBCOLOR |
static short |
CSS_S |
static short |
CSS_STRING |
static short |
CSS_UNKNOWN |
static short |
CSS_URI |
CSS_CUSTOM, CSS_INHERIT, CSS_PRIMITIVE_VALUE, CSS_VALUE_LIST, cssText, cssValueType
Modifier | Constructor and Description |
---|---|
protected |
OMCSSPrimitiveValue(float f) |
|
OMCSSPrimitiveValue(float floatValue,
short primitiveType) |
|
OMCSSPrimitiveValue(String stringValue,
short primitiveType) |
Modifier and Type | Method and Description |
---|---|
String |
getDescription() |
float |
getFloatValue(short unitType) |
short |
getPrimitiveType() |
OMRGBColor |
getRGBColorValue() |
String |
getStringValue() |
void |
setFloatValue(short unitType,
float floatValue) |
void |
setStringValue(short stringType,
String stringValue) |
getCssText, getCssValueType, setCssText, toString
public static final short CSS_UNKNOWN
public static final short CSS_NUMBER
public static final short CSS_PERCENTAGE
public static final short CSS_EMS
public static final short CSS_EXS
public static final short CSS_PX
public static final short CSS_CM
public static final short CSS_MM
public static final short CSS_IN
public static final short CSS_PT
public static final short CSS_PC
public static final short CSS_DEG
public static final short CSS_RAD
public static final short CSS_GRAD
public static final short CSS_MS
public static final short CSS_S
public static final short CSS_HZ
public static final short CSS_KHZ
public static final short CSS_DIMENSION
public static final short CSS_STRING
public static final short CSS_URI
public static final short CSS_IDENT
public static final short CSS_ATTR
public static final short CSS_COUNTER
public static final short CSS_RECT
public static final short CSS_RGBCOLOR
protected OMCSSPrimitiveValue(float f)
public OMCSSPrimitiveValue(float floatValue, short primitiveType)
public OMCSSPrimitiveValue(String stringValue, short primitiveType)
public final short getPrimitiveType()
public final void setFloatValue(short unitType, float floatValue) throws com.google.gwt.core.client.JavaScriptException
com.google.gwt.core.client.JavaScriptException
public final float getFloatValue(short unitType) throws com.google.gwt.core.client.JavaScriptException
com.google.gwt.core.client.JavaScriptException
public final void setStringValue(short stringType, String stringValue) throws com.google.gwt.core.client.JavaScriptException
com.google.gwt.core.client.JavaScriptException
public final String getStringValue() throws com.google.gwt.core.client.JavaScriptException
com.google.gwt.core.client.JavaScriptException
public final OMRGBColor getRGBColorValue() throws com.google.gwt.core.client.JavaScriptException
com.google.gwt.core.client.JavaScriptException
public String getDescription()
getDescription
in class OMCSSValue
Copyright © 2018. All Rights Reserved.