|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
public interface InsertRowInterface
Interface for inserting rows to a table. A row can be inserted in the table or extended on the table. If extended then the row will be inserted at the default location (usually the end of the table).
| Field Summary | |
|---|---|
static int |
DEFAULT_INDEX
Default index constant. |
| Method Summary | |
|---|---|
void |
cancelUncommittedRow()
Removes the "fake" row from the model, effectively performing a cancel. |
void |
commitUncommittedRow()
Commits the data in the row to the underlying model. |
int |
getUncommittedRowNumber()
Returns the index of the "fake" row. |
void |
insertUncommittedRow(int row)
Adds a "fake" row to the table model at the specified location. |
boolean |
isRowInsertionAllowed()
Indicates whether rows can be inserted into the existing table. |
boolean |
isTableExtendOnly()
Indicates whether rows can only be inserted at the default location (usually at the end) of the existing table. |
boolean |
isUncommittedRowPresent()
Returns true if the "fake" row exists. |
| Field Detail |
|---|
static final int DEFAULT_INDEX
| Method Detail |
|---|
void insertUncommittedRow(int row)
throws com.sas.util.UncheckedException
row - The row to add the "fake" row before.
com.sas.util.UncheckedException - Provides a catch-all for all Exceptions.
void commitUncommittedRow()
throws com.sas.util.UncheckedException
com.sas.util.UncheckedException - Provides a catch-all for all Exceptions.
void cancelUncommittedRow()
throws com.sas.util.UncheckedException
com.sas.util.UncheckedException - Provides a catch-all for all Exceptions.boolean isUncommittedRowPresent()
int getUncommittedRowNumber()
boolean isRowInsertionAllowed()
boolean isTableExtendOnly()
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||