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

java.lang.Object
  extended byorg.apache.commons.jelly.TagSupport
      extended byorg.apache.commons.jelly.tags.swing.BorderAlignTag
All Implemented Interfaces:
ContainerTag, org.apache.commons.jelly.Tag

public class BorderAlignTag
extends org.apache.commons.jelly.TagSupport
implements ContainerTag

Represents a layout of a child component within its parent <borderLayout> layout.

Version:
$Revision: 155420 $
Author:
James Strachan

Field Summary
 
Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, hasTrimmed, parent, shouldTrim
 
Constructor Summary
BorderAlignTag()
           
 
Method Summary
 void addChild(java.awt.Component component, java.lang.Object constraints)
          Adds a child component to this parent
 void doTag(org.apache.commons.jelly.XMLOutput output)
           
 java.lang.String getAlign()
          Returns the align.
protected  java.lang.Object getConstraints()
           
 void setAlign(java.lang.String align)
          Sets the alignment of the child component which is a case insensitive value of {NORTH, SOUTH, EAST, WEST, CENTER} which defaults to CENTER
 
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

BorderAlignTag

public BorderAlignTag()
Method Detail

addChild

public void addChild(java.awt.Component component,
                     java.lang.Object constraints)
              throws org.apache.commons.jelly.JellyTagException
Adds a child component to this parent

Specified by:
addChild in interface ContainerTag
Throws:
org.apache.commons.jelly.JellyTagException

doTag

public void doTag(org.apache.commons.jelly.XMLOutput output)
           throws org.apache.commons.jelly.JellyTagException
Specified by:
doTag in interface org.apache.commons.jelly.Tag
Throws:
org.apache.commons.jelly.JellyTagException

getAlign

public java.lang.String getAlign()
Returns the align.

Returns:
String

setAlign

public void setAlign(java.lang.String align)
Sets the alignment of the child component which is a case insensitive value of {NORTH, SOUTH, EAST, WEST, CENTER} which defaults to CENTER


getConstraints

protected java.lang.Object getConstraints()


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