|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.servlet.tbeans.tableview.hdml.CellContentsNoRowsRenderer
public class CellContentsNoRowsRenderer
The CellContentsNoRowsRenderer is a TransformationBean that generates the contents of the TableView when there are no rows in the data model.
Note that the toString() method on this class calls the write method, which may have undesirable side effects. See BaseTransformation.toString() for more information. Debuggers often use toString() to show the value of a variable, and this may cause unexpected behavior while debugging
| Constructor Summary | |
|---|---|
CellContentsNoRowsRenderer()
Default constructor |
|
| Method Summary | |
|---|---|
TransformationInterface |
getCellContentsRendererComponent(AbstractBaseTableView viewer,
java.lang.Object value,
ActionList actions)
Returns the tbean used for rendering the contents of the TableView's cell. |
void |
write(java.io.PrintWriter out)
Writes the contents of the table's cell. |
| Methods inherited from class com.sas.servlet.tbeans.tableview.hdml.DefaultCellContentsRenderer |
|---|
getActions, getTableView, getText, setActions, setLocale, setTableView, setText |
| Methods inherited from interface com.sas.servlet.tbeans.TransformationInterface |
|---|
getCustomAttributes, getDescription, getId, getLocale, getName, getRequest, getResponse, getTagEpilog, getTagProlog, isVisible, setCustomAttributes, setDescription, setId, setName, setRequest, setResponse, setTagEpilog, setTagProlog, setVisible, write, write, write |
| Constructor Detail |
|---|
public CellContentsNoRowsRenderer()
| Method Detail |
|---|
public TransformationInterface getCellContentsRendererComponent(AbstractBaseTableView viewer,
java.lang.Object value,
ActionList actions)
getCellContentsRendererComponent in interface TableCellContentsRenderergetCellContentsRendererComponent in class DefaultCellContentsRendererviewer - the instance of the tableview being written.value - the value to display as the cell's contentsactions - an actionlist of all the valid actions for this cell
public void write(java.io.PrintWriter out)
throws java.io.IOException
DefaultCellContentsRendererrequest and response back
to null.
write in interface TransformationInterfacewrite in interface com.sas.util.WriteToPrintWriterInterfacewrite in class DefaultCellContentsRendererout - The output stream
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 | |||||||||||||