org.jdesktop.swingx.sort
Interface StringValueProvider

All Known Implementing Classes:
StringValueRegistry

public interface StringValueProvider

Read-only repository for StringValues. This is meant to be shared by collection views (in rendering a cell) and RowSorters/SortControllers/ComponentAdapters.

Note: this is work-in-progress, related to re-enable WYSIWYM in sorting/filtering. It's location and api is expected to change.


Method Summary
 StringValue getStringValue(int row, int column)
          Returns a StringValue to use for conversion of the cell content at row and column.
 

Method Detail

getStringValue

StringValue getStringValue(int row,
                           int column)
Returns a StringValue to use for conversion of the cell content at row and column. The converter is guaranteed to be not null, so implemenations are responsible for a reasonable fall-back value always, f.i. if they have no converters registered of if any or both of the row/column coordinate is "invalid" (f.i. -1)

Parameters:
row - the row of the cell in model coordinates
column - the column of the cell in model coordinates
Returns:
a StringValue to use for conversion, guaranteed to not null.