org.ka2ddo.yaac.util
Interface SaveableTable<TM>

All Known Implementing Classes:
PrintableTable

public interface SaveableTable<TM>

This interface identifies the class within a view window of YAAC that can save the contents of the tabular view to a CSV file.


Method Summary
 void exportAsCsv(java.io.PrintStream ps)
          Export the table as a CSV file.
 java.lang.String getName()
          Get the localized name of this table.
 int getRowCount()
          Get the number of records in this table.
 TM getTableModel()
          Get the data model of the table.
 

Method Detail

exportAsCsv

void exportAsCsv(java.io.PrintStream ps)
Export the table as a CSV file.

Parameters:
ps - PrintStream to write the CSV file to

getTableModel

TM getTableModel()
Get the data model of the table.

Returns:
TM used by the table

getName

java.lang.String getName()
Get the localized name of this table.

Returns:
localized String name of the table

getRowCount

int getRowCount()
Get the number of records in this table.

Returns:
row count