org.apache.beehive.netui.databinding.datagrid.model.impl
Class AbstractHtmlColumnModel
Object
ColumnModel
AbstractHtmlColumnModel
- All Implemented Interfaces:
- IAttributeConsumer
- Direct Known Subclasses:
- AnchorColumnModel, ImageColumnModel, LiteralColumnModel
public abstract class AbstractHtmlColumnModel
- extends ColumnModel
- implements IAttributeConsumer
todo: need to do error reporting from the model back to the JSP tags
Methods inherited from class ColumnModel |
addFormatter, closeDataCell, closeHeaderCell, createResourceUri, endCell, formatText, getDataGridModel, getFilterExpression, getFilterUri, getHeaderText, getRenderState, getSortExpression, getSortUri, isFilterable, isRenderingData, isRenderingHeader, isSortable, openDataCell, openHeaderCell, renderDataCell, renderEmptyCell, renderHeader, setDataGridModel, setFilterable, setFilterExpression, setFilterUri, setHeaderText, setNonEmptyValueAttribute, setRenderState, setSortable, setSortExpression, setSortUri, startCell |
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractHtmlColumnModel
public AbstractHtmlColumnModel()
setOnClick
public void setOnClick(String onClick)
setOnDblClick
public void setOnDblClick(String onDblClick)
setOnKeyDown
public void setOnKeyDown(String onKeyDown)
setOnKeyUp
public void setOnKeyUp(String onKeyUp)
setOnKeyPress
public void setOnKeyPress(String onKeyPress)
setOnMouseDown
public void setOnMouseDown(String onMouseDown)
setOnMouseUp
public void setOnMouseUp(String onMouseUp)
setOnMouseMove
public void setOnMouseMove(String onMouseMove)
setOnMouseOut
public void setOnMouseOut(String onMouseOut)
setOnMouseOver
public void setOnMouseOver(String onMouseOver)
setStyle
public void setStyle(String style)
setStyleClass
public void setStyleClass(String styleClass)
setTitle
public void setTitle(String 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.
getHtmlState
protected abstract AbstractHtmlState getHtmlState()
getHttpServletRequest
protected HttpServletRequest getHttpServletRequest()
setStateAttribute
protected void setStateAttribute(String name,
String value)
- Attribute implementation.
- Parameters:
name
- value
-