Interface SourceTransferHandler



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

      • getSourceActions

        int getSourceActions(JComponent c)
        Method from TransferHandler
        Parameters:
        c - the source component
        Returns:
        the actions available for this component.
      • createTransferable

        Transferable createTransferable(JComponent c)
        Method from TransferHandler
        Parameters:
        c - the component to create a transferable for.
        Returns:
        the Transferable instance.
      • exportDone

        void exportDone(JComponent c,
                        Transferable t,
                        int action)
        Method from TransferHandler
        Parameters:
        c - the source component.
        t - the Transferable instance.
        action - the action undertaken.