@DOMObjectAttribute @DOMNameAttribute(name="CSSValue") public abstract class CSSValue extends DOMObject
Represents a simple or a complex value. A CSSValue object only occurs in a context of a CSS property.
Modifier and Type | Field and Description |
---|---|
static int |
CSS_CUSTOM
The value is a custom value.
|
static int |
CSS_INHERIT
The value is inherited and the cssText contains "inherit".
|
static int |
CSS_PRIMITIVE_VALUE
The value is a primitive value and an instance of the CSSPrimitiveValue interface can be obtained by using binding-specific casting methods on this instance of the CSSValue interface.
|
static int |
CSS_VALUE_LIST
The value is a CSSValue list and an instance of the CSSValueList interface can be obtained by using binding-specific casting methods on this instance of the CSSValue interface.
|
PropertyChanged
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Determines whether the specified
Object is equal to this instance. |
abstract String |
getCSSText()
A string representation of the current value.
|
int |
getCSSValueType()
A code defining the type of the value.
|
int |
hashCode()
Returns a hash code for this instance.
|
static boolean |
op_Equality(CSSValue left,
CSSValue right)
Implements the operator ==.
|
static boolean |
op_Inequality(CSSValue left,
CSSValue right)
Implements the operator !
|
abstract void |
setCSSText(String value)
A string representation of the current value.
|
String |
toString()
Returns a
String that represents this instance. |
fireNotifyPropertyChanged, getCurrentValues, getRuntimesBinding, setCurrentValues, setField, setRuntimesBinding
public static final int CSS_INHERIT
The value is inherited and the cssText contains "inherit".
public static final int CSS_PRIMITIVE_VALUE
The value is a primitive value and an instance of the CSSPrimitiveValue interface can be obtained by using binding-specific casting methods on this instance of the CSSValue interface.
public static final int CSS_VALUE_LIST
The value is a CSSValue list and an instance of the CSSValueList interface can be obtained by using binding-specific casting methods on this instance of the CSSValue interface.
public static final int CSS_CUSTOM
The value is a custom value.
public static boolean op_Equality(CSSValue left, CSSValue right)
Implements the operator ==.
left
- The left element.right
- The right element.public static boolean op_Inequality(CSSValue left, CSSValue right)
Implements the operator !=.
left
- The left element.right
- The right element.@DOMNameAttribute(name="cssText") public abstract String getCSSText()
A string representation of the current value.
Value: The CSS text.@DOMNameAttribute(name="cssText") public abstract void setCSSText(String value)
A string representation of the current value.
Value: The CSS text.@DOMNameAttribute(name="cssValueType") public int getCSSValueType()
A code defining the type of the value.
Value: The type of the CSS value.public boolean equals(Object obj)
Determines whether the specified Object
is equal to this instance.