edu.jhu.tmaj.client.tables.data
Class DynamicTableData
java.lang.Object
edu.jhu.tmaj.client.tables.data.TableData4
edu.jhu.tmaj.client.tables.data.DynamicTableData
public final class DynamicTableData
- extends TableData4
A class to manage the data in an InputPanel for a dynamic table.
Constructor Summary |
DynamicTableData(DynamicJBean dynamicBean,
java.util.Map<java.lang.Integer,LookupRecord> id_bean,
java.awt.Component component,
boolean useSearchDialogs,
boolean shouldPromptForTypeID)
|
DynamicTableData(DynamicJBean dynamicBean,
java.util.Map<java.lang.Integer,LookupRecord> id_bean,
java.awt.Component component,
boolean useSearchDialogs,
boolean shouldPromptForTypeID,
BeanTableModel tableModel)
Constructs this object. |
Method Summary |
java.util.List |
determineColumnIdentifiers()
Calls the parent method, but if there are no rows, a dialog is displayed asking the user to
pick a type. |
Methods inherited from class edu.jhu.tmaj.client.tables.data.TableData4 |
addDefaultValue, addRow, addRow, addSearchTerm, clearDefaultValues, clearDirtyRows, clearTableData, deleteDirtyRows, deleteRow, disableEditing, displayHistory, displayHistory, doSearch, getBean, getCellValue, getExportList, getGenericBean, getRowMap, getScrollPane, getSearchTerms, getSelectedColumnIDs, getSelectedColumnIDs, getSelectedKeysString, getTable, getTableModel, newTableData, save, search, setAllComboBoxes, setCellValue, setComboBox, setData, stopCellEditting, translateBeanListToTableList, updateDirtyRows |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DynamicTableData
public DynamicTableData(DynamicJBean dynamicBean,
java.util.Map<java.lang.Integer,LookupRecord> id_bean,
java.awt.Component component,
boolean useSearchDialogs,
boolean shouldPromptForTypeID)
DynamicTableData
public DynamicTableData(DynamicJBean dynamicBean,
java.util.Map<java.lang.Integer,LookupRecord> id_bean,
java.awt.Component component,
boolean useSearchDialogs,
boolean shouldPromptForTypeID,
BeanTableModel tableModel)
- Constructs this object.
- Parameters:
id_bean
- the values of this Map are the choices that are displayed when the user gets
prompted for a type. (see shouldPromptForTypeID)shouldPromptForTypeID
- if true, the table will prompt for a type if there are no rows in the table and
the user clicks the add button. The type the user picks is used to the determine
the columns of the JTable.
determineColumnIdentifiers
public java.util.List determineColumnIdentifiers()
- Calls the parent method, but if there are no rows, a dialog is displayed asking the user to
pick a type.
- Overrides:
determineColumnIdentifiers
in class TableData4