Class ListIndexTransferHandler

java.lang.Object
javax.swing.TransferHandler
org.jjazz.uiutilities.api.ListIndexTransferHandler
All Implemented Interfaces:
Serializable

public class ListIndexTransferHandler extends TransferHandler
A TransferHandler to reorder items in a DefaultListModel.

This differs from a typical TransferHandler which normally transfers the data. This handler transfers the "indexes" of the items to be moved. This approach should work for any Object that is contained in the ListModel. Copied from Stackoverflow.

See Also: