Class SVGStylableElement.PresentationAttributeValue
java.lang.Object
org.apache.batik.css.dom.CSSOMValue
org.apache.batik.anim.dom.SVGStylableElement.PresentationAttributeValue
- All Implemented Interfaces:
CSSOMValue.ValueProvider, LiveAttributeValue, Counter, CSSPrimitiveValue, CSSValue, CSSValueList, Rect, RGBColor
- Enclosing class:
SVGStylableElement
public class SVGStylableElement.PresentationAttributeValue
extends CSSOMValue
implements LiveAttributeValue, CSSOMValue.ValueProvider
To manage a presentation attribute value.
- Version:
- $Id$
-
Nested Class Summary
Nested classes/interfaces inherited from class CSSOMValue
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 -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CSSEngineThe CSS engine.protected booleanWhether the mutation comes from this object.protected StringThe property name.protected ValueThe value.Fields inherited from class CSSOMValue
blueComponent, bottomComponent, greenComponent, handler, items, leftComponent, redComponent, rightComponent, topComponent, valueProviderFields inherited from interface 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_URIFields inherited from interface CSSValue
CSS_CUSTOM, CSS_INHERIT, CSS_PRIMITIVE_VALUE, CSS_VALUE_LIST -
Constructor Summary
ConstructorsConstructorDescriptionPresentationAttributeValue(CSSEngine eng, String prop) Creates a new PresentationAttributeValue. -
Method Summary
Modifier and TypeMethodDescriptionvoidCalled when an Attr node has been added.voidattrModified(Attr node, String oldv, String newv) Called when an Attr node has been modified.voidattrRemoved(Attr node, String oldv) Called when an Attr node has been removed.getValue()Returns the current value associated with this object.Methods inherited from class CSSOMValue
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, toSeconds
-
Field Details
-
cssEngine
The CSS engine. -
property
The property name. -
value
The value. -
mutate
protected boolean mutateWhether the mutation comes from this object.
-
-
Constructor Details
-
PresentationAttributeValue
-
-
Method Details
-
getValue
Returns the current value associated with this object.- Specified by:
getValuein interfaceCSSOMValue.ValueProvider
-
attrAdded
Called when an Attr node has been added.- Specified by:
attrAddedin interfaceLiveAttributeValue
-
attrModified
Called when an Attr node has been modified.- Specified by:
attrModifiedin interfaceLiveAttributeValue
-
attrRemoved
Called when an Attr node has been removed.- Specified by:
attrRemovedin interfaceLiveAttributeValue
-