|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jidesoft.database.ResultSetTableModelCrudSupport
public class ResultSetTableModelCrudSupport
Constructor Summary | |
---|---|
ResultSetTableModelCrudSupport(ResultSetTableModel rs)
|
Method Summary | |
---|---|
protected Record |
createRowRecord()
|
void |
deleteRow(int rowIndex)
Delete data of a designated row. |
ResultSetTableModel |
getResultSetTableModel()
|
void |
insertRow(Record record)
Add a row to the table model. |
Record |
readRow(int rowIndex)
Read data of a designated row. |
void |
setResultSetTableModel(ResultSetTableModel _resultsetTableModel)
|
void |
updateRow(int rowIndex,
Record record)
Update data of a designated row with data. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResultSetTableModelCrudSupport(ResultSetTableModel rs)
Method Detail |
---|
public ResultSetTableModel getResultSetTableModel()
public void setResultSetTableModel(ResultSetTableModel _resultsetTableModel)
public void insertRow(Record record) throws SQLException
CrudRowOperations
insertRow
in interface CrudRowOperations
record
- the data structure
SQLException
public Record readRow(int rowIndex) throws SQLException
CrudRowOperations
readRow
in interface CrudRowOperations
rowIndex
- the row index
SQLException
protected Record createRowRecord()
public void updateRow(int rowIndex, Record record) throws SQLException
CrudRowOperations
updateRow
in interface CrudRowOperations
rowIndex
- the row indexrecord
- the data array
SQLException
public void deleteRow(int rowIndex) throws SQLException
CrudRowOperations
deleteRow
in interface CrudRowOperations
rowIndex
- the row index
SQLException
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |