org.ujac.web.tag
Class RowCellTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.servlet.jsp.tagext.BodyTagSupport
          extended by org.ujac.web.tag.BaseTag
              extended by org.ujac.web.tag.RowCellTag
All Implemented Interfaces:
Serializable, BodyTag, IterationTag, Tag, TemplateContextHolder

public class RowCellTag
extends BaseTag

Name: RowCellTag
Description: A custom tag, specifying special styles for columns withing rows.

Author:
lauerc
See Also:
Serialized Form

Field Summary
protected  boolean fillRow
          Tells whether to fill the current row or not.
protected  int index
          The column index.
 
Fields inherited from class org.ujac.web.tag.BaseTag
log
 
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
RowCellTag()
           
 
Method Summary
 int doEndTag()
           
 int doStartTag()
           
 int getColspan()
          Getter method for the the property colspan.
 int getColumnIndex()
          Getter method for the the property index.
 String getColumnName()
          Getter method for the the property name.
 String getContent()
          Gets the tag's content.
 String getEvenStyle()
          Getter method for the the property evenStyle.
 String getHalign()
          Getter method for the the property halign.
 String getHeight()
          Getter method for the the property height.
 String getOddStyle()
          Getter method for the the property oddStyle.
 float getPaddingBottom()
          Getter method for the the property paddingBottom.
 float getPaddingLeft()
          Getter method for the the property paddingLeft.
 float getPaddingRight()
          Getter method for the the property paddingRight.
 float getPaddingTop()
          Getter method for the the property paddingTop.
 String getStyle()
          Getter method for the the property style.
 String getValign()
          Getter method for the the property valign.
 String getWidth()
          Getter method for the the property width.
 boolean hasContent()
          Gets the tag's content.
 boolean isFillRow()
          Getter method for the the property fillRow.
protected  RowCellContainer lookupRowCellContainer()
          Gets the latest PrintRowTag from the tag stack.
 void release()
           
 void setColspan(int colspan)
          Setter method for the the property colspan.
 void setEvenStyle(String evenStyle)
          Setter method for the the property evenStyle.
 void setFillRow(boolean fillRow)
          Setter method for the the property fillRow.
 void setHalign(String halign)
          Setter method for the the property halign.
 void setHeight(String height)
          Setter method for the the property height.
 void setIndex(int index)
          Setter method for the the property index.
 void setName(String name)
          Setter method for the the property name.
 void setOddStyle(String oddStyle)
          Setter method for the the property oddStyle.
 void setPaddingBottom(float paddingBottom)
          Setter method for the the property paddingBottom.
 void setPaddingLeft(float paddingLeft)
          Setter method for the the property paddingLeft.
 void setPaddingRight(float paddingRight)
          Setter method for the the property paddingRight.
 void setPaddingTop(float paddingTop)
          Setter method for the the property paddingTop.
 void setStyle(String style)
          Setter method for the the property style.
 void setValign(String valign)
          Setter method for the the property valign.
 void setWidth(String width)
          Setter method for the the property width.
 
Methods inherited from class org.ujac.web.tag.BaseTag
clearTagAttributes, getParent, getTagAttribute, getTagAttributes, getTemplateContext, removeTagAttribute, setAttribute, setTagAttribute, writeAttributes
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doInitBody, getBodyContent, getPreviousOut, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
 

Field Detail

index

protected int index
The column index.


fillRow

protected boolean fillRow
Tells whether to fill the current row or not.

Constructor Detail

RowCellTag

public RowCellTag()
Method Detail

getColumnName

public String getColumnName()
Getter method for the the property name.

Returns:
The current value of property name.

setName

public void setName(String name)
Setter method for the the property name.

Parameters:
name - The value to set for the property name.

getColumnIndex

public int getColumnIndex()
Getter method for the the property index.

Returns:
The current value of property index.

setIndex

public void setIndex(int index)
Setter method for the the property index.

Parameters:
index - The value to set for the property index.

getColspan

public int getColspan()
Getter method for the the property colspan.

Returns:
The current value of property colspan.

setColspan

public void setColspan(int colspan)
Setter method for the the property colspan.

Parameters:
colspan - The value to set for the property colspan.

isFillRow

public boolean isFillRow()
Getter method for the the property fillRow.

Returns:
The current value of property fillRow.

setFillRow

public void setFillRow(boolean fillRow)
Setter method for the the property fillRow.

Parameters:
fillRow - The value to set for the property fillRow.

getStyle

public String getStyle()
Getter method for the the property style.

Returns:
The current value of property style.

setStyle

public void setStyle(String style)
Setter method for the the property style.

Parameters:
style - The value to set for the property style.

getEvenStyle

public String getEvenStyle()
Getter method for the the property evenStyle.

Returns:
The current value of property evenStyle.

setEvenStyle

public void setEvenStyle(String evenStyle)
Setter method for the the property evenStyle.

Parameters:
evenStyle - The value to set for the property evenStyle.

getOddStyle

public String getOddStyle()
Getter method for the the property oddStyle.

Returns:
The current value of property oddStyle.

setOddStyle

public void setOddStyle(String oddStyle)
Setter method for the the property oddStyle.

Parameters:
oddStyle - The value to set for the property oddStyle.

getWidth

public String getWidth()
Getter method for the the property width.

Returns:
The current value of property width.

setWidth

public void setWidth(String width)
Setter method for the the property width.

Parameters:
width - The value to set for the property width.

getHeight

public String getHeight()
Getter method for the the property height.

Returns:
The current value of property height.

setHeight

public void setHeight(String height)
Setter method for the the property height.

Parameters:
height - The value to set for the property height.

getPaddingLeft

public float getPaddingLeft()
Getter method for the the property paddingLeft.

Returns:
The current value of property paddingLeft.

setPaddingLeft

public void setPaddingLeft(float paddingLeft)
Setter method for the the property paddingLeft.

Parameters:
paddingLeft - The value to set for the property paddingLeft.

getPaddingRight

public float getPaddingRight()
Getter method for the the property paddingRight.

Returns:
The current value of property paddingRight.

setPaddingRight

public void setPaddingRight(float paddingRight)
Setter method for the the property paddingRight.

Parameters:
paddingRight - The value to set for the property paddingRight.

getPaddingTop

public float getPaddingTop()
Getter method for the the property paddingTop.

Returns:
The current value of property paddingTop.

setPaddingTop

public void setPaddingTop(float paddingTop)
Setter method for the the property paddingTop.

Parameters:
paddingTop - The value to set for the property paddingTop.

getPaddingBottom

public float getPaddingBottom()
Getter method for the the property paddingBottom.

Returns:
The current value of property paddingBottom.

setPaddingBottom

public void setPaddingBottom(float paddingBottom)
Setter method for the the property paddingBottom.

Parameters:
paddingBottom - The value to set for the property paddingBottom.

getHalign

public String getHalign()
Getter method for the the property halign.

Returns:
The current value of property halign.

setHalign

public void setHalign(String halign)
Setter method for the the property halign.

Parameters:
halign - The value to set for the property halign.

getValign

public String getValign()
Getter method for the the property valign.

Returns:
The current value of property valign.

setValign

public void setValign(String valign)
Setter method for the the property valign.

Parameters:
valign - The value to set for the property valign.

hasContent

public boolean hasContent()
Gets the tag's content.

Returns:
The content of the current tag.

getContent

public String getContent()
Gets the tag's content.

Returns:
The content of the current tag.

doStartTag

public int doStartTag()
               throws JspException
Specified by:
doStartTag in interface Tag
Overrides:
doStartTag in class BaseTag
Throws:
JspException
See Also:
BodyTagSupport.doStartTag()

doEndTag

public int doEndTag()
             throws JspException
Specified by:
doEndTag in interface Tag
Overrides:
doEndTag in class BodyTagSupport
Throws:
JspException
See Also:
BodyTagSupport.doEndTag()

release

public void release()
Specified by:
release in interface Tag
Overrides:
release in class BaseTag
See Also:
BodyTagSupport.release()

lookupRowCellContainer

protected RowCellContainer lookupRowCellContainer()
Gets the latest PrintRowTag from the tag stack.

Returns:
The latest PrintRowTag from the tag stack or null.


Copyright © 2003-2004 UJAC.org. All Rights Reserved.