
Moves one or more rows from the inclusive range
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 will 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
Parameters:
-
start - the starting row index to be moved
-
end - the ending row index to be moved
-
to - the destination of the rows to be moved
Throws:
-
ArrayIndexOutOfBoundsException - if any of the elements
would be moved out of the table's range