| java.lang.Object javax.swing.table.AbstractTableModel org.cougaar.tools.csmart.ui.community.DatabaseTableModel
DatabaseTableModel | public DatabaseTableModel()(Code) | | |
DatabaseTableModel | public DatabaseTableModel(String assemblyId)(Code) | | |
clear | public void clear()(Code) | | Make the table empty.
|
deleteRow | public void deleteRow(int row)(Code) | | Delete the specified row and update the database.
Parameters: row - the index of the row to delete |
getAllCommunityInfo | public void getAllCommunityInfo(String communityId)(Code) | | Methods for getting information from the database and updating the table model.
|
getChildrenEntityInfo | public void getChildrenEntityInfo(String communityId, String childrenEntityIds)(Code) | | |
getColumnClass | public Class getColumnClass(int column)(Code) | | |
getColumnCount | public int getColumnCount()(Code) | | |
getCommunityInfo | public void getCommunityInfo(String communityId)(Code) | | |
getKnownValues | public ArrayList getKnownValues(int columnIndex)(Code) | | Return all values in the specified column; removes duplicates.
Parameters: columnIndex - of column unique values in that column |
getRowCount | public int getRowCount()(Code) | | |
getValueAt | public Object getValueAt(int aRow, int aColumn)(Code) | | |
isCellEditable | public boolean isCellEditable(int row, int column)(Code) | | |
setAssemblyId | public void setAssemblyId(String assemblyId)(Code) | | |
setValueAt | public void setValueAt(Object value, int row, int column)(Code) | | Update the database table with the new information.
Parameters: value - new value Parameters: row - index of row in which to set value Parameters: column - index of column in which to set value |
|
|