Code

updated spanish.nsh and inkscape.nsi to reflect latest file-changes
[inkscape.git] / trunk / src / bind / java / org / inkscape / dom / smil / SMILSetElementImpl.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;
37 public class SMILSetElementImpl
38        extends SMILElementImpl
39                //ElementTimeControl,
40                //ElementTime,
41                //ElementTargetAttributes
42        implements org.w3c.dom.smil.SMILSetElement
43 {
45 public SMILSetElementImpl()
46 {
47     imbue(_ElementTimeControl = new ElementTimeControlImpl());
48     imbue(_ElementTime = new ElementTimeImpl());
49     imbue(_ElementTargetAttributes = new ElementTargetAttributesImpl());
50 }
53 //from ElementTimeControl
54 ElementTimeControlImpl _ElementTimeControl;
55 public boolean beginElementAt(float offset) throws DOMException
56     { return _ElementTimeControl.beginElementAt(offset); }
57 public boolean endElementAt(float offset) throws DOMException
58     { return _ElementTimeControl.endElementAt(offset); }
59 //end ElementTimeControl
61 //from ElementTime
62 ElementTimeImpl _ElementTime;
63 public TimeList getBegin()
64     { return _ElementTime.getBegin(); }
65 public void setBegin(TimeList begin) throws DOMException
66     { _ElementTime.setBegin(begin); }
67 public TimeList getEnd()
68     { return _ElementTime.getEnd(); }
69 public void setEnd(TimeList end) throws DOMException
70     { _ElementTime.setEnd(end); }
71 public float getDur()
72     { return _ElementTime.getDur(); }
73 public void setDur(float dur) throws DOMException
74     { _ElementTime.setDur(dur); }
75 public short getRestart()
76     { return _ElementTime.getRestart(); }
77 public void setRestart(short restart) throws DOMException
78     { _ElementTime.setRestart(restart); }
79 public short getFill()
80     { return _ElementTime.getFill(); }
81 public void setFill(short fill) throws DOMException
82     { _ElementTime.setFill(fill); }
83 public float getRepeatCount()
84     { return _ElementTime.getRepeatCount(); }
85 public void setRepeatCount(float repeatCount) throws DOMException
86     { _ElementTime.setRepeatCount(repeatCount); }
87 public float getRepeatDur()
88     { return _ElementTime.getRepeatDur(); }
89 public void setRepeatDur(float repeatDur) throws DOMException
90     { _ElementTime.setRepeatDur(repeatDur); }
91 public boolean beginElement()
92     { return _ElementTime.beginElement(); }
93 public boolean endElement()
94     { return _ElementTime.endElement(); }
95 public void pauseElement()
96     { _ElementTime.pauseElement(); }
97 public void resumeElement()
98     { _ElementTime.resumeElement(); }
99 public void seekElement(float seekTo)
100     { _ElementTime.seekElement(seekTo); }
101 //end ElementTime
103 //from ElementTargetAttributes
104 ElementTargetAttributesImpl _ElementTargetAttributes;
105 public String getAttributeName()
106     { return _ElementTargetAttributes.getAttributeName(); }
107 public void setAttributeName(String attributeName)
108     { _ElementTargetAttributes.setAttributeName(attributeName); }
109 public short getAttributeType()
110     { return _ElementTargetAttributes.getAttributeType(); }
111 public void setAttributeType(short attributeType)
112     { _ElementTargetAttributes.setAttributeType(attributeType); }
113 //end ElementTargetAttributes
118 public native String getTo();
119 public native void setTo(String to);