Code

Finally! All of the svg-dom classes and dependencies have native implementation stubs.
[inkscape.git] / src / bind / java / org / inkscape / dom / svg / SVGTransformListImpl.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 these SVG files are implementations of the Java
25  *  interface package found here:
26  *      http://www.w3.org/TR/SVG/java.html
27  */
30 package org.inkscape.dom.svg;
32 import org.w3c.dom.DOMException;
33 import org.w3c.dom.svg.SVGException;
35 import org.w3c.dom.svg.SVGTransform;
36 import org.w3c.dom.svg.SVGMatrix;
39 public class SVGTransformListImpl
40        implements org.w3c.dom.svg.SVGTransformList
41 {
42 public native int getNumberOfItems( );
44 public native void   clear (  )
45                 throws DOMException;
46 public native SVGTransform initialize ( SVGTransform newItem )
47                 throws DOMException, SVGException;
48 public native SVGTransform getItem ( int index )
49                 throws DOMException;
50 public native SVGTransform insertItemBefore ( SVGTransform newItem, int index )
51                 throws DOMException, SVGException;
52 public native SVGTransform replaceItem ( SVGTransform newItem, int index )
53                 throws DOMException, SVGException;
54 public native SVGTransform removeItem ( int index )
55                 throws DOMException;
56 public native SVGTransform appendItem ( SVGTransform newItem )
57                 throws DOMException, SVGException;
58 public native SVGTransform createSVGTransformFromMatrix ( SVGMatrix matrix );
59 public native SVGTransform consolidate (  );
60 }