org.apache.batik.css.dom

Class CSSOMSVGPaint

public class CSSOMSVGPaint extends CSSOMSVGColor implements SVGPaint

This class implements the {@link SVGPaint} interface.
Nested Class Summary
abstract classCSSOMSVGPaint.AbstractModificationHandler
Provides an abstract implementation of a PaintModificationHandler.
interfaceCSSOMSVGPaint.PaintModificationHandler
To manage the modifications on a SVGPaint value.
Constructor Summary
CSSOMSVGPaint(ValueProvider vp)
Creates a new CSSOMSVGPaint.
Method Summary
shortgetColorType()
DOM: Implements {@link org.w3c.dom.svg.SVGColor#getColorType()}.
shortgetPaintType()
DOM: Implements {@link org.w3c.dom.svg.SVGPaint#getPaintType()}.
StringgetUri()
DOM: Implements {@link org.w3c.dom.svg.SVGPaint#getUri()}.
voidsetModificationHandler(ModificationHandler h)
Sets the modification handler of this value.
voidsetPaint(short paintType, String uri, String rgbColor, String iccColor)
DOM: Implements {@link org.w3c.dom.svg.SVGPaint#setPaint(short,String,String,String)}.
voidsetUri(String uri)
DOM: Implements {@link org.w3c.dom.svg.SVGPaint#setUri(String)}.

Constructor Detail

CSSOMSVGPaint

public CSSOMSVGPaint(ValueProvider vp)
Creates a new CSSOMSVGPaint.

Method Detail

getColorType

public short getColorType()
DOM: Implements {@link org.w3c.dom.svg.SVGColor#getColorType()}.

getPaintType

public short getPaintType()
DOM: Implements {@link org.w3c.dom.svg.SVGPaint#getPaintType()}.

getUri

public String getUri()
DOM: Implements {@link org.w3c.dom.svg.SVGPaint#getUri()}.

setModificationHandler

public void setModificationHandler(ModificationHandler h)
Sets the modification handler of this value.

setPaint

public void setPaint(short paintType, String uri, String rgbColor, String iccColor)
DOM: Implements {@link org.w3c.dom.svg.SVGPaint#setPaint(short,String,String,String)}.

setUri

public void setUri(String uri)
DOM: Implements {@link org.w3c.dom.svg.SVGPaint#setUri(String)}.
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.