|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.swing.table.AbstractTableModel | +--synapsi.gui.GroupTableModel
Table model used in Client-table of NeuronServers main window
Fields inherited from class javax.swing.table.AbstractTableModel |
listenerList |
Constructor Summary | |
GroupTableModel(java.util.Vector newData)
Calls ancestors constructor |
Method Summary | |
void |
deleteRow(int row)
Removes specified row from table |
int |
getColumnCount()
Tells, how many columns there are in the table |
java.lang.String |
getColumnName(int col)
Tells the name of requested column in table |
java.lang.Object[] |
getRowAt(int index)
Returns the row at specified index |
int |
getRowCount()
Tells, how many rows there are in the table |
java.lang.Object |
getValueAt(int row,
int column)
Returns the value of requested column in Object-format |
void |
insertRow(java.lang.Object[] row)
Add new row to table |
void |
setRow(java.lang.String name,
java.lang.String version,
int index)
Sets the values at a row in specified position |
void |
setValueAt(java.lang.Object value,
int row,
int col)
Sets the value in specified cell of table |
Methods inherited from class javax.swing.table.AbstractTableModel |
addTableModelListener,
findColumn,
fireTableCellUpdated,
fireTableChanged,
fireTableDataChanged,
fireTableRowsDeleted,
fireTableRowsInserted,
fireTableRowsUpdated,
fireTableStructureChanged,
getColumnClass,
isCellEditable,
removeTableModelListener |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public GroupTableModel(java.util.Vector newData)
Method Detail |
public int getRowCount()
public int getColumnCount()
public java.lang.String getColumnName(int col)
col
- index of requested columnpublic java.lang.Object getValueAt(int row, int column)
row
- rownumber of requested itemcolumn
- column index of requested itempublic void setValueAt(java.lang.Object value, int row, int col)
value
- value of new cell in Objectrow
- rownumber of modified cellcol
- column index of modified columnpublic void deleteRow(int row)
row
- number of removed rowpublic void insertRow(java.lang.Object[] row)
row
- New row added to tablepublic java.lang.Object[] getRowAt(int index)
index
- index of requested rowpublic void setRow(java.lang.String name, java.lang.String version, int index)
name
- Groups nameversion
- Groups version
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |