org.apache.batik.dom.svg

Class SVGOMAnimatedPreserveAspectRatio.AnimSVGPARValue

public class SVGOMAnimatedPreserveAspectRatio.AnimSVGPARValue extends AbstractSVGPreserveAspectRatio

This class represents the SVGPreserveAspectRatio returned by {@link #getAnimVal()}.
Method Summary
protected DOMExceptioncreateDOMException(short type, String key, Object[] args)
Create a DOMException.
shortgetAlign()
DOM: Implements {@link SVGPreserveAspectRatio#getAlign()}.
shortgetMeetOrSlice()
DOM: Implements {@link SVGPreserveAspectRatio#getMeetOrSlice()}.
voidsetAlign(short align)
DOM: Implements {@link 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 {@link SVGPreserveAspectRatio#setMeetOrSlice(short)}.

Method Detail

createDOMException

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

getAlign

public short getAlign()
DOM: Implements {@link SVGPreserveAspectRatio#getAlign()}.

getMeetOrSlice

public short getMeetOrSlice()
DOM: Implements {@link SVGPreserveAspectRatio#getMeetOrSlice()}.

setAlign

public void setAlign(short align)
DOM: Implements {@link 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 {@link SVGPreserveAspectRatio#setMeetOrSlice(short)}.
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.