com.sas.servlet.tbeans.tableview
Interface TableCellEditor

All Superinterfaces:
TableCell
All Known Implementing Classes:
DefaultTableCellEditor

public interface TableCellEditor
extends TableCell

This interface defines the methods required by any object that would like to be an editor for cells in a TableView. It generates the entire contents of the table's cell within the appropriate markup language.

For example, in HTML the table cell editor would generate <TD>cellvalue</TD>

The write methods should not be called until the cellContentsEditor's setCellEditorContentsValue method has been successful called.


Method Summary
 java.util.Locale getLocale()
          Gets the locale.
 TableCellContentsEditor getTableCellContentsEditor()
          Gets the cell contents editor used to display the cell's contents.
 void setLocale(java.util.Locale loc)
          Sets the locale.
 void setTableCellContentsEditor(TableCellContentsEditor contentsEditor)
          Sets the cell contents editor used to display the cell's contents.
 
Methods inherited from interface com.sas.servlet.tbeans.tableview.TableCell
isHeader, setHeader, write, writeBeginCell, writeEndCell
 

Method Detail

setTableCellContentsEditor

void setTableCellContentsEditor(TableCellContentsEditor contentsEditor)
Sets the cell contents editor used to display the cell's contents.

Parameters:
contentsEditor - the editor used to display the cell's contents.

getTableCellContentsEditor

TableCellContentsEditor getTableCellContentsEditor()
Gets the cell contents editor used to display the cell's contents.

Returns:
the editor used to display the cell's contents.

setLocale

void setLocale(java.util.Locale loc)
Sets the locale.

Parameters:
loc - an instance of java.util.Locale

getLocale

java.util.Locale getLocale()
Gets the locale.

Returns:
an instance of java.util.Locale



Copyright © 2009 SAS Institute Inc. All Rights Reserved.