Code

(no commit message)
[inkscape.git] / trunk / src / bind / java / org / inkscape / dom / smil / TimeImpl.java
diff --git a/trunk/src/bind/java/org/inkscape/dom/smil/TimeImpl.java b/trunk/src/bind/java/org/inkscape/dom/smil/TimeImpl.java
new file mode 100644 (file)
index 0000000..e5c6d59
--- /dev/null
@@ -0,0 +1,70 @@
+/**
+ * This is a simple mechanism to bind Inkscape to Java, and thence
+ * to all of the nice things that can be layered upon that.
+ *
+ * Authors:
+ *   Bob Jamison
+ *
+ * Copyright (c) 2007-2008 Inkscape.org
+ *
+ *  This library is free software; you can redistribute it and/or
+ *  modify it under the terms of the GNU Lesser General Public
+ *  License as published by the Free Software Foundation; either
+ *  version 3 of the License, or (at your option) any later version.
+ *
+ *  This library is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ *  Lesser General Public License for more details.
+ *
+ *  You should have received a copy of the GNU Lesser General Public
+ *  License along with this library; if not, write to the Free Software
+ *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+ *
+ *  Note that the SMIL files are implementations of the Java
+ *  interface package found here:
+ *      http://www.w3.org/TR/smil-boston-dom/java-binding.html
+ */
+
+package org.inkscape.dom.smil;
+
+import org.w3c.dom.DOMException;
+import org.w3c.dom.Element;
+
+
+
+public class TimeImpl
+       implements org.w3c.dom.smil.Time
+{
+
+public native boolean getResolved();
+
+public native double getResolvedOffset();
+
+public native short getTimeType();
+
+public native double getOffset();
+public native void setOffset(double offset)
+                                  throws DOMException;
+
+public native Element getBaseElement();
+public native void setBaseElement(Element baseElement)
+                                  throws DOMException;
+
+
+public native boolean getBaseBegin();
+public native void setBaseBegin(boolean baseBegin)
+                                  throws DOMException;
+
+
+public native String getEvent();
+public native void setEvent(String event)
+                                  throws DOMException;
+
+
+public native String getMarker();
+public native void setMarker(String marker)
+                                  throws DOMException;
+
+}
+