org.apache.beehive.netui.tags.databinding.datagrid
Class AbstractColumn

Object
  extended by SimpleTagSupport
      extended by AbstractSimpleTag
          extended by AbstractColumn
All Implemented Interfaces:
JspTag, SimpleTag, Formattable, INetuiTag
Direct Known Subclasses:
AbstractHtmlColumn

public abstract class AbstractColumn
extends AbstractSimpleTag
implements Formattable


Constructor Summary
AbstractColumn()
           
 
Method Summary
 void addFormatter(FormatTag.Formatter formatter)
          Adds a FormatTag.Formatter instance to the tag's set of formatters.
protected  void applyAttributes()
           
protected abstract  ColumnModel createColumnModel()
           
 void doTag()
           
 void formatterHasError()
          Indicate that a formatter has reported an error so the formatter should output it's body text.
 ColumnModel getColumnModel()
           
protected  Columns getColumnsTag()
           
protected  DataGrid getDataGridTag()
           
protected abstract  void setColumnModel(ColumnModel model)
           
 void setHeaderText(String headerText)
           
 
Methods inherited from class AbstractSimpleTag
addTagIdMapping, getBufferBody, getInlineError, getPageContext, getScriptReporter, getTagName, getUserLocale, hasErrors, registerTagError, registerTagError, reportErrors, rewriteName, setNonEmptyValueAttribute, setRequiredValueAttribute, write
 
Methods inherited from class SimpleTagSupport
findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setJspContext, setParent
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractColumn

public AbstractColumn()
Method Detail

setHeaderText

public void setHeaderText(String headerText)

doTag

public void doTag()
           throws JspException,
                  IOException
Specified by:
doTag in interface SimpleTag
Overrides:
doTag in class SimpleTagSupport
Throws:
JspException
IOException

addFormatter

public void addFormatter(FormatTag.Formatter formatter)
Description copied from interface: Formattable
Adds a FormatTag.Formatter instance to the tag's set of formatters.

Specified by:
addFormatter in interface Formattable
Parameters:
formatter - - the formatter instance to add to the Formattable tag's set of formatters.

formatterHasError

public void formatterHasError()
Indicate that a formatter has reported an error so the formatter should output it's body text.

Specified by:
formatterHasError in interface Formattable

getColumnModel

public ColumnModel getColumnModel()

createColumnModel

protected abstract ColumnModel createColumnModel()

setColumnModel

protected abstract void setColumnModel(ColumnModel model)

applyAttributes

protected void applyAttributes()
                        throws JspException
Throws:
JspException

getColumnsTag

protected Columns getColumnsTag()
                         throws JspException
Throws:
JspException

getDataGridTag

protected DataGrid getDataGridTag()
                           throws JspException
Throws:
JspException