Class CSSOMSVGPaint.AbstractModificationHandler
java.lang.Object
org.apache.batik.css.dom.CSSOMSVGPaint.AbstractModificationHandler
- All Implemented Interfaces:
CSSOMSVGColor.ModificationHandler, CSSOMSVGPaint.PaintModificationHandler
- Enclosing class:
CSSOMSVGPaint
public abstract class CSSOMSVGPaint.AbstractModificationHandler
extends Object
implements CSSOMSVGPaint.PaintModificationHandler
Provides an abstract implementation of a PaintModificationHandler.
- Version:
- $Id$
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidblueFloatValueChanged(short unit, float value) Called when the blue float value has changed.voidblueTextChanged(String text) Called when the blue value text has changed.voidcolorAppend(float f) Called when the ICC color has been append.voidcolorChanged(short type, String rgb, String icc) Called when the SVGColor has changed.voidcolorInsertedBefore(float f, int idx) Called when the ICC color has been inserted.voidCalled when the ICC color profile has changed.voidcolorRemoved(int idx) Called when the ICC color has been removed.voidcolorReplaced(float f, int idx) Called when the ICC color has been replaced.voidCalled when the ICC colors has changed.voidcolorsInitialized(float f) Called when the ICC colors has been initialized.protected abstract ValuegetValue()Returns the associated value.voidgreenFloatValueChanged(short unit, float value) Called when the green float value has changed.voidgreenTextChanged(String text) Called when the green value text has changed.voidpaintChanged(short type, String uri, String rgb, String icc) Called when the paint value has beem modified.voidredFloatValueChanged(short unit, float value) Called when the red float value has changed.voidredTextChanged(String text) Called when the red value text has changed.voidrgbColorChanged(String text) Called when the RGBColor text has changed.voidrgbColorICCColorChanged(String rgb, String icc) Called when the RGBColor and the ICCColor text has changed.voiduriChanged(String uri) Called when the URI has been modified.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface CSSOMSVGColor.ModificationHandler
textChanged
-
Constructor Details
-
AbstractModificationHandler
public AbstractModificationHandler()
-
-
Method Details
-
getValue
Returns the associated value. -
redTextChanged
Called when the red value text has changed.- Specified by:
redTextChangedin interfaceCSSOMSVGColor.ModificationHandler- Throws:
DOMException
-
redFloatValueChanged
Called when the red float value has changed.- Specified by:
redFloatValueChangedin interfaceCSSOMSVGColor.ModificationHandler- Throws:
DOMException
-
greenTextChanged
Called when the green value text has changed.- Specified by:
greenTextChangedin interfaceCSSOMSVGColor.ModificationHandler- Throws:
DOMException
-
greenFloatValueChanged
Called when the green float value has changed.- Specified by:
greenFloatValueChangedin interfaceCSSOMSVGColor.ModificationHandler- Throws:
DOMException
-
blueTextChanged
Called when the blue value text has changed.- Specified by:
blueTextChangedin interfaceCSSOMSVGColor.ModificationHandler- Throws:
DOMException
-
blueFloatValueChanged
Called when the blue float value has changed.- Specified by:
blueFloatValueChangedin interfaceCSSOMSVGColor.ModificationHandler- Throws:
DOMException
-
rgbColorChanged
Called when the RGBColor text has changed.- Specified by:
rgbColorChangedin interfaceCSSOMSVGColor.ModificationHandler- Throws:
DOMException
-
rgbColorICCColorChanged
Called when the RGBColor and the ICCColor text has changed.- Specified by:
rgbColorICCColorChangedin interfaceCSSOMSVGColor.ModificationHandler- Throws:
DOMException
-
colorChanged
Called when the SVGColor has changed.- Specified by:
colorChangedin interfaceCSSOMSVGColor.ModificationHandler- Throws:
DOMException
-
colorProfileChanged
Called when the ICC color profile has changed.- Specified by:
colorProfileChangedin interfaceCSSOMSVGColor.ModificationHandler- Throws:
DOMException
-
colorsCleared
Called when the ICC colors has changed.- Specified by:
colorsClearedin interfaceCSSOMSVGColor.ModificationHandler- Throws:
DOMException
-
colorsInitialized
Called when the ICC colors has been initialized.- Specified by:
colorsInitializedin interfaceCSSOMSVGColor.ModificationHandler- Throws:
DOMException
-
colorInsertedBefore
Called when the ICC color has been inserted.- Specified by:
colorInsertedBeforein interfaceCSSOMSVGColor.ModificationHandler- Throws:
DOMException
-
colorReplaced
Called when the ICC color has been replaced.- Specified by:
colorReplacedin interfaceCSSOMSVGColor.ModificationHandler- Throws:
DOMException
-
colorRemoved
Called when the ICC color has been removed.- Specified by:
colorRemovedin interfaceCSSOMSVGColor.ModificationHandler- Throws:
DOMException
-
colorAppend
Called when the ICC color has been append.- Specified by:
colorAppendin interfaceCSSOMSVGColor.ModificationHandler- Throws:
DOMException
-
uriChanged
Called when the URI has been modified.- Specified by:
uriChangedin interfaceCSSOMSVGPaint.PaintModificationHandler
-
paintChanged
Called when the paint value has beem modified.- Specified by:
paintChangedin interfaceCSSOMSVGPaint.PaintModificationHandler
-