Source code: com/mvsteenb/javauitransformer/xmltransformer/components/swing/XmlBox.java
1 package com.mvsteenb.javauitransformer.xmltransformer.components.swing;
2
3 import com.mvsteenb.javauitransformer.xmltransformer.layout.exception.UnknownLayoutManagerException;
4
5 import javax.swing.*;
6
7 /**
8 * com.mvsteenb.javauitransformer.xmltransformer.components.swing
9 *
10 * <p><b>About</b></p>
11 *
12 * <p>
13 * This class is part of the JavaUIFormatter version @build.version@ (build #@build.number@) which was built on @build.date@.
14 * </p>
15 *
16 * <p><b>Description</b></p>
17 *
18 *
19 * <p><b>Free Software</b></p>
20 *
21 * <p>
22 * Copyright (C) 2003 Mario Van Steenberghe
23 * </p>
24 *
25 * <p>
26 * <small>
27 * This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser
28 * General Public License as published by the Free Software Foundation; either version 2.1 of the License, or
29 * (at your option) any later version. This library is distributed in the hope that it will be useful,
30 * but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
31 * PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the
32 * GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc.,
33 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
34 * </small>
35 * </p>
36 *
37 * <p>
38 * <small>
39 * Please contact me at mario.vansteenberghe@pandora.be for more information.
40 * </small>
41 * </p>
42 *
43 *
44 * <p><b>Revision History</b></p>
45 *
46 * <p>
47 * Oct 2, 2003 : mvsteenb : Initial Revision
48 * </p>
49 *
50 */
51
52
53 public class XmlBox extends XmlJComponent {
54
55 /**
56 * Constructor
57 */
58
59 public XmlBox(Box b, XmlSwingComponentMapper mapper) throws UnknownLayoutManagerException {
60 super(b, mapper);
61 }
62
63 // ================================================================================================================ //
64 // public methods //
65 // ================================================================================================================ //
66
67 /**
68 * Returns Xml Element Name
69 */
70
71 public String getElementName() {
72 return XmlSwingElementNames.xmlBox;
73 }
74
75 }