Interface DestinationTransferHandler



  • public interface DestinationTransferHandler
    An interface that should be implemented to design a destination for drag operations.
    • Method Detail

      • canImport

        boolean canImport(TransferHandler.TransferSupport ts)
        Method from TransferHandler
        Parameters:
        ts - the TransferSupport this drag is about.
        Returns:
        whether an import is possible.
      • importData

        boolean importData(TransferHandler.TransferSupport ts)
        Method from TransferHandler
        Parameters:
        ts - the TransferSupport this drag is about.
        Returns:
        whether the data has been successfully imported.