|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.servlet.tbeans.tableview.html.DefaultTableCellRenderer
public class DefaultTableCellRenderer
The DefaultTableCellRenderer is the default class for generating the appropriate HTML 4.0 to represent a cell of a TableView. It renderers the HTML language tags and the cell's contents (or body).
For example: An html table cell renderer would generate "<TD>cell contents</TD>".
For More Information:
JSP custom tags provide an alternative to using the TransformationBeans. Visit the Custom Tag Library Reference for additional information on the sas:CellRenderer custom tag.
TableView
Field Summary |
---|
Fields inherited from interface com.sas.servlet.tbeans.HttpConstants |
---|
ALL, BASELINE, CHAR, COL, COLGROUP, JUSTIFY, MULTIPLE, NONE, ROW, ROWGROUP, SINGLE |
Constructor Summary | |
---|---|
DefaultTableCellRenderer()
Constructs a new DefaultTableCellRenderer. |
|
DefaultTableCellRenderer(TableCellContentsRenderer cRenderer)
Constructs a new DefaultTableCellRenderer with the given TableCellContentsRenderer |
Method Summary | |
---|---|
TableCellContentsRenderer |
getTableCellContentsRenderer()
Gets the cell contents renderer used to display the cell's contents. |
void |
setTableCellContentsRenderer(TableCellContentsRenderer contentsRenderer)
Sets the cell contents renderer used to display the cell's contents. |
void |
write(java.io.PrintWriter out,
AbstractBaseTableView tableview,
java.lang.Object value,
java.lang.String name,
ActionList actions)
Write the entire table cell in the appropriate markup language. |
Methods inherited from class com.sas.servlet.tbeans.tableview.html.BaseTableCell |
---|
getBgColor, getColSpan, getCustomAttributes, getHeaders, getHeight, getHeightPercentage, getHorizontalAlignment, getId, getLocale, getRowSpan, getScope, getStyleInfo, getVerticalAlignment, getWidth, getWidthPercentage, isHeader, isNoWrap, setBgColor, setColSpan, setCustomAttributes, setHeader, setHeaders, setHeight, setHeightPercentage, setHorizontalAlignment, setId, setLocale, setNoWrap, setRowSpan, setScope, setStyleInfo, setVerticalAlignment, setWidth, setWidthPercentage, writeBeginCell, writeEndCell |
Methods inherited from interface com.sas.servlet.tbeans.tableview.TableCellRenderer |
---|
getLocale, setLocale |
Methods inherited from interface com.sas.servlet.tbeans.tableview.TableCell |
---|
isHeader, setHeader, writeBeginCell, writeEndCell |
Constructor Detail |
---|
public DefaultTableCellRenderer()
public DefaultTableCellRenderer(TableCellContentsRenderer cRenderer)
cRenderer
- an instance of TableCellContentsRendererMethod Detail |
---|
public void setTableCellContentsRenderer(TableCellContentsRenderer contentsRenderer)
setTableCellContentsRenderer
in interface TableCellRenderer
contentsRenderer
- the renderer used to display the cell's contents.public TableCellContentsRenderer getTableCellContentsRenderer()
getTableCellContentsRenderer
in interface TableCellRenderer
public void write(java.io.PrintWriter out, AbstractBaseTableView tableview, java.lang.Object value, java.lang.String name, ActionList actions) throws java.io.IOException
write
in interface TableCell
write
in class BaseTableCell
out
- the output streamtableview
- the instance of the tableview being written.value
- the value to display as the cell's contentsname
- the name to use for the contents componentactions
- an actionlist of all the valid actions for this cell
java.io.IOException
- Thrown if some type of I/O error occurs
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |