OSDN Git Service

original
[gb-231r1-is01/Gingerbread_2.3.3_r1_IS01.git] / packages / apps / Mms / src / org / w3c / dom / smil / SMILAnimation.java
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
13 package org.w3c.dom.smil;
14
15 import org.w3c.dom.DOMException;
16
17 /**
18  *  This interface define the set of animation extensions for SMIL.  The  
19  * attributes will go in a XLink interface. 
20  */
21 public interface SMILAnimation extends SMILElement, ElementTargetAttributes, ElementTime, ElementTimeControl {
22     // additiveTypes
23     public static final short ADDITIVE_REPLACE          = 0;
24     public static final short ADDITIVE_SUM              = 1;
25
26     /**
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. 
31      */
32     public short getAdditive();
33     public void setAdditive(short additive)
34                                 throws DOMException;
35
36     // accumulateTypes
37     public static final short ACCUMULATE_NONE           = 0;
38     public static final short ACCUMULATE_SUM            = 1;
39
40     /**
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. 
45      */
46     public short getAccumulate();
47     public void setAccumulate(short accumulate)
48                                 throws DOMException;
49
50     // calcModeTypes
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;
55
56     /**
57      *  A code representing the value of the  calcMode attribute, as defined 
58      * above. 
59      * @exception DOMException
60      *    NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly. 
61      */
62     public short getCalcMode();
63     public void setCalcMode(short calcMode)
64                                 throws DOMException;
65
66     /**
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. 
71      */
72     public String getKeySplines();
73     public void setKeySplines(String keySplines)
74                                 throws DOMException;
75
76     /**
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. 
80      */
81     public TimeList getKeyTimes();
82     public void setKeyTimes(TimeList keyTimes)
83                                 throws DOMException;
84
85     /**
86      *  A <code>DOMString</code> representing the value of the  values 
87      * attribute. 
88      * @exception DOMException
89      *    NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly. 
90      */
91     public String getValues();
92     public void setValues(String values)
93                                 throws DOMException;
94
95     /**
96      *  A <code>DOMString</code> representing the value of the  from attribute.
97      *  
98      * @exception DOMException
99      *    NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly. 
100      */
101     public String getFrom();
102     public void setFrom(String from)
103                                 throws DOMException;
104
105     /**
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. 
109      */
110     public String getTo();
111     public void setTo(String to)
112                                 throws DOMException;
113
114     /**
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. 
118      */
119     public String getBy();
120     public void setBy(String by)
121                                 throws DOMException;
122
123 }
124