org.extremecomponents.table.tag
Class ColumnTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended byjavax.servlet.jsp.tagext.BodyTagSupport
          extended byorg.extremecomponents.table.tag.ColumnTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.BodyTag, ColumnAttributes, javax.servlet.jsp.tagext.IterationTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag
Direct Known Subclasses:
TreeColumnTag

public class ColumnTag
extends javax.servlet.jsp.tagext.BodyTagSupport
implements ColumnAttributes

The container which holds all the column specific information. A copy of each column will be fed to the Model.

Author:
Jeff Johnston
See Also:
Serialized Form

Field Summary
 
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
ColumnTag()
           
 
Method Summary
 void cleanup()
           
 int doEndTag()
          Must make a copy of the column because this tag may be reused.
 int doStartTag()
           
 java.lang.String getCell()
           
 java.lang.String getExport()
           
 java.lang.String getFilter()
           
 java.lang.String getFormat()
           
 java.lang.String getGroup()
           
 java.lang.String getHeaderClass()
           
 java.lang.String getParse()
           
 java.lang.String getProperty()
           
 java.lang.String getSort()
           
 java.lang.String getStyle()
           
 java.lang.String getStyleClass()
           
 java.lang.String getTitle()
           
 java.lang.Object getValue()
           
 java.lang.String getWidth()
           
 void setCell(java.lang.String cell)
           
 void setColumnValue()
          Get the value for the column.
 void setExport(java.lang.String export)
           
 void setFilter(java.lang.String filter)
           
 void setFormat(java.lang.String format)
           
 void setGroup(java.lang.String group)
           
 void setHeaderClass(java.lang.String headerClass)
           
 void setParse(java.lang.String string)
           
 void setProperty(java.lang.String property)
           
 void setSort(java.lang.String sort)
           
 void setStyle(java.lang.String style)
           
 void setStyleClass(java.lang.String styleClass)
           
 void setTitle(java.lang.String title)
           
 void setValue(java.lang.Object value)
           
 void setWidth(java.lang.String width)
           
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doInitBody, getBodyContent, getPreviousOut, release, 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
 

Constructor Detail

ColumnTag

public ColumnTag()
Method Detail

getProperty

public java.lang.String getProperty()
Specified by:
getProperty in interface ColumnAttributes

setProperty

public void setProperty(java.lang.String property)
Specified by:
setProperty in interface ColumnAttributes

getValue

public java.lang.Object getValue()
Specified by:
getValue in interface ColumnAttributes

setValue

public void setValue(java.lang.Object value)
Specified by:
setValue in interface ColumnAttributes

getTitle

public java.lang.String getTitle()
Specified by:
getTitle in interface ColumnAttributes

setTitle

public void setTitle(java.lang.String title)
Specified by:
setTitle in interface ColumnAttributes

getStyleClass

public java.lang.String getStyleClass()
Specified by:
getStyleClass in interface ColumnAttributes

setStyleClass

public void setStyleClass(java.lang.String styleClass)
Specified by:
setStyleClass in interface ColumnAttributes

getHeaderClass

public java.lang.String getHeaderClass()
Specified by:
getHeaderClass in interface ColumnAttributes

setHeaderClass

public void setHeaderClass(java.lang.String headerClass)
Specified by:
setHeaderClass in interface ColumnAttributes

getCell

public java.lang.String getCell()
Specified by:
getCell in interface ColumnAttributes

setCell

public void setCell(java.lang.String cell)
Specified by:
setCell in interface ColumnAttributes

getFormat

public java.lang.String getFormat()
Specified by:
getFormat in interface ColumnAttributes

setFormat

public void setFormat(java.lang.String format)
Specified by:
setFormat in interface ColumnAttributes

getParse

public java.lang.String getParse()
Specified by:
getParse in interface ColumnAttributes

setParse

public void setParse(java.lang.String string)
Specified by:
setParse in interface ColumnAttributes

getFilter

public java.lang.String getFilter()
Specified by:
getFilter in interface ColumnAttributes

setFilter

public void setFilter(java.lang.String filter)
Specified by:
setFilter in interface ColumnAttributes

getSort

public java.lang.String getSort()
Specified by:
getSort in interface ColumnAttributes

setSort

public void setSort(java.lang.String sort)
Specified by:
setSort in interface ColumnAttributes

getWidth

public java.lang.String getWidth()

setWidth

public void setWidth(java.lang.String width)

getGroup

public java.lang.String getGroup()
Specified by:
getGroup in interface ColumnAttributes

setGroup

public void setGroup(java.lang.String group)
Specified by:
setGroup in interface ColumnAttributes

getStyle

public java.lang.String getStyle()
Specified by:
getStyle in interface ColumnAttributes

setStyle

public void setStyle(java.lang.String style)
Specified by:
setStyle in interface ColumnAttributes

getExport

public java.lang.String getExport()
Specified by:
getExport in interface ColumnAttributes

setExport

public void setExport(java.lang.String export)
Specified by:
setExport in interface ColumnAttributes

setColumnValue

public void setColumnValue()
                    throws javax.servlet.jsp.JspException
Get the value for the column. First look to see if it displayed in the body of the column. If it is not in the body, then use the value attribute. If the value attribute is not specified then use the property attribute to find the value in the bean.

Throws:
javax.servlet.jsp.JspException

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Throws:
javax.servlet.jsp.JspException

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Must make a copy of the column because this tag may be reused. Send the copy up to the Model.

Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Throws:
javax.servlet.jsp.JspException

cleanup

public void cleanup()


Copyright © 2004 sourceforge. All Rights Reserved.