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

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

public abstract class AbstractHtmlColumn
extends AbstractColumn
implements IAttributeConsumer


Constructor Summary
AbstractHtmlColumn()
           
 
Method Summary
protected  void applyAttributes()
           
 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.
 
Methods inherited from class AbstractColumn
addFormatter, createColumnModel, doTag, formatterHasError, getColumnModel, getColumnsTag, getDataGridTag, setColumnModel, setHeaderText
 
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

AbstractHtmlColumn

public AbstractHtmlColumn()
Method Detail

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 -

setAttribute

public void setAttribute(String name,
                         String value,
                         String facet)
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
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.

applyAttributes

protected void applyAttributes()
                        throws JspException
Overrides:
applyAttributes in class AbstractColumn
Throws:
JspException