Code

Finished multiple inheritance delegation
[inkscape.git] / src / bind / java / org / inkscape / dom / svg / SVGViewElementImpl.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  */
29 package org.inkscape.dom.svg;
31 import org.w3c.dom.DOMException;
32 import org.w3c.dom.svg.*;
35 public class SVGViewElementImpl
36        extends
37                SVGElementImpl
38                //SVGExternalResourcesRequired,
39                //SVGFitToViewBox,
40                //SVGZoomAndPan
41        implements org.w3c.dom.svg.SVGViewElement
42 {
43 public SVGViewElementImpl()
44 {
45     imbue(_SVGExternalResourcesRequired = new SVGExternalResourcesRequiredImpl());
46     imbue(_SVGFitToViewBox = new SVGFitToViewBoxImpl());
47     imbue(_SVGZoomAndPan = new SVGZoomAndPanImpl());
48 }
51 //from SVGExternalResourcesRequired
52 private SVGExternalResourcesRequiredImpl _SVGExternalResourcesRequired;
53 public SVGAnimatedBoolean getExternalResourcesRequired()
54     { return _SVGExternalResourcesRequired.getExternalResourcesRequired(); }
55 //end SVGExternalResourcesRequired
58 //from SVGFitToViewBox
59 SVGFitToViewBoxImpl _SVGFitToViewBox;
60 public SVGAnimatedRect getViewBox()
61     { return _SVGFitToViewBox.getViewBox(); }
62 public SVGAnimatedPreserveAspectRatio getPreserveAspectRatio()
63     { return _SVGFitToViewBox.getPreserveAspectRatio(); }
64 //end SVGFitToViewBox
66 //from SVGZoomAndPan
67 SVGZoomAndPanImpl _SVGZoomAndPan;
68 public short getZoomAndPan()
69     { return _SVGZoomAndPan.getZoomAndPan(); }
70 public void setZoomAndPan(short zoomAndPan) throws DOMException
71     { _SVGZoomAndPan.setZoomAndPan(zoomAndPan); }
72 //end SVGZoomAndPan
75 public native SVGStringList getViewTarget( );
77 }