javax.rad.ui.control
Interface ICellFormatter


public interface ICellFormatter

Platform and technology independent CellFormatter definition. It is designed for use with AWT, Swing, SWT, JSP, JSF, ... .


Method Summary
 ICellFormat getCellFormat(IDataBook pDataBook, IDataPage pDataPage, IDataRow pDataRow, java.lang.String pColumnName, int pRow, int pColumn)
          Gets the ICellFormat for the specified cell.
 

Method Detail

getCellFormat

ICellFormat getCellFormat(IDataBook pDataBook,
                          IDataPage pDataPage,
                          IDataRow pDataRow,
                          java.lang.String pColumnName,
                          int pRow,
                          int pColumn)
                          throws java.lang.Throwable
Gets the ICellFormat for the specified cell.

A note for implementations, the created ICellFormat can and should be cached they do not change.

Parameters:
pDataBook - the IDataBook.
pDataPage - the IDataPage.
pDataRow - the IDataRow.
pColumnName - the name of the column.
pRow - the index of the displayed row. This is not necessarily the same as the model index. If you want to get the value, use pDataRow.
pColumn - the index of the displayed column. This is not necessarily the same as the model index. If you want to get the value, use pColumnName and pDataRow.
Returns:
the ICellFormat for the specified cell.
Throws:
java.lang.Throwable - if an error occurs.


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.