|
VdexReload 1.1.3 API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.table.AbstractTableModel
uk.ac.reload.editor.gui.ReloadAttributeEditor.AttributeTableModel
TableModel for the Attribute Table
Field Summary |
Fields inherited from class javax.swing.table.AbstractTableModel |
listenerList |
Constructor Summary | |
protected |
ReloadAttributeEditor.AttributeTableModel()
|
Method Summary | |
int |
getColumnCount()
Get the Column count |
java.lang.String |
getColumnName(int columnIndex)
Get the Column Name |
int |
getRowCount()
Return the amount of rows needed to display the number of Attributes as specified in the ReloadSchema. |
java.lang.Object |
getValueAt(int rowIndex,
int columnIndex)
Get the value of a cell in the table |
boolean |
isCellEditable(int rowIndex,
int columnIndex)
Is this cell editable? It is if it's in column 1 |
void |
setValueAt(java.lang.Object aValue,
int rowIndex,
int columnIndex)
The cell has been edited manually aValue will be a String that we need to put into the Attribute |
Methods inherited from class javax.swing.table.AbstractTableModel |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, removeTableModelListener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected ReloadAttributeEditor.AttributeTableModel()
Method Detail |
public void setValueAt(java.lang.Object aValue, int rowIndex, int columnIndex)
aValue
- a string that we need to put into the AttributerowIndex
- the row index of the cell we have to updatecolumnIndex
- the column index of the cell we have to updatepublic java.lang.Object getValueAt(int rowIndex, int columnIndex)
rowIndex
- the row index of the cell concernedcolumnIndex
- the column index of the cell concerned
public int getColumnCount()
public java.lang.String getColumnName(int columnIndex)
columnIndex
- the column index of the column concerned
public int getRowCount()
public boolean isCellEditable(int rowIndex, int columnIndex)
|
VdexReload 1.1.3 API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |