1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.apache.commons.jelly.tags.swing;
17
18 import java.awt.GridBagLayout;
19 import java.awt.LayoutManager;
20
21 import org.apache.commons.logging.Log;
22 import org.apache.commons.logging.LogFactory;
23
24 /***
25 * A Layout tag which uses nested <gbc> tags to implement a GridBagLayout
26 *
27 * @author <a href="mailto:jstrachan@apache.org">James Strachan</a>
28 * @version $Revision: 155420 $
29 */
30 public class GridBagLayoutTag extends LayoutTagSupport {
31
32 /*** The Log to which logging calls will be made. */
33 private static final Log log = LogFactory.getLog(LayoutTagSupport.class);
34
35 public GridBagLayoutTag() {
36 }
37
38
39
40
41 /***
42 * Creates a GridBagLayout
43 */
44 protected LayoutManager createLayoutManager() {
45 return new GridBagLayout();
46 }
47 }