Package org.apache.batik.css.dom
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.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
blueFloatValueChanged
(short unit, float value) Called when the blue float value has changed.void
blueTextChanged
(String text) Called when the blue value text has changed.void
colorAppend
(float f) Called when the ICC color has been append.void
colorChanged
(short type, String rgb, String icc) Called when the SVGColor has changed.void
colorInsertedBefore
(float f, int idx) Called when the ICC color has been inserted.void
Called when the ICC color profile has changed.void
colorRemoved
(int idx) Called when the ICC color has been removed.void
colorReplaced
(float f, int idx) Called when the ICC color has been replaced.void
Called when the ICC colors has changed.void
colorsInitialized
(float f) Called when the ICC colors has been initialized.protected abstract Value
getValue()
Returns the associated value.void
greenFloatValueChanged
(short unit, float value) Called when the green float value has changed.void
greenTextChanged
(String text) Called when the green value text has changed.void
paintChanged
(short type, String uri, String rgb, String icc) Called when the paint value has beem modified.void
redFloatValueChanged
(short unit, float value) Called when the red float value has changed.void
redTextChanged
(String text) Called when the red value text has changed.void
rgbColorChanged
(String text) Called when the RGBColor text has changed.void
rgbColorICCColorChanged
(String rgb, String icc) Called when the RGBColor and the ICCColor text has changed.void
uriChanged
(String uri) Called when the URI has been modified.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.batik.css.dom.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:
redTextChanged
in interfaceCSSOMSVGColor.ModificationHandler
- Throws:
DOMException
-
redFloatValueChanged
Called when the red float value has changed.- Specified by:
redFloatValueChanged
in interfaceCSSOMSVGColor.ModificationHandler
- Throws:
DOMException
-
greenTextChanged
Called when the green value text has changed.- Specified by:
greenTextChanged
in interfaceCSSOMSVGColor.ModificationHandler
- Throws:
DOMException
-
greenFloatValueChanged
Called when the green float value has changed.- Specified by:
greenFloatValueChanged
in interfaceCSSOMSVGColor.ModificationHandler
- Throws:
DOMException
-
blueTextChanged
Called when the blue value text has changed.- Specified by:
blueTextChanged
in interfaceCSSOMSVGColor.ModificationHandler
- Throws:
DOMException
-
blueFloatValueChanged
Called when the blue float value has changed.- Specified by:
blueFloatValueChanged
in interfaceCSSOMSVGColor.ModificationHandler
- Throws:
DOMException
-
rgbColorChanged
Called when the RGBColor text has changed.- Specified by:
rgbColorChanged
in interfaceCSSOMSVGColor.ModificationHandler
- Throws:
DOMException
-
rgbColorICCColorChanged
Called when the RGBColor and the ICCColor text has changed.- Specified by:
rgbColorICCColorChanged
in interfaceCSSOMSVGColor.ModificationHandler
- Throws:
DOMException
-
colorChanged
Called when the SVGColor has changed.- Specified by:
colorChanged
in interfaceCSSOMSVGColor.ModificationHandler
- Throws:
DOMException
-
colorProfileChanged
Called when the ICC color profile has changed.- Specified by:
colorProfileChanged
in interfaceCSSOMSVGColor.ModificationHandler
- Throws:
DOMException
-
colorsCleared
Called when the ICC colors has changed.- Specified by:
colorsCleared
in interfaceCSSOMSVGColor.ModificationHandler
- Throws:
DOMException
-
colorsInitialized
Called when the ICC colors has been initialized.- Specified by:
colorsInitialized
in interfaceCSSOMSVGColor.ModificationHandler
- Throws:
DOMException
-
colorInsertedBefore
Called when the ICC color has been inserted.- Specified by:
colorInsertedBefore
in interfaceCSSOMSVGColor.ModificationHandler
- Throws:
DOMException
-
colorReplaced
Called when the ICC color has been replaced.- Specified by:
colorReplaced
in interfaceCSSOMSVGColor.ModificationHandler
- Throws:
DOMException
-
colorRemoved
Called when the ICC color has been removed.- Specified by:
colorRemoved
in interfaceCSSOMSVGColor.ModificationHandler
- Throws:
DOMException
-
colorAppend
Called when the ICC color has been append.- Specified by:
colorAppend
in interfaceCSSOMSVGColor.ModificationHandler
- Throws:
DOMException
-
uriChanged
Called when the URI has been modified.- Specified by:
uriChanged
in interfaceCSSOMSVGPaint.PaintModificationHandler
-
paintChanged
Called when the paint value has beem modified.- Specified by:
paintChanged
in interfaceCSSOMSVGPaint.PaintModificationHandler
-