Class SVGOMAnimatedPreserveAspectRatio.AnimSVGPARValue

java.lang.Object
org.apache.batik.dom.svg.AbstractSVGPreserveAspectRatio
org.apache.batik.anim.dom.SVGOMAnimatedPreserveAspectRatio.AnimSVGPARValue
All Implemented Interfaces:
XMLConstants, CSSConstants, SVGConstants, org.w3c.dom.svg.SVGPreserveAspectRatio
Enclosing class:
SVGOMAnimatedPreserveAspectRatio

public class SVGOMAnimatedPreserveAspectRatio.AnimSVGPARValue extends AbstractSVGPreserveAspectRatio
This class represents the SVGPreserveAspectRatio returned by SVGOMAnimatedPreserveAspectRatio.getAnimVal().
  • Constructor Details

    • AnimSVGPARValue

      public AnimSVGPARValue()
  • Method Details

    • createDOMException

      protected DOMException createDOMException(short type, String key, Object[] args)
      Create a DOMException.
      Specified by:
      createDOMException in class AbstractSVGPreserveAspectRatio
    • setAttributeValue

      protected void setAttributeValue(String value) throws DOMException
      Sets the associated DOM attribute. Does nothing, since animated values aren't reflected in the DOM.
      Specified by:
      setAttributeValue in class AbstractSVGPreserveAspectRatio
      Throws:
      DOMException
    • getAlign

      public short getAlign()
      DOM: Implements SVGPreserveAspectRatio.getAlign().
      Specified by:
      getAlign in interface org.w3c.dom.svg.SVGPreserveAspectRatio
      Overrides:
      getAlign in class AbstractSVGPreserveAspectRatio
    • getMeetOrSlice

      public short getMeetOrSlice()
      DOM: Implements SVGPreserveAspectRatio.getMeetOrSlice().
      Specified by:
      getMeetOrSlice in interface org.w3c.dom.svg.SVGPreserveAspectRatio
      Overrides:
      getMeetOrSlice in class AbstractSVGPreserveAspectRatio
    • setAlign

      public void setAlign(short align)
      DOM: Implements SVGPreserveAspectRatio.setAlign(short).
      Specified by:
      setAlign in interface org.w3c.dom.svg.SVGPreserveAspectRatio
      Overrides:
      setAlign in class AbstractSVGPreserveAspectRatio
    • setMeetOrSlice

      public void setMeetOrSlice(short meetOrSlice)
      DOM: Implements SVGPreserveAspectRatio.setMeetOrSlice(short).
      Specified by:
      setMeetOrSlice in interface org.w3c.dom.svg.SVGPreserveAspectRatio
      Overrides:
      setMeetOrSlice in class AbstractSVGPreserveAspectRatio
    • setAnimatedValue

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