wt.templateutil.table
Interface UniqueCellIdGenerator

All Known Implementing Classes:
PartSubstitutesTableModel, ShareStatusTableModel

public interface UniqueCellIdGenerator

This interface allows a table model to provide additional information for the trail id for a specific cell within a table. The additional information is appended after the table name by HTMLTable when it begins constructing the trail id information. If this interface is not implemented by a table model then each cell gets only the table name added to the Trail Id by HTMLTable. In most cases this additional information is not needed. Use: If a table is found to have insufficient information for unique ids using the default mechanism this interface can be used to provide additional information. If the table is already using a model that is specific to that one purpose, that model can simply be modified to implement this interface, and the new method can be implemented appropriatly. If the table is using a standard generic model than a new specific subclass will need to be created that implements this interface. The subclass need only contain the implementation for one method. This interface should only be used for trail ids in table cells and should only be implemented by classes that are TabelModels.

Supported API: false

Extendable: false


Method Summary
 String getUniqueTableCellTrailId(int rowNumber, int columnNumber)
          Deprecated.  
 

Method Detail

getUniqueTableCellTrailId

public String getUniqueTableCellTrailId(int rowNumber,
                                        int columnNumber)
Deprecated.  

This method is called by HtmlTable to allow a table model to provide additional information for the trail id for a specific cell within a table. The additional information is appended after the table name by HTMLTable when it begins constructing the trail id information. If this interface and this method are not implemented by a table model then each cell gets only the table name added to the Trail Id by HTMLTable. In most cases this additional information is not needed.

Supported API: false

Parameters:
rowNumber - the row of the cell that information is being requested for
columnNumber - the column of the cell that information is being requested for
Returns:
The String returned contains the additional information needed by the specified cell to make the trail Id unique.