[inkscape.git] / trunk / src / bind / java / org / inkscape / dom / smil / SMILRegionElementImpl.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;
34 public class SMILRegionElementImpl
35 extends SMILElementImpl
36 //ElementLayout
37 implements org.w3c.dom.smil.SMILRegionElement
38 {
40 public SMILRegionElementImpl()
41 {
42 imbue(_ElementLayout = new ElementLayoutImpl());
43 }
45 //from ElementLayout
46 ElementLayoutImpl _ElementLayout;
47 public String getTitle()
48 { return _ElementLayout.getTitle(); }
49 public void setTitle(String title) throws DOMException
50 { _ElementLayout.setTitle(title); }
51 public String getBackgroundColor()
52 { return _ElementLayout.getBackgroundColor(); }
53 public void setBackgroundColor(String backgroundColor) throws DOMException
54 { _ElementLayout.setBackgroundColor(backgroundColor); }
55 public int getHeight()
56 { return _ElementLayout.getHeight(); }
57 public void setHeight(int height) throws DOMException
58 { _ElementLayout.setHeight(height); }
59 public int getWidth()
60 { return _ElementLayout.getWidth(); }
61 public void setWidth(int width) throws DOMException
62 { _ElementLayout.setWidth(width); }
63 //end ElementLayout
66 public native String getFit();
67 public native void setFit(String fit) throws DOMException;
69 public native String getTop();
70 public native void setTop(String top) throws DOMException;
72 public native int getZIndex();
73 public native void setZIndex(int zIndex) throws DOMException;
75 }