com.sas.servlet.tbeans.tableview.rpf.html
Class ConditionTableCellRenderer
com.sas.servlet.tbeans.tableview.rpf.html.ConditionTableCellRenderer
All Implemented Interfaces: com.sas.rpf.TargetInterface, HttpConstants , StyleInterface , TableCell , TableCellRenderer , CombiningRendererInterface , javax.swing.SwingConstants
public class ConditionTableCellRenderer implements com.sas.rpf.TargetInterface, CombiningRendererInterface
The class is used for rendering conditions applied to the TableView using the
Context
class set on the TableView.
Fields inherited from interface com.sas.servlet.tbeans.HttpConstants
ALL , BASELINE , CHAR , COL , COLGROUP , JUSTIFY , MULTIPLE , NONE , ROW , ROWGROUP , SINGLE
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
ConditionTableCellRenderer
public ConditionTableCellRenderer ()
Constructs a new ConditionTableCellRenderer.
ConditionTableCellRenderer
public ConditionTableCellRenderer (TableCellContentsRenderer cRenderer)
Constructs a new ConditionTableCellRenderer with the given
TableCellContentsRenderer
Parameters: cRenderer
- an instance of TableCellContentsRenderer
write
public void write (java.io.PrintWriter out,
AbstractBaseTableView tableview,
java.lang.Object value,
java.lang.String name,
ActionList actions)
throws java.io.IOException
Write the entire table cell in the appropriate markup language. This
method calls the writeBeginCell, writeEndCell and
TableCellContentsRenderer.setCellRendererContentsValue methods.
Specified by: write
in interface TableCell
Overrides: write
in class DefaultTableCellRenderer
Parameters: 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
Throws:
java.io.IOException
- Thrown if some type of I/O error occurs
Copyright © 2009 SAS Institute Inc. All Rights Reserved.