Code

updated spanish.nsh and inkscape.nsi to reflect latest file-changes
[inkscape.git] / trunk / src / bind / java / org / inkscape / dom / smil / SMILAnimationImpl.java
1 /**
2  * This is a simple mechanism to bind Inkscape to Java, and thence
3  * to all of the nice things that can be layered upon that.
4  *
5  * Authors:
6  *   Bob Jamison
7  *
8  * Copyright (c) 2007-2008 Inkscape.org
9  *
10  *  This library is free software; you can redistribute it and/or
11  *  modify it under the terms of the GNU Lesser General Public
12  *  License as published by the Free Software Foundation; either
13  *  version 3 of the License, or (at your option) any later version.
14  *
15  *  This library is distributed in the hope that it will be useful,
16  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
17  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
18  *  Lesser General Public License for more details.
19  *
20  *  You should have received a copy of the GNU Lesser General Public
21  *  License along with this library; if not, write to the Free Software
22  *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
23  *
24  *  Note that the SMIL files are implementations of the Java
25  *  interface package found here:
26  *      http://www.w3.org/TR/smil-boston-dom/java-binding.html
27  */
29 package org.inkscape.dom.smil;
31 import org.w3c.dom.DOMException;
33 import org.w3c.dom.smil.TimeList;
36 public class SMILAnimationImpl
37        extends SMILElementImpl
38                //ElementTargetAttributes,
39                //ElementTime,
40                //ElementTimeControl
41        implements org.w3c.dom.smil.SMILAnimation
42 {
44 public SMILAnimationImpl()
45 {
46     imbue(_ElementTargetAttributes = new ElementTargetAttributesImpl());
47     imbue(_ElementTime = new ElementTimeImpl());
48     imbue(_ElementTimeControl = new ElementTimeControlImpl());
49 }
51 //from ElementTargetAttributes
52 ElementTargetAttributesImpl _ElementTargetAttributes;
53 public String getAttributeName()
54     { return _ElementTargetAttributes.getAttributeName(); }
55 public void setAttributeName(String attributeName)
56     { _ElementTargetAttributes.setAttributeName(attributeName); }
57 public short getAttributeType()
58     { return _ElementTargetAttributes.getAttributeType(); }
59 public void setAttributeType(short attributeType)
60     { _ElementTargetAttributes.setAttributeType(attributeType); }
61 //end ElementTargetAttributes
63 //from ElementTime
64 ElementTimeImpl _ElementTime;
65 public TimeList getBegin()
66     { return _ElementTime.getBegin(); }
67 public void setBegin(TimeList begin) throws DOMException
68     { _ElementTime.setBegin(begin); }
69 public TimeList getEnd()
70     { return _ElementTime.getEnd(); }
71 public void setEnd(TimeList end) throws DOMException
72     { _ElementTime.setEnd(end); }
73 public float getDur()
74     { return _ElementTime.getDur(); }
75 public void setDur(float dur) throws DOMException
76     { _ElementTime.setDur(dur); }
77 public short getRestart()
78     { return _ElementTime.getRestart(); }
79 public void setRestart(short restart) throws DOMException
80     { _ElementTime.setRestart(restart); }
81 public short getFill()
82     { return _ElementTime.getFill(); }
83 public void setFill(short fill) throws DOMException
84     { _ElementTime.setFill(fill); }
85 public float getRepeatCount()
86     { return _ElementTime.getRepeatCount(); }
87 public void setRepeatCount(float repeatCount) throws DOMException
88     { _ElementTime.setRepeatCount(repeatCount); }
89 public float getRepeatDur()
90     { return _ElementTime.getRepeatDur(); }
91 public void setRepeatDur(float repeatDur) throws DOMException
92     { _ElementTime.setRepeatDur(repeatDur); }
93 public boolean beginElement()
94     { return _ElementTime.beginElement(); }
95 public boolean endElement()
96     { return _ElementTime.endElement(); }
97 public void pauseElement()
98     { _ElementTime.pauseElement(); }
99 public void resumeElement()
100     { _ElementTime.resumeElement(); }
101 public void seekElement(float seekTo)
102     { _ElementTime.seekElement(seekTo); }
103 //end ElementTime
106 //from ElementTimeControl
107 ElementTimeControlImpl _ElementTimeControl;
108 public boolean beginElementAt(float offset) throws DOMException
109     { return _ElementTimeControl.beginElementAt(offset); }
110 public boolean endElementAt(float offset) throws DOMException
111     { return _ElementTimeControl.endElementAt(offset); }
112 //end ElementTimeControl
115 public native short getAdditive();
116 public native void setAdditive(short additive)
117                             throws DOMException;
120 public native short getAccumulate();
121 public native void setAccumulate(short accumulate)
122                             throws DOMException;
124 public native short getCalcMode();
125 public native void setCalcMode(short calcMode)
126                             throws DOMException;
128 public native String getKeySplines();
129 public native void setKeySplines(String keySplines)
130                             throws DOMException;
132 public native TimeList getKeyTimes();
133 public native void setKeyTimes(TimeList keyTimes)
134                             throws DOMException;
136 public native String getValues();
137 public native void setValues(String values)
138                             throws DOMException;
140 public native String getFrom();
141 public native void setFrom(String from)
142                             throws DOMException;
144 public native String getTo();
145 public native void setTo(String to)
146                             throws DOMException;
148 public native String getBy();
149 public native void setBy(String by)
150                             throws DOMException;