Code

effb4aa393c1e70eedfd63af49e4e0035420a66c
[inkscape.git] / src / bind / java / org / inkscape / dom / svg / SVGMarkerElementImpl.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;
34 import org.w3c.dom.svg.*;
36 import org.w3c.dom.css.CSSStyleDeclaration;
37 import org.w3c.dom.css.CSSValue;
41 public class SVGMarkerElementImpl
42        extends
43                SVGElementImpl
44                //SVGLangSpace,
45                //SVGExternalResourcesRequired,
46                //SVGStylable,
47                //SVGFitToViewBox
48        implements org.w3c.dom.svg.SVGMarkerElement
49 {
50 //from SVGLangSpace
51 public native String getXMLlang( );
52 public native void setXMLlang( String xmllang )
53                        throws DOMException;
54 public native String getXMLspace( );
55 public native void setXMLspace( String xmlspace )
56                        throws DOMException;
57 //end SVGLangSpace
59 //from SVGExternalResourcesRequired
60 public native SVGAnimatedBoolean getExternalResourcesRequired( );
61 //end SVGExternalResourcesRequired
63 //from SVGStylable
64 public native SVGAnimatedString getClassName( );
65 public native CSSStyleDeclaration getStyle( );
66 public native CSSValue getPresentationAttribute ( String name );
67 //end SVGStylable
69 //from SVGFitToViewBox
70 public native SVGAnimatedRect getViewBox( );
71 public native SVGAnimatedPreserveAspectRatio getPreserveAspectRatio( );
72 //end SVGFitToViewBox
75 public native SVGAnimatedLength getRefX( );
76 public native SVGAnimatedLength getRefY( );
77 public native SVGAnimatedEnumeration getMarkerUnits( );
78 public native SVGAnimatedLength getMarkerWidth( );
79 public native SVGAnimatedLength getMarkerHeight( );
80 public native SVGAnimatedEnumeration getOrientType( );
81 public native SVGAnimatedAngle getOrientAngle( );
82 public native void setOrientToAuto (  );
83 public native void setOrientToAngle ( SVGAngle angle );
84 }