| org.itsnat.comp.ItsNatTableCellRenderer
All known Subclasses: org.itsnat.feashow.features.components.tables.CircleTableCellRenderer, org.itsnat.impl.comp.ItsNatTableCellRendererDefaultImpl,
Method Summary | |
public void | renderTableCell(ItsNatTable table, int row, int column, Object value, boolean isSelected, boolean hasFocus, Element cellContentElem, boolean isNew) Renders as markup the specified table cell value into the specified element, usually
as a text node.
Default implementation delegates to the default
org.itsnat.core.domutil.ElementRenderer .
Default implementation ignores isSelected and hasFocus
(current implementation of ItsNat tables does not handle focus on table cells, ever is false).
Parameters: table - the table component, may be used to provide contextual information. | public void | unrenderTableCell(ItsNatTable table, int row, int column, Element cellContentElem) Unrenders the markup of the specified table cell. |
renderTableCell | public void renderTableCell(ItsNatTable table, int row, int column, Object value, boolean isSelected, boolean hasFocus, Element cellContentElem, boolean isNew)(Code) | | Renders as markup the specified table cell value into the specified element, usually
as a text node.
Default implementation delegates to the default
org.itsnat.core.domutil.ElementRenderer .
Default implementation ignores isSelected and hasFocus
(current implementation of ItsNat tables does not handle focus on table cells, ever is false).
Parameters: table - the table component, may be used to provide contextual information. Default implementation ignores it. Parameters: row - the cell row. Parameters: column - the cell column. Parameters: value - the value to render. Parameters: isSelected - true if the cell is selected. Parameters: hasFocus - true if the cell has the focus. Parameters: cellContentElem - the table cell content element to render the value into. Is a hint, if provided should be obtained by calling table.getItsNatTableUI().getCellContentElement(row,column) . Parameters: isNew - true if this is the first time the markup is rendered. Default implementation ignores this parameter. |
unrenderTableCell | public void unrenderTableCell(ItsNatTable table, int row, int column, Element cellContentElem)(Code) | | Unrenders the markup of the specified table cell. This method is called before the markup
is removed.
Default implementation does nothing.
Parameters: table - the table component, may be used to provide contextual information. Default implementation ignores it. Parameters: row - the cell row. Parameters: column - the cell column. Parameters: cellContentElem - the table cell content element to render the value into. Is a hint, if provided should be obtained by calling table.getItsNatTableUI().getCellContentElement(row,column) . |
|
|