org.apache.batik.dom.svg

Class SVGOMAnimatedPreserveAspectRatio.AnimSVGPARValue

public class SVGOMAnimatedPreserveAspectRatio.AnimSVGPARValue extends AbstractSVGPreserveAspectRatio

This class represents the SVGPreserveAspectRatio returned by AnimSVGPARValue.
Method Summary
protected DOMExceptioncreateDOMException(short type, String key, Object[] args)
Create a DOMException.
shortgetAlign()
DOM: Implements SVGPreserveAspectRatio#getAlign().
shortgetMeetOrSlice()
DOM: Implements SVGPreserveAspectRatio#getMeetOrSlice().
voidsetAlign(short align)
DOM: Implements SVGPreserveAspectRatio#setAlign(short).
protected voidsetAnimatedValue(short align, short meetOrSlice)
Updates the animated value.
protected voidsetAttributeValue(String value)
Sets the associated DOM attribute.
voidsetMeetOrSlice(short meetOrSlice)
DOM: Implements SVGPreserveAspectRatio#setMeetOrSlice(short).

Method Detail

createDOMException

protected DOMException createDOMException(short type, String key, Object[] args)
Create a DOMException.

getAlign

public short getAlign()
DOM: Implements SVGPreserveAspectRatio#getAlign().

getMeetOrSlice

public short getMeetOrSlice()
DOM: Implements SVGPreserveAspectRatio#getMeetOrSlice().

setAlign

public void setAlign(short align)
DOM: Implements SVGPreserveAspectRatio#setAlign(short).

setAnimatedValue

protected void setAnimatedValue(short align, short meetOrSlice)
Updates the animated value.

setAttributeValue

protected void setAttributeValue(String value)
Sets the associated DOM attribute. Does nothing, since animated values aren't reflected in the DOM.

setMeetOrSlice

public void setMeetOrSlice(short meetOrSlice)
DOM: Implements SVGPreserveAspectRatio#setMeetOrSlice(short).
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.