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
13 package org.w3c.dom.smil;
15 import org.w3c.dom.DOMException;
18 * This interface define the set of animation extensions for SMIL. The
19 * attributes will go in a XLink interface.
21 public interface SMILAnimation extends SMILElement, ElementTargetAttributes, ElementTime, ElementTimeControl {
23 public static final short ADDITIVE_REPLACE = 0;
24 public static final short ADDITIVE_SUM = 1;
27 * A code representing the value of the additive attribute, as defined
28 * above. Default value is <code>ADDITIVE_REPLACE</code> .
29 * @exception DOMException
30 * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
32 public short getAdditive();
33 public void setAdditive(short additive)
37 public static final short ACCUMULATE_NONE = 0;
38 public static final short ACCUMULATE_SUM = 1;
41 * A code representing the value of the accumulate attribute, as defined
42 * above. Default value is <code>ACCUMULATE_NONE</code> .
43 * @exception DOMException
44 * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
46 public short getAccumulate();
47 public void setAccumulate(short accumulate)
51 public static final short CALCMODE_DISCRETE = 0;
52 public static final short CALCMODE_LINEAR = 1;
53 public static final short CALCMODE_PACED = 2;
54 public static final short CALCMODE_SPLINE = 3;
57 * A code representing the value of the calcMode attribute, as defined
59 * @exception DOMException
60 * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
62 public short getCalcMode();
63 public void setCalcMode(short calcMode)
67 * A <code>DOMString</code> representing the value of the keySplines
68 * attribute. Need an interface a point (x1,y1,x2,y2)
69 * @exception DOMException
70 * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
72 public String getKeySplines();
73 public void setKeySplines(String keySplines)
77 * A list of the time value of the keyTimes attribute.
78 * @exception DOMException
79 * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
81 public TimeList getKeyTimes();
82 public void setKeyTimes(TimeList keyTimes)
86 * A <code>DOMString</code> representing the value of the values
88 * @exception DOMException
89 * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
91 public String getValues();
92 public void setValues(String values)
96 * A <code>DOMString</code> representing the value of the from attribute.
98 * @exception DOMException
99 * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
101 public String getFrom();
102 public void setFrom(String from)
106 * A <code>DOMString</code> representing the value of the to attribute.
107 * @exception DOMException
108 * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
110 public String getTo();
111 public void setTo(String to)
115 * A <code>DOMString</code> representing the value of the by attribute.
116 * @exception DOMException
117 * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
119 public String getBy();
120 public void setBy(String by)