|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.swing.table.AbstractTableModel
org.openrdf.sesame.config.ui.XTableModel
WRITEME
| Constructor Summary | |
XTableModel(SystemConfig config,
ColumnData[] columns)
Creates a new XTableModel having the specified columns. |
|
| Method Summary | |
void |
addNewRow(int rowIdx)
Adds a new row at the supplied row index |
int |
getColumnAlignment(int column)
|
int |
getColumnCount()
|
String |
getColumnName(int column)
|
int |
getColumnWidth(int column)
|
abstract int |
getIdentifyingColumn()
Gets the index of the identifying column. |
int |
getRowCount()
|
int |
getRowIndex(String rowID)
Gets the index of the row having the specified value as its identifier. |
boolean |
isCellEditable(int row,
int column)
By default every cell in an XTableModel is editable. |
void |
removeNewRow()
Removes the new row |
boolean |
rowIsNew(int rowIdx)
Checks if the row at the supplied row index is new. |
boolean |
valueIsNew(int row,
int column)
Checks if the value at the supplied row and column index is new. |
| 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 |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.openrdf.sesame.config.SystemConfigListener |
configurationChanged |
| Methods inherited from interface javax.swing.table.TableModel |
getValueAt |
| Constructor Detail |
public XTableModel(SystemConfig config,
ColumnData[] columns)
| Method Detail |
public boolean isCellEditable(int row,
int column)
isCellEditable in interface TableModelpublic int getColumnCount()
getColumnCount in interface TableModelpublic String getColumnName(int column)
getColumnName in interface TableModelpublic int getColumnWidth(int column)
public int getColumnAlignment(int column)
public abstract int getIdentifyingColumn()
public int getRowCount()
getRowCount in interface TableModelpublic int getRowIndex(String rowID)
rowID - A value for the identifying column in the table.
public void addNewRow(int rowIdx)
rowIdx - The index of the new row in the table.public void removeNewRow()
public boolean rowIsNew(int rowIdx)
rowIdx - An row index.
public boolean valueIsNew(int row,
int column)
row - Row indexcolumn - Column index
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||