Code

Finally! All of the svg-dom classes and dependencies have native implementation stubs.
[inkscape.git] / src / bind / java / org / inkscape / dom / smil / ElementTimeImpl.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 ElementTimeImpl
38        implements org.w3c.dom.smil.ElementTime
39 {
41 public native TimeList getBegin();
42 public native void setBegin(TimeList begin)
43                  throws DOMException;
46 public native TimeList getEnd();
47 public native void setEnd(TimeList end)
48                  throws DOMException;
51 public native float getDur();
52 public native void setDur(float dur)
53                  throws DOMException;
57 public native short getRestart();
58 public native void setRestart(short restart)
59                  throws DOMException;
63 public native short getFill();
64 public native void setFill(short fill)
65                  throws DOMException;
68 public native float getRepeatCount();
69 public native void setRepeatCount(float repeatCount)
70                  throws DOMException;
73 public native float getRepeatDur();
74 public native void setRepeatDur(float repeatDur)
75                  throws DOMException;
78 public native boolean beginElement();
81 public native boolean endElement();
84 public native void pauseElement();
87 public native void resumeElement();
90 public native void seekElement(float seekTo);
92 }