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

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

public class TrTag
extends org.apache.commons.jelly.TagSupport

Represents a tabular row inside a <tableLayout> tag which mimicks the <tr> HTML tag.

Version:
$Revision: 155420 $
Author:
James Strachan

Field Summary
private  java.util.List cells
           
private static org.apache.commons.logging.Log log
          The Log to which logging calls will be made.
private  int rowIndex
           
private  TableLayoutTag tableLayoutTag
           
 
Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, hasTrimmed, parent, shouldTrim
 
Constructor Summary
TrTag()
           
 
Method Summary
 void addCell(java.awt.Component component, java.awt.GridBagConstraints constraints)
          Adds a new cell to this row
 void doTag(org.apache.commons.jelly.XMLOutput output)
           
 int getRowIndex()
           
 
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.


tableLayoutTag

private TableLayoutTag tableLayoutTag

cells

private java.util.List cells

rowIndex

private int rowIndex
Constructor Detail

TrTag

public TrTag()
Method Detail

addCell

public void addCell(java.awt.Component component,
                    java.awt.GridBagConstraints constraints)
             throws org.apache.commons.jelly.JellyTagException
Adds a new cell to this row

Throws:
org.apache.commons.jelly.JellyTagException

doTag

public void doTag(org.apache.commons.jelly.XMLOutput output)
           throws org.apache.commons.jelly.JellyTagException
Throws:
org.apache.commons.jelly.JellyTagException

getRowIndex

public int getRowIndex()
Returns:
the row index of this row