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

Object
  extended by SimpleTagSupport
      extended by AbstractSimpleTag
          extended by AbstractCell
              extended by AbstractHtmlTableCell
                  extended by SpanCell
All Implemented Interfaces:
JspTag, SimpleTag, IFormattable, IAttributeConsumer, IBehaviorConsumer, INetuiTag

public class SpanCell
extends AbstractHtmlTableCell
implements IFormattable


Constructor Summary
SpanCell()
           
 
Method Summary
 String getTagName()
          Return the name of the tag.
protected  CellModel internalGetCellModel()
           
protected  void renderDataCellContents(AbstractRenderAppender appender, String jspFragmentOutput)
           
 void setAttribute(String name, String value, String facet)
          Base support for the attribute tag.
 void setOnClick(String onClick)
          Sets the onClick javascript event.
 void setOnDblClick(String onDblClick)
          Sets the onDblClick javascript event.
 void setOnKeyDown(String onKeyDown)
          Sets the onKeyDown javascript event.
 void setOnKeyPress(String onKeyPress)
          Sets the onKeyPress javascript event.
 void setOnKeyUp(String onKeyUp)
          Sets the onKeyUp javascript event.
 void setOnMouseDown(String onMouseDown)
          Sets the onMouseDown javascript event.
 void setOnMouseMove(String onMouseMove)
          Sets the onMouseMove javascript event.
 void setOnMouseOut(String onMouseOut)
          Sets the onMouseOut javascript event.
 void setOnMouseOver(String onMouseOver)
          Sets the onMouseOver javascript event.
 void setOnMouseUp(String onMouseUp)
          Sets the onMouseUp javascript event.
 void setStyle(String style)
          Sets the style of the rendered html tag.
 void setStyleClass(String styleClass)
          Sets the style class of the rendered html tag.
 void setTitle(String title)
          Sets the value of the title attribute.
 void setValue(String value)
           
 
Methods inherited from class AbstractHtmlTableCell
renderCell, setBehavior, setCellAbbr, setCellAlign, setCellAxis, setCellChar, setCellCharoff, setCellColspan, setCellDir, setCellHeaders, setCellLang, setCellOnClick, setCellOnDblClick, setCellOnKeyDown, setCellOnKeyPress, setCellOnKeyUp, setCellOnMouseDown, setCellOnMouseMove, setCellOnMouseOut, setCellOnMouseOver, setCellOnMouseUp, setCellRowspan, setCellScope, setCellStyle, setCellStyleClass, setCellTitle, setCellValign, setFilterExpression, setSortExpression
 
Methods inherited from class AbstractCell
addFormatter, addStateAttribute, applyAttributes, doTag, formatterHasError, renderEmptyCell
 
Methods inherited from class AbstractSimpleTag
getBufferBody, getHtmlTag, getIdForTagId, getInlineError, getPageContext, getScriptReporter, 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
 
Methods inherited from interface IFormattable
addFormatter, formatterHasError
 

Constructor Detail

SpanCell

public SpanCell()
Method Detail

getTagName

public String getTagName()
Description copied from class: AbstractSimpleTag
Return the name of the tag. Used by error reporting to get the name of the tag.

Specified by:
getTagName in interface INetuiTag
Specified by:
getTagName in class AbstractSimpleTag
Returns:
the name of the tag.

setOnClick

public void setOnClick(String onClick)
Sets the onClick javascript event.

Parameters:
onClick - - the onClick event.

setOnDblClick

public void setOnDblClick(String onDblClick)
Sets the onDblClick javascript event.

Parameters:
onDblClick - - the onDblClick event.

setOnKeyDown

public void setOnKeyDown(String onKeyDown)
Sets the onKeyDown javascript event.

Parameters:
onKeyDown - - the onKeyDown event.

setOnKeyUp

public void setOnKeyUp(String onKeyUp)
Sets the onKeyUp javascript event.

Parameters:
onKeyUp - - the onKeyUp event.

setOnKeyPress

public void setOnKeyPress(String onKeyPress)
Sets the onKeyPress javascript event.

Parameters:
onKeyPress - - the onKeyPress event.

setOnMouseDown

public void setOnMouseDown(String onMouseDown)
Sets the onMouseDown javascript event.

Parameters:
onMouseDown - - the onMouseDown event.

setOnMouseUp

public void setOnMouseUp(String onMouseUp)
Sets the onMouseUp javascript event.

Parameters:
onMouseUp - - the onMouseUp event.

setOnMouseMove

public void setOnMouseMove(String onMouseMove)
Sets the onMouseMove javascript event.

Parameters:
onMouseMove - - the onMouseMove event.

setOnMouseOut

public void setOnMouseOut(String onMouseOut)
Sets the onMouseOut javascript event.

Parameters:
onMouseOut - - the onMouseOut event.

setOnMouseOver

public void setOnMouseOver(String onMouseOver)
Sets the onMouseOver javascript event.

Parameters:
onMouseOver - - the onMouseOver event.

setStyle

public void setStyle(String style)
Sets the style of the rendered html tag.

Parameters:
style - - the html style.

setStyleClass

public void setStyleClass(String styleClass)
Sets the style class of the rendered html tag.

Parameters:
styleClass - - the html style class.

setTitle

public void setTitle(String title)
Sets the value of the title attribute.

Parameters:
title -

setValue

public void setValue(String value)

setAttribute

public void setAttribute(String name,
                         String value,
                         String facet)
                  throws JspException
Description copied from class: AbstractHtmlTableCell
Base support for the attribute tag. This requires that the tag buffer their body and write attribute in the end tag. For the HTML tags it is not legal to set the id or name attributes. In addition, the base tag does not allow facets to be set. If the attribute is legal it will be added to the general expression map stored in the AbstractHtmlState of the tag.

Specified by:
setAttribute in interface IAttributeConsumer
Overrides:
setAttribute in class AbstractHtmlTableCell
Parameters:
name - The name of the attribute. This value may not be null or the empty string.
value - The value of the attribute. This may contain an expression.
facet - The name of a facet to which the attribute will be applied. This is optional.
Throws:
JspException - A JspException may be thrown if there is an error setting the attribute.

renderDataCellContents

protected void renderDataCellContents(AbstractRenderAppender appender,
                                      String jspFragmentOutput)
Specified by:
renderDataCellContents in class AbstractHtmlTableCell

internalGetCellModel

protected CellModel internalGetCellModel()
Specified by:
internalGetCellModel in class AbstractCell