class CheckBoxTableModel extends AbstractTableModel {

    public List<String> getCheckedValues()
    {
        List<String> results = New.list(myValues.size());
        for (int index = 0; index < myValues.size(); ++index)
        {
            if (myBooleans.get(index).booleanValue())
            {
                results.add(myValues.get(index));
            }
        }
        return results;
    }

    public  CheckBoxTableModel(String checkBoxHeader, String valueHeader, Boolean initialCheckBoxState,
            Collection<? extends String> values);

}