Package jmri.util.iharder.dnd


package jmri.util.iharder.dnd
  • Class
    Description
    An extension of JList that supports drag and drop to rearrange its contents and to move objects in and out of the list.
    At last an easy way to encapsulate your custom objects for dragging and dropping in your Java programs!
    Instead of passing your data directly to the TransferableObject constructor, you may want to know exactly when your data was received in case you need to remove it from its source (or do anyting else to it).
    This class makes it easy to drag and drop files from the operating system to a Java program.
    Implement this inner interface to listen for when uris are dropped.
     
    This is the event that is passed to the URIsDropped(...) method in your URIDropListener when URIs are dropped onto a registered drop target.
    When using the FileDrop package in its JavaBean form, this listener will receive events when files are dropped onto registered targets.