public class SVGStylableElement.PresentationAttributeValue extends CSSOMValue implements LiveAttributeValue, CSSOMValue.ValueProvider
CSSOMValue.AbstractComponent, CSSOMValue.AbstractModificationHandler, CSSOMValue.BlueComponent, CSSOMValue.BottomComponent, CSSOMValue.FloatComponent, CSSOMValue.GreenComponent, CSSOMValue.LeftComponent, CSSOMValue.ListComponent, CSSOMValue.ModificationHandler, CSSOMValue.RedComponent, CSSOMValue.RightComponent, CSSOMValue.TopComponent, CSSOMValue.ValueProvider| Modifier and Type | Field and Description |
|---|---|
protected CSSEngine |
cssEngine
The CSS engine.
|
protected boolean |
mutate
Whether the mutation comes from this object.
|
protected String |
property
The property name.
|
protected Value |
value
The value.
|
blueComponent, bottomComponent, greenComponent, handler, items, leftComponent, redComponent, rightComponent, topComponent, valueProviderCSS_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_URICSS_CUSTOM, CSS_INHERIT, CSS_PRIMITIVE_VALUE, CSS_VALUE_LIST| Constructor and Description |
|---|
PresentationAttributeValue(CSSEngine eng,
String prop)
Creates a new PresentationAttributeValue.
|
| Modifier and Type | Method and Description |
|---|---|
void |
attrAdded(Attr node,
String newv)
Called when an Attr node has been added.
|
void |
attrModified(Attr node,
String oldv,
String newv)
Called when an Attr node has been modified.
|
void |
attrRemoved(Attr node,
String oldv)
Called when an Attr node has been removed.
|
Value |
getValue()
Returns the current value associated with this object.
|
convertFloatValue, getBlue, getBottom, getCounterValue, getCssText, getCssValueType, getFloatValue, getGreen, getIdentifier, getLeft, getLength, getListStyle, getPrimitiveType, getRectValue, getRed, getRGBColorValue, getRight, getSeparator, getStringValue, getTop, item, setCssText, setFloatValue, setModificationHandler, setStringValue, toCentimeters, toDegrees, toGradians, toHertz, toInches, tokHertz, toMillimeters, toMilliseconds, toPicas, toPoints, toRadians, toSecondsprotected CSSEngine cssEngine
protected String property
protected Value value
protected boolean mutate
public Value getValue()
getValue in interface CSSOMValue.ValueProviderpublic void attrAdded(Attr node, String newv)
attrAdded in interface LiveAttributeValuepublic void attrModified(Attr node, String oldv, String newv)
attrModified in interface LiveAttributeValuepublic void attrRemoved(Attr node, String oldv)
attrRemoved in interface LiveAttributeValueCopyright © 2000–2020 Apache Software Foundation. All rights reserved.