org.apache.commons.jelly.tags.swing
Class BorderLayoutTag

java.lang.Object
  extended by org.apache.commons.jelly.TagSupport
      extended by org.apache.commons.jelly.tags.swing.LayoutTagSupport
          extended by org.apache.commons.jelly.tags.swing.BorderLayoutTag
All Implemented Interfaces:
org.apache.commons.jelly.Tag

public class BorderLayoutTag
extends LayoutTagSupport

A Layout tag which uses nested <borderAlign> tags to implement a BorderLayout

Version:
$Revision: 155420 $
Author:
James Strachan

Field Summary
private  int hgap
           
private static org.apache.commons.logging.Log log
          The Log to which logging calls will be made.
private  int vgap
           
 
Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, hasTrimmed, parent, shouldTrim
 
Constructor Summary
BorderLayoutTag()
           
 
Method Summary
protected  java.awt.LayoutManager createLayoutManager()
          Creates a BorderLayout
 int getHgap()
          Returns the hgap.
 int getVgap()
          Returns the vgap.
 void setHgap(int hgap)
          Sets the horizontal gap in pixels.
 void setVgap(int vgap)
          Sets the vertical gap in pixels
 
Methods inherited from class org.apache.commons.jelly.tags.swing.LayoutTagSupport
addLayoutComponent, doTag, getComponentTag, setVar
 
Methods inherited from class org.apache.commons.jelly.TagSupport
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBody
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private static final org.apache.commons.logging.Log log
The Log to which logging calls will be made.


hgap

private int hgap

vgap

private int vgap
Constructor Detail

BorderLayoutTag

public BorderLayoutTag()
Method Detail

getHgap

public int getHgap()
Returns the hgap.

Returns:
int

getVgap

public int getVgap()
Returns the vgap.

Returns:
int

setHgap

public void setHgap(int hgap)
Sets the horizontal gap in pixels.


setVgap

public void setVgap(int vgap)
Sets the vertical gap in pixels


createLayoutManager

protected java.awt.LayoutManager createLayoutManager()
Creates a BorderLayout

Specified by:
createLayoutManager in class LayoutTagSupport