Code

updated spanish.nsh and inkscape.nsi to reflect latest file-changes
[inkscape.git] / trunk / src / bind / java / org / inkscape / dom / smil / SMILDocumentImpl.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.NodeList;
34 import org.w3c.dom.smil.TimeList;
38 public class SMILDocumentImpl
39        extends org.inkscape.dom.DocumentImpl
40                  //ElementTimeContainer
41        implements org.w3c.dom.smil.SMILDocument
42 {
43 public SMILDocumentImpl()
44 {
45     imbue(_ElementTimeContainer = new ElementTimeContainerImpl());
46     _ElementTime = (ElementTimeImpl)_ElementTimeContainer;
47 }
51 //from ElementTimeContainer
52 ElementTimeContainerImpl _ElementTimeContainer;
53 public NodeList getTimeChildren()
54     { return _ElementTimeContainer.getTimeChildren(); }
55 public NodeList getActiveChildrenAt(float instant)
56     { return _ElementTimeContainer.getActiveChildrenAt(instant); }
57 //end ElementTimeContainer
59 //from ElementTime
60 ElementTimeImpl _ElementTime;
61 public TimeList getBegin()
62     { return _ElementTime.getBegin(); }
63 public void setBegin(TimeList begin) throws DOMException
64     { _ElementTime.setBegin(begin); }
65 public TimeList getEnd()
66     { return _ElementTime.getEnd(); }
67 public void setEnd(TimeList end) throws DOMException
68     { _ElementTime.setEnd(end); }
69 public float getDur()
70     { return _ElementTime.getDur(); }
71 public void setDur(float dur) throws DOMException
72     { _ElementTime.setDur(dur); }
73 public short getRestart()
74     { return _ElementTime.getRestart(); }
75 public void setRestart(short restart) throws DOMException
76     { _ElementTime.setRestart(restart); }
77 public short getFill()
78     { return _ElementTime.getFill(); }
79 public void setFill(short fill) throws DOMException
80     { _ElementTime.setFill(fill); }
81 public float getRepeatCount()
82     { return _ElementTime.getRepeatCount(); }
83 public void setRepeatCount(float repeatCount) throws DOMException
84     { _ElementTime.setRepeatCount(repeatCount); }
85 public float getRepeatDur()
86     { return _ElementTime.getRepeatDur(); }
87 public void setRepeatDur(float repeatDur) throws DOMException
88     { _ElementTime.setRepeatDur(repeatDur); }
89 public boolean beginElement()
90     { return _ElementTime.beginElement(); }
91 public boolean endElement()
92     { return _ElementTime.endElement(); }
93 public void pauseElement()
94     { _ElementTime.pauseElement(); }
95 public void resumeElement()
96     { _ElementTime.resumeElement(); }
97 public void seekElement(float seekTo)
98     { _ElementTime.seekElement(seekTo); }
99 //end ElementTime