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