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

Object
  extended by SimpleTagSupport
      extended by AbstractSimpleTag
          extended by AbstractCell
All Implemented Interfaces:
JspTag, SimpleTag, INetuiTag
Direct Known Subclasses:
AbstractHtmlTableCell, HeaderCell

public abstract class AbstractCell
extends AbstractSimpleTag


Constructor Summary
AbstractCell()
           
 
Method Summary
 void addFormatter(FormatTag.Formatter formatter)
           
protected  void addStateAttribute(AbstractHtmlState state, String name, String value)
           
protected  void applyAttributes()
           
 void doTag()
           
 void formatterHasError()
          Indicate that a formatter has reported an error so the formatter should output it's body text.
protected abstract  CellModel internalGetCellModel()
           
protected abstract  void renderCell(AbstractRenderAppender appender)
           
protected  void renderEmptyCell(AbstractRenderAppender appender)
           
 
Methods inherited from class AbstractSimpleTag
getBufferBody, getHtmlTag, getIdForTagId, 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

AbstractCell

public AbstractCell()
Method Detail

addFormatter

public void addFormatter(FormatTag.Formatter formatter)

formatterHasError

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


doTag

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

internalGetCellModel

protected abstract CellModel internalGetCellModel()

renderCell

protected abstract void renderCell(AbstractRenderAppender appender)
                            throws IOException,
                                   JspException
Throws:
IOException
JspException

renderEmptyCell

protected void renderEmptyCell(AbstractRenderAppender appender)

applyAttributes

protected void applyAttributes()
                        throws JspException
Throws:
JspException

addStateAttribute

protected final void addStateAttribute(AbstractHtmlState state,
                                       String name,
                                       String value)
                                throws JspException
Throws:
JspException