Class BasicXListUI.ListTransferHandler

  • All Implemented Interfaces:
    java.io.Serializable, javax.swing.plaf.UIResource
    Enclosing class:
    BasicXListUI

    static class BasicXListUI.ListTransferHandler
    extends javax.swing.TransferHandler
    implements javax.swing.plaf.UIResource
    • Nested Class Summary

      • Nested classes/interfaces inherited from class javax.swing.TransferHandler

        javax.swing.TransferHandler.DropLocation, javax.swing.TransferHandler.TransferSupport
    • Field Summary

      • Fields inherited from class javax.swing.TransferHandler

        COPY, COPY_OR_MOVE, LINK, MOVE, NONE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.awt.datatransfer.Transferable createTransferable​(javax.swing.JComponent c)
      Create a Transferable to use as the source for a data transfer.
      int getSourceActions​(javax.swing.JComponent c)  
      • Methods inherited from class javax.swing.TransferHandler

        canImport, canImport, exportAsDrag, exportDone, exportToClipboard, getCopyAction, getCutAction, getDragImage, getDragImageOffset, getPasteAction, getVisualRepresentation, importData, importData, setDragImage, setDragImageOffset
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ListTransferHandler

        ListTransferHandler()
    • Method Detail

      • createTransferable

        protected java.awt.datatransfer.Transferable createTransferable​(javax.swing.JComponent c)
        Create a Transferable to use as the source for a data transfer.
        Overrides:
        createTransferable in class javax.swing.TransferHandler
        Parameters:
        c - The component holding the data to be transfered. This argument is provided to enable sharing of TransferHandlers by multiple components.
        Returns:
        The representation of the data to be transfered.
      • getSourceActions

        public int getSourceActions​(javax.swing.JComponent c)
        Overrides:
        getSourceActions in class javax.swing.TransferHandler