|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.table.AbstractTableModel
edu.wisc.ssec.mcidasv.servermanager.TabbedAddeManager.LocalAddeTableModel
private static class TabbedAddeManager.LocalAddeTableModel
Field Summary | |
---|---|
private String[] |
columnNames
Labels that appear as the column headers. |
private List<LocalAddeEntry> |
entries
Entries that currently populate the server manager. |
private EntryStore |
entryStore
EntryStore used to query and apply changes. |
Fields inherited from class javax.swing.table.AbstractTableModel |
---|
listenerList |
Constructor Summary | |
---|---|
TabbedAddeManager.LocalAddeTableModel(EntryStore entryStore)
|
Method Summary | |
---|---|
int |
getColumnCount()
Returns the length of columnNames . |
String |
getColumnName(int column)
Returns the column name associated with column . |
protected LocalAddeEntry |
getEntryAtRow(int row)
Returns the LocalAddeEntry at the given index. |
int |
getRowCount()
Returns the number of entries being managed. |
protected int |
getRowForEntry(LocalAddeEntry entry)
|
protected List<LocalAddeEntry> |
getSelectedEntries(int[] rows)
|
Object |
getValueAt(int row,
int column)
Finds the value at the given coordinates. |
void |
refreshEntries()
|
Methods inherited from class javax.swing.table.AbstractTableModel |
---|
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final String[] columnNames
private final List<LocalAddeEntry> entries
private final EntryStore entryStore
EntryStore
used to query and apply changes.
Constructor Detail |
---|
public TabbedAddeManager.LocalAddeTableModel(EntryStore entryStore)
Method Detail |
---|
protected LocalAddeEntry getEntryAtRow(int row)
LocalAddeEntry
at the given index.
row
- Index of the entry.
LocalAddeEntry
at the index specified by row
.protected int getRowForEntry(LocalAddeEntry entry)
protected List<LocalAddeEntry> getSelectedEntries(int[] rows)
public void refreshEntries()
public int getColumnCount()
columnNames
.
public int getRowCount()
public Object getValueAt(int row, int column)
row
- Table row.column
- Table column.
row
and column
coordinates
IndexOutOfBoundsException
- if row
or column
refer to an invalid table cell.public String getColumnName(int column)
column
.
getColumnName
in interface TableModel
getColumnName
in class AbstractTableModel
columnNames
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |