|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.6.0) E13403-07 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ReorderableTableModel
TableModel that supports reordering of rows should implement this interface.
Method Summary | |
---|---|
void |
moveRow(int start,
int end,
int to)
Moves one or more rows from the inclusive range start to
end to the to position in the model. |
Method Detail |
---|
void moveRow(int start, int end, int to)
start
to
end
to the to
position in the model.
After the move, the row that was at index start
will be at index to
.
This method should also send a tableChanged
notification
message to all the listeners.
Examples of moves:1. moveRow(1,3,5); a|B|C|D|e|f|g|h|i|j|k - before a|e|f|g|h|B|C|D|i|j|k - after
2. moveRow(6,7,1); a|b|c|d|e|f|G|H|i|j|k - before a|G|H|b|c|d|e|f|i|j|k - after
start
- the starting row index to be movedend
- the ending row index to be movedto
- the destination of the rows to be moved
java.lang.ArrayIndexOutOfBoundsException
- if any of the elements
would be moved out of the table's range
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.6.0) E13403-07 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |