Interface AnimatedAttributeListener

All Known Implementing Classes:
BridgeContext.AnimatedAttrListener, SVGOMDocument.AnimAttrListener

public interface AnimatedAttributeListener
An interface to listen for changes on any animatable XML attribute in an SVGOMDocument.
  • Method Details

    • animatedAttributeChanged

      void animatedAttributeChanged(Element e, AnimatedLiveAttributeValue alav)
      Called to notify an object of a change to the animated value of an animatable XML attribute.
      Parameters:
      e - the owner element of the changed animatable attribute
      alav - the AnimatedLiveAttributeValue that changed
    • otherAnimationChanged

      void otherAnimationChanged(Element e, String type)
      Called to notify an object of a change to the value of an 'other' animation.
      Parameters:
      e - the element being animated
      type - the type of animation whose value changed