JIDE 3.5.15

com.jidesoft.grid
Interface ValueStringAdjustProvider

All Known Implementing Classes:
AggregateTable

public interface ValueStringAdjustProvider

This is an interface for those tables like AggregateTable to adjust the display string for some special cells. For example, the summary value or the grand total value.


Method Summary
 String getValueAtInString(int rowIndex, int columnIndex, ValueConverter converter)
          Get the final display string after all available conversion.
 boolean needAdjustCellValueString(int rowIndex, int columnIndex)
          Check if the cell's display string need to be adjusted.
 

Method Detail

getValueAtInString

String getValueAtInString(int rowIndex,
                          int columnIndex,
                          ValueConverter converter)
Get the final display string after all available conversion.

Parameters:
rowIndex - the row index
columnIndex - the column index
converter - the cell value converter if applicable. null if you don't call this method for exporting to excel purpose.
Returns:
the final display string for the cell.

needAdjustCellValueString

boolean needAdjustCellValueString(int rowIndex,
                                  int columnIndex)
Check if the cell's display string need to be adjusted.

Parameters:
rowIndex - the row index
columnIndex - the column index
Returns:
true if the cell need to be adjusted. Otherwise false.

JIDE 3.5.15