org.objectweb.jonas.webapp.taglib
Class GridTag

java.lang.Object
  extended byBaseHandlerTag
      extended byorg.objectweb.jonas.webapp.taglib.GridBaseTag
          extended byorg.objectweb.jonas.webapp.taglib.GridTableBaseTag
              extended byorg.objectweb.jonas.webapp.taglib.GridTag
Direct Known Subclasses:
JonasGridTag

public class GridTag
extends GridTableBaseTag

Author:
Michel-Ange ANTON
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.objectweb.jonas.webapp.taglib.GridBaseTag
ms_BodyText, QUOTE
 
Constructor Summary
GridTag()
           
 
Method Summary
 int doStartTag()
          Start of Tag processing
 int getBorder()
           
 int getCellPadding()
           
 int getCellSpacing()
           
 java.lang.String getEvenStyleClass()
          Return the Style Class of Even rows
 java.lang.String getGlobalRowStyleClass()
           
 java.lang.String getOddStyleClass()
          Return the Style Class of Odd rows
 int getPeriodRow()
           
protected  java.lang.String getRowStyle(boolean p_bChange)
           
protected  java.lang.String prepareAttributes()
          Prepare the attributes of the HTML element
 void release()
          Release resources after Tag processing has finished.
 void setBorder(int border)
           
 void setCellPadding(int cellPadding)
           
 void setCellSpacing(int cellSpacing)
           
 void setEvenStyleClass(java.lang.String styleClass)
          Set the styleClass of Even rows
 void setGlobalRowStyleClass(java.lang.String globalRowStyleClass)
           
 void setOddStyleClass(java.lang.String styleClass)
          Set the Style Class of Odd rows
 void setPeriodRow(int periodRow)
           
 void setPeriodRow(java.lang.String p_PeriodRow)
           
 
Methods inherited from class org.objectweb.jonas.webapp.taglib.GridTableBaseTag
getAlign, getHeight, getHtmlElement, getValign, getWidth, setAlign, setHeight, setValign, setWidth
 
Methods inherited from class org.objectweb.jonas.webapp.taglib.GridBaseTag
doAfterBody, doEndTag, getDefaultBody, prepareAfterBody, prepareAfterTag, prepareAttribute, prepareAttribute, prepareBeforeBody, prepareBeforeTag
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GridTag

public GridTag()
Method Detail

getOddStyleClass

public java.lang.String getOddStyleClass()
Return the Style Class of Odd rows


setOddStyleClass

public void setOddStyleClass(java.lang.String styleClass)
Set the Style Class of Odd rows

Parameters:
styleClass - HTML Style Class value for Odd rows

getEvenStyleClass

public java.lang.String getEvenStyleClass()
Return the Style Class of Even rows


setEvenStyleClass

public void setEvenStyleClass(java.lang.String styleClass)
Set the styleClass of Even rows

Parameters:
styleClass - HTML Style Class value for Even rows

getPeriodRow

public int getPeriodRow()

setPeriodRow

public void setPeriodRow(int periodRow)

setPeriodRow

public void setPeriodRow(java.lang.String p_PeriodRow)

getBorder

public int getBorder()

setBorder

public void setBorder(int border)

getCellSpacing

public int getCellSpacing()

setCellSpacing

public void setCellSpacing(int cellSpacing)

getCellPadding

public int getCellPadding()

setCellPadding

public void setCellPadding(int cellPadding)

getGlobalRowStyleClass

public java.lang.String getGlobalRowStyleClass()

setGlobalRowStyleClass

public void setGlobalRowStyleClass(java.lang.String globalRowStyleClass)

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Start of Tag processing

Overrides:
doStartTag in class GridBaseTag
Throws:
javax.servlet.jsp.JspException - if a JSP exception occurs

release

public void release()
Release resources after Tag processing has finished.

Overrides:
release in class GridTableBaseTag

prepareAttributes

protected java.lang.String prepareAttributes()
Prepare the attributes of the HTML element

Overrides:
prepareAttributes in class GridTableBaseTag

getRowStyle

protected java.lang.String getRowStyle(boolean p_bChange)