|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--javax.swing.table.AbstractTableModel
|
+--lima.visualisation.DistributionServer.MapTableModel
A map-based table model.
| Nested Class Summary | |
class |
DistributionServer.MapTableModel.KeyNotFoundException
An exception indicating that no row exists with the specified key. |
class |
DistributionServer.MapTableModel.TableIndexOutOfBoundsException
An exception indicating that a specified table index is not within the table bounds. |
| Field Summary |
| Fields inherited from class javax.swing.table.AbstractTableModel |
listenerList |
| Constructor Summary | |
DistributionServer.MapTableModel(java.lang.String[] columnNames,
java.lang.Class[] columnTypes)
Construct a new map-based table model. |
|
| Method Summary | |
boolean |
containsRow(java.lang.Comparable rowKey)
Determine if a row exists that corresponds to the specified key. |
int |
getColumnCount()
Obtain a count of the columns. |
java.lang.String |
getColumnName(int columnIndex)
Obtain a column name. |
java.lang.Object[] |
getRow(java.lang.Comparable rowKey)
Get a row specified by its key. |
int |
getRowCount()
Obtain a count of the rows. |
java.lang.Object |
getValue(java.lang.Comparable rowKey,
int columnIndex)
Get the value of a cell specified by its row key and column index. |
java.lang.Object |
getValueAt(int rowIndex,
int columnIndex)
Get the value of a cell specified by its row index and column index. |
boolean |
isCellEditable(int rowIndex,
int columnIndex)
Indicate that cells within this table model are not editable. |
void |
setRow(java.lang.Comparable rowKey,
java.lang.Object[] row)
Set a row specified by its key. |
void |
setValue(java.lang.Comparable rowKey,
int columnIndex,
java.lang.Object value)
Set the value of a cell specified by its row key and column index. |
| Methods inherited from class javax.swing.table.AbstractTableModel |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, removeTableModelListener, setValueAt |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DistributionServer.MapTableModel(java.lang.String[] columnNames,
java.lang.Class[] columnTypes)
| Method Detail |
public boolean isCellEditable(int rowIndex,
int columnIndex)
isCellEditable in interface javax.swing.table.TableModelisCellEditable in class javax.swing.table.AbstractTableModelpublic int getColumnCount()
public int getRowCount()
public java.lang.String getColumnName(int columnIndex)
getColumnName in interface javax.swing.table.TableModelgetColumnName in class javax.swing.table.AbstractTableModel
public java.lang.Object getValueAt(int rowIndex,
int columnIndex)
public java.lang.Object getValue(java.lang.Comparable rowKey,
int columnIndex)
public void setValue(java.lang.Comparable rowKey,
int columnIndex,
java.lang.Object value)
public boolean containsRow(java.lang.Comparable rowKey)
public java.lang.Object[] getRow(java.lang.Comparable rowKey)
public void setRow(java.lang.Comparable rowKey,
java.lang.Object[] row)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||