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

java.lang.Object
  extended byorg.apache.commons.jelly.TagSupport
      extended byorg.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
 
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
 

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


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