Package org.apache.batik.css.dom
Class CSSOMSVGColor.AbstractModificationHandler
- java.lang.Object
-
- org.apache.batik.css.dom.CSSOMSVGColor.AbstractModificationHandler
-
- All Implemented Interfaces:
CSSOMSVGColor.ModificationHandler
- Enclosing class:
- CSSOMSVGColor
public abstract class CSSOMSVGColor.AbstractModificationHandler extends java.lang.Object implements CSSOMSVGColor.ModificationHandler
Provides an abstract implementation of a ModificationHandler.
-
-
Constructor Summary
Constructors Constructor Description AbstractModificationHandler()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidblueFloatValueChanged(short unit, float fValue)Called when the blue float value has changed.voidblueTextChanged(java.lang.String text)Called when the blue value text has changed.voidcolorAppend(float f)Called when the ICC color has been append.voidcolorChanged(short type, java.lang.String rgb, java.lang.String icc)Called when the SVGColor has changed.voidcolorInsertedBefore(float f, int idx)Called when the ICC color has been inserted.voidcolorProfileChanged(java.lang.String cp)Called 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.voidcolorsCleared()Called 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 fValue)Called when the green float value has changed.voidgreenTextChanged(java.lang.String text)Called when the green value text has changed.voidredFloatValueChanged(short unit, float fValue)Called when the red float value has changed.voidredTextChanged(java.lang.String text)Called when the red value text has changed.voidrgbColorChanged(java.lang.String text)Called when the RGBColor text has changed.voidrgbColorICCColorChanged(java.lang.String rgb, java.lang.String icc)Called when the RGBColor and the ICCColor text has changed.-
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
-
-
-
-
Method Detail
-
getValue
protected abstract Value getValue()
Returns the associated value.
-
redTextChanged
public void redTextChanged(java.lang.String text) throws org.w3c.dom.DOMExceptionCalled when the red value text has changed.- Specified by:
redTextChangedin interfaceCSSOMSVGColor.ModificationHandler- Throws:
org.w3c.dom.DOMException
-
redFloatValueChanged
public void redFloatValueChanged(short unit, float fValue) throws org.w3c.dom.DOMExceptionCalled when the red float value has changed.- Specified by:
redFloatValueChangedin interfaceCSSOMSVGColor.ModificationHandler- Throws:
org.w3c.dom.DOMException
-
greenTextChanged
public void greenTextChanged(java.lang.String text) throws org.w3c.dom.DOMExceptionCalled when the green value text has changed.- Specified by:
greenTextChangedin interfaceCSSOMSVGColor.ModificationHandler- Throws:
org.w3c.dom.DOMException
-
greenFloatValueChanged
public void greenFloatValueChanged(short unit, float fValue) throws org.w3c.dom.DOMExceptionCalled when the green float value has changed.- Specified by:
greenFloatValueChangedin interfaceCSSOMSVGColor.ModificationHandler- Throws:
org.w3c.dom.DOMException
-
blueTextChanged
public void blueTextChanged(java.lang.String text) throws org.w3c.dom.DOMExceptionCalled when the blue value text has changed.- Specified by:
blueTextChangedin interfaceCSSOMSVGColor.ModificationHandler- Throws:
org.w3c.dom.DOMException
-
blueFloatValueChanged
public void blueFloatValueChanged(short unit, float fValue) throws org.w3c.dom.DOMExceptionCalled when the blue float value has changed.- Specified by:
blueFloatValueChangedin interfaceCSSOMSVGColor.ModificationHandler- Throws:
org.w3c.dom.DOMException
-
rgbColorChanged
public void rgbColorChanged(java.lang.String text) throws org.w3c.dom.DOMExceptionCalled when the RGBColor text has changed.- Specified by:
rgbColorChangedin interfaceCSSOMSVGColor.ModificationHandler- Throws:
org.w3c.dom.DOMException
-
rgbColorICCColorChanged
public void rgbColorICCColorChanged(java.lang.String rgb, java.lang.String icc) throws org.w3c.dom.DOMExceptionCalled when the RGBColor and the ICCColor text has changed.- Specified by:
rgbColorICCColorChangedin interfaceCSSOMSVGColor.ModificationHandler- Throws:
org.w3c.dom.DOMException
-
colorChanged
public void colorChanged(short type, java.lang.String rgb, java.lang.String icc) throws org.w3c.dom.DOMExceptionCalled when the SVGColor has changed.- Specified by:
colorChangedin interfaceCSSOMSVGColor.ModificationHandler- Throws:
org.w3c.dom.DOMException
-
colorProfileChanged
public void colorProfileChanged(java.lang.String cp) throws org.w3c.dom.DOMExceptionCalled when the ICC color profile has changed.- Specified by:
colorProfileChangedin interfaceCSSOMSVGColor.ModificationHandler- Throws:
org.w3c.dom.DOMException
-
colorsCleared
public void colorsCleared() throws org.w3c.dom.DOMExceptionCalled when the ICC colors has changed.- Specified by:
colorsClearedin interfaceCSSOMSVGColor.ModificationHandler- Throws:
org.w3c.dom.DOMException
-
colorsInitialized
public void colorsInitialized(float f) throws org.w3c.dom.DOMExceptionCalled when the ICC colors has been initialized.- Specified by:
colorsInitializedin interfaceCSSOMSVGColor.ModificationHandler- Throws:
org.w3c.dom.DOMException
-
colorInsertedBefore
public void colorInsertedBefore(float f, int idx) throws org.w3c.dom.DOMExceptionCalled when the ICC color has been inserted.- Specified by:
colorInsertedBeforein interfaceCSSOMSVGColor.ModificationHandler- Throws:
org.w3c.dom.DOMException
-
colorReplaced
public void colorReplaced(float f, int idx) throws org.w3c.dom.DOMExceptionCalled when the ICC color has been replaced.- Specified by:
colorReplacedin interfaceCSSOMSVGColor.ModificationHandler- Throws:
org.w3c.dom.DOMException
-
colorRemoved
public void colorRemoved(int idx) throws org.w3c.dom.DOMExceptionCalled when the ICC color has been removed.- Specified by:
colorRemovedin interfaceCSSOMSVGColor.ModificationHandler- Throws:
org.w3c.dom.DOMException
-
colorAppend
public void colorAppend(float f) throws org.w3c.dom.DOMExceptionCalled when the ICC color has been append.- Specified by:
colorAppendin interfaceCSSOMSVGColor.ModificationHandler- Throws:
org.w3c.dom.DOMException
-
-