SMILAnimateMotionElement.java revision 8eed706474910ccb978acda03e85d3261037da6e
1/*
2 * Copyright (c) 2000 World Wide Web Consortium,
3 * (Massachusetts Institute of Technology, Institut National de
4 * Recherche en Informatique et en Automatique, Keio University). All
5 * Rights Reserved. This program is distributed under the W3C's Software
6 * Intellectual Property License. This program is distributed in the
7 * hope that it will be useful, but WITHOUT ANY WARRANTY; without even
8 * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
9 * PURPOSE. See W3C License http://www.w3.org/Consortium/Legal/ for more
10 * details.
11 */
12
13package org.w3c.dom.smil;
14
15import org.w3c.dom.DOMException;
16
17/**
18 *  This interface present the <code>animationMotion</code> element in SMIL.
19 */
20public interface SMILAnimateMotionElement extends SMILAnimateElement {
21    /**
22     *  Specifies the curve that describes the attribute value as a function
23     * of time.  Check with the SVG spec for better support
24     * @exception DOMException
25     *    NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
26     */
27    public String getPath();
28    public void setPath(String path)
29                                throws DOMException;
30
31    /**
32     *  Specifies the origin of motion for the animation.
33     * @exception DOMException
34     *    NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
35     */
36    public String getOrigin();
37    public void setOrigin(String origin)
38                                throws DOMException;
39
40}
41
42