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

java.lang.Object
  |
  +--org.apache.commons.jelly.TagSupport
        |
        +--org.apache.commons.jelly.tags.swing.LayoutTagSupport
              |
              +--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: 1.7 $
Author:
James Strachan

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
 

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
Overrides:
createLayoutManager in class LayoutTagSupport


Copyright © 2002-2004 Apache Software Foundation. All Rights Reserved.