|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.swing.table.AbstractTableModel
gov.nih.nlm.mms.filters.SourcesToRemoveTableModel
public class SourcesToRemoveTableModel
Stores and initializes the data for the Sources To Exclude table.
| Field Summary |
|---|
| Fields inherited from class javax.swing.table.AbstractTableModel |
|---|
listenerList |
| Constructor Summary | |
|---|---|
SourcesToRemoveTableModel(ApplicationConfiguration default_config)
This constructor gets the initial values for the sources table. |
|
| Method Summary | |
|---|---|
Class |
getColumnClass(int column_number)
Returns the Class of the objects in the given column. |
int |
getColumnCount()
Returns the number of columns in the sources to exclude table. |
String |
getColumnName(int column_number)
Returns the name of a column in the sources to exclude table |
int |
getRowCount()
Returns the number of rows in the sources to exclude table. |
int |
getRowForSource(Source source)
Returns the row number for a given Source in the Sources To Remove
Table. |
Source |
getSourceAtRow(int row)
Returns the Source at a given row in the Sources To Remove Table. |
Object |
getValueAt(int row,
int column)
Returns the value at the cell of the sources to exclude table. |
| Methods inherited from class javax.swing.table.AbstractTableModel |
|---|
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SourcesToRemoveTableModel(ApplicationConfiguration default_config)
default_config - ApplicationConfiguration| Method Detail |
|---|
public int getColumnCount()
int number of columnspublic int getRowCount()
int number of rowspublic String getColumnName(int column_number)
getColumnName in interface TableModelgetColumnName in class AbstractTableModelcolumn_number - int number of the column in question
String name of the column in position column_number
public Object getValueAt(int row,
int column)
row - int row number of the cellcolumn - int column number of the cell
public Class getColumnClass(int column_number)
Class of the objects in the given column.
getColumnClass in interface TableModelgetColumnClass in class AbstractTableModelcolumn_number - int indicates the column in question
Class of the columnpublic Source getSourceAtRow(int row)
Source at a given row in the Sources To Remove Table.
row - int row number
Sourcepublic int getRowForSource(Source source)
Source in the Sources To Remove
Table.
source - Source
int row number
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||