|
Copyright © 2005 Scientific Applications. All Rights Reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ReorderModel
The ReorderModel interface defines methods that will be used by TableModels in order to indicate how the rows of the table have been reordered after some manipulation occurs.
Method Summary | |
---|---|
void |
addReorderListener(ReorderListener l)
Adds a ReorderListener that is notified each time a change to the data model occurs so that the table updates the selected rows accordingly. |
void |
fireRowsMapped(int[] changedIndices)
Notifies listeners that the rows of the table have been reordered according to the changedIndices map. |
void |
fireRowsReordered(ReorderEvent e)
Notifies listeners that the rows of the table have been reordered in some way. |
void |
removeReorderListener(ReorderListener l)
Removes a listener from the list that is notified each time a reorder event is generated. |
Method Detail |
---|
void addReorderListener(ReorderListener l)
l
- the ReorderListenervoid removeReorderListener(ReorderListener l)
l
- the RearrangeListenervoid fireRowsMapped(int[] changedIndices)
changedIndices
- int array indicating how the rows have been reordered.ReorderEvent
void fireRowsReordered(ReorderEvent e)
e
- the reorder event.ReorderEvent
|
Copyright © 2005 Scientific Applications. All Rights Reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |