Code

Finally! All of the svg-dom classes and dependencies have native implementation stubs.
[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 //ElementTime
39        implements org.w3c.dom.smil.SMILMediaElement
40 {
41 //from ElementTime
42 public native TimeList getBegin();
43 public native void setBegin(TimeList begin)
44                  throws DOMException;
47 public native TimeList getEnd();
48 public native void setEnd(TimeList end)
49                  throws DOMException;
52 public native float getDur();
53 public native void setDur(float dur)
54                  throws DOMException;
58 public native short getRestart();
59 public native void setRestart(short restart)
60                  throws DOMException;
64 public native short getFill();
65 public native void setFill(short fill)
66                  throws DOMException;
69 public native float getRepeatCount();
70 public native void setRepeatCount(float repeatCount)
71                  throws DOMException;
74 public native float getRepeatDur();
75 public native void setRepeatDur(float repeatDur)
76                  throws DOMException;
79 public native boolean beginElement();
82 public native boolean endElement();
85 public native void pauseElement();
88 public native void resumeElement();
91 public native void seekElement(float seekTo);
92 //end ElementTime
95 public native String getAbstractAttr();
96 public native void setAbstractAttr(String abstractAttr)
97                               throws DOMException;
100 public native String getAlt();
101 public native void setAlt(String alt)
102                               throws DOMException;
104 public native String getAuthor();
105 public native void setAuthor(String author)
106                               throws DOMException;
108 public native String getClipBegin();
109 public native void setClipBegin(String clipBegin)
110                               throws DOMException;
112 public native String getClipEnd();
113 public native void setClipEnd(String clipEnd)
114                               throws DOMException;
116 public native String getCopyright();
117 public native void setCopyright(String copyright)
118                               throws DOMException;
120 public native String getLongdesc();
121 public native void setLongdesc(String longdesc)
122                               throws DOMException;
124 public native String getPort();
125 public native void setPort(String port)
126                               throws DOMException;
128 public native String getReadIndex();
129 public native void setReadIndex(String readIndex)
130                               throws DOMException;
132 public native String getRtpformat();
133 public native void setRtpformat(String rtpformat)
134                               throws DOMException;
136 public native String getSrc();
137 public native void setSrc(String src)
138                               throws DOMException;
140 public native String getStripRepeat();
141 public native void setStripRepeat(String stripRepeat)
142                               throws DOMException;
144 public native String getTitle();
145 public native void setTitle(String title)
146                               throws DOMException;
148 public native String getTransport();
149 public native void setTransport(String transport)
150                               throws DOMException;
152 public native String getType();
153 public native void setType(String type)
154                               throws DOMException;