| org.apache.beehive.netui.tags.databinding.datagrid.AbstractDataGridHtmlTag org.apache.beehive.netui.tags.databinding.datagrid.AbstractCell
All known Subclasses: org.apache.beehive.netui.tags.databinding.datagrid.HeaderCell, org.apache.beehive.netui.tags.databinding.datagrid.AbstractHtmlTableCell,
AbstractCell | abstract public class AbstractCell extends AbstractDataGridHtmlTag (Code) | |
Abstract base class for JSP tags that render data grid cells. This class provides support to
subclasses in several areas:
- formatting -- this class accepts instances of
Formatter which can optionally be used
by a subclass to perform formatting on content that is written to a rendered page
- applying attributes
- applying state attributes to
AbstractHtmlState instances used by subclasses.
|
addFormatter | public void addFormatter(Formatter formatter)(Code) | | Add a
Formatter . Subclasses can optionally use the support formatting; formatters
are added to the
CellModel associated with an instance of the subclass.
Parameters: formatter - the formatter to add |
addStateAttribute | final protected void addStateAttribute(AbstractHtmlState state, String name, String value) throws JspException(Code) | |
Add an HTML state attribute to a
AbstractHtmlState object. This method performs
checks on common attributes and sets their values on the state object or throws an exception.
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.
Parameters: state - the state object to which attributes are appliedn Parameters: name - the name of an attribute Parameters: value - the value of the attribute throws: JspException - when an error occurs setting the attribute on the state object |
applyAttributes | protected void applyAttributes() throws JspException(Code) | | Utility method invoked during tag rendering. Subclasses should place attribute validation logic
here.
throws: JspException - if application of attributes fails |
formatterHasError | public void formatterHasError()(Code) | | Indicate that a formatter has reported an error so the formatter should output it's body text.
|
internalGetCellModel | abstract protected CellModel internalGetCellModel()(Code) | |
Abstract method implemented by subclasses. Implementers should return the
CellModel associated
with the UI that is being rendered by the JSP tag.
the cell's CellModel |
renderEmptyCell | protected void renderEmptyCell(AbstractRenderAppender appender)(Code) | | Utility method usable by subclasses that renders an HTML to represent an empty HTML table cell.
Parameters: appender - the AbstractRenderAppender to which any output should be rendered |
|
|