Code

67e8b032adb73149025a2369e8a42a96332dffc4
[inkscape.git] / src / bind / java / org / inkscape / dom / smil / SMILMediaElementImpl.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 SMILMediaElementImpl
38        extends SMILElementImpl
39              //ElementTime
40        implements org.w3c.dom.smil.SMILMediaElement
41 {
42 public SMILMediaElementImpl()
43 {
44     imbue(_ElementTime = new ElementTimeImpl());
45 }
47 //from ElementTime
48 ElementTimeImpl _ElementTime;
49 public TimeList getBegin()
50     { return _ElementTime.getBegin(); }
51 public void setBegin(TimeList begin) throws DOMException
52     { _ElementTime.setBegin(begin); }
53 public TimeList getEnd()
54     { return _ElementTime.getEnd(); }
55 public void setEnd(TimeList end) throws DOMException
56     { _ElementTime.setEnd(end); }
57 public float getDur()
58     { return _ElementTime.getDur(); }
59 public void setDur(float dur) throws DOMException
60     { _ElementTime.setDur(dur); }
61 public short getRestart()
62     { return _ElementTime.getRestart(); }
63 public void setRestart(short restart) throws DOMException
64     { _ElementTime.setRestart(restart); }
65 public short getFill()
66     { return _ElementTime.getFill(); }
67 public void setFill(short fill) throws DOMException
68     { _ElementTime.setFill(fill); }
69 public float getRepeatCount()
70     { return _ElementTime.getRepeatCount(); }
71 public void setRepeatCount(float repeatCount) throws DOMException
72     { _ElementTime.setRepeatCount(repeatCount); }
73 public float getRepeatDur()
74     { return _ElementTime.getRepeatDur(); }
75 public void setRepeatDur(float repeatDur) throws DOMException
76     { _ElementTime.setRepeatDur(repeatDur); }
77 public boolean beginElement()
78     { return _ElementTime.beginElement(); }
79 public boolean endElement()
80     { return _ElementTime.endElement(); }
81 public void pauseElement()
82     { _ElementTime.pauseElement(); }
83 public void resumeElement()
84     { _ElementTime.resumeElement(); }
85 public void seekElement(float seekTo)
86     { _ElementTime.seekElement(seekTo); }
87 //end ElementTime
90 public native String getAbstractAttr();
91 public native void setAbstractAttr(String abstractAttr)
92                               throws DOMException;
95 public native String getAlt();
96 public native void setAlt(String alt)
97                               throws DOMException;
99 public native String getAuthor();
100 public native void setAuthor(String author)
101                               throws DOMException;
103 public native String getClipBegin();
104 public native void setClipBegin(String clipBegin)
105                               throws DOMException;
107 public native String getClipEnd();
108 public native void setClipEnd(String clipEnd)
109                               throws DOMException;
111 public native String getCopyright();
112 public native void setCopyright(String copyright)
113                               throws DOMException;
115 public native String getLongdesc();
116 public native void setLongdesc(String longdesc)
117                               throws DOMException;
119 public native String getPort();
120 public native void setPort(String port)
121                               throws DOMException;
123 public native String getReadIndex();
124 public native void setReadIndex(String readIndex)
125                               throws DOMException;
127 public native String getRtpformat();
128 public native void setRtpformat(String rtpformat)
129                               throws DOMException;
131 public native String getSrc();
132 public native void setSrc(String src)
133                               throws DOMException;
135 public native String getStripRepeat();
136 public native void setStripRepeat(String stripRepeat)
137                               throws DOMException;
139 public native String getTitle();
140 public native void setTitle(String title)
141                               throws DOMException;
143 public native String getTransport();
144 public native void setTransport(String transport)
145                               throws DOMException;
147 public native String getType();
148 public native void setType(String type)
149                               throws DOMException;