Class PipelineTreeTransferHandler

java.lang.Object
javax.swing.TransferHandler
mgui.interfaces.pipelines.trees.PipelineTreeTransferHandler
All Implemented Interfaces:
java.io.Serializable

public class PipelineTreeTransferHandler
extends javax.swing.TransferHandler
implements java.io.Serializable
See Also:
Serialized Form
  • Nested Class Summary

    Nested Classes
    Modifier and Type Class Description
    static class  PipelineTreeTransferHandler.TransferType  

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

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

    Fields
    Modifier and Type Field Description
    protected static java.awt.datatransfer.DataFlavor pipeline_flavor  
    protected static java.awt.datatransfer.DataFlavor task_flavor  

    Fields inherited from class javax.swing.TransferHandler

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

    Constructors
    Constructor Description
    PipelineTreeTransferHandler()  
  • Method Summary

    Modifier and Type Method Description
    boolean canImport​(javax.swing.TransferHandler.TransferSupport info)  
    protected java.awt.datatransfer.Transferable createTransferable​(javax.swing.JComponent c)  
    protected void exportDone​(javax.swing.JComponent c, java.awt.datatransfer.Transferable data, int action)  
    int getSourceActions​(javax.swing.JComponent c)  
    boolean importData​(javax.swing.TransferHandler.TransferSupport info)  

    Methods inherited from class javax.swing.TransferHandler

    canImport, exportAsDrag, exportToClipboard, getCopyAction, getCutAction, getDragImage, getDragImageOffset, getPasteAction, getVisualRepresentation, importData, setDragImage, setDragImageOffset

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • pipeline_flavor

      protected static java.awt.datatransfer.DataFlavor pipeline_flavor
    • task_flavor

      protected static java.awt.datatransfer.DataFlavor task_flavor
  • Constructor Details

    • PipelineTreeTransferHandler

      public PipelineTreeTransferHandler()
  • Method Details

    • canImport

      public boolean canImport​(javax.swing.TransferHandler.TransferSupport info)
      Overrides:
      canImport in class javax.swing.TransferHandler
    • createTransferable

      protected java.awt.datatransfer.Transferable createTransferable​(javax.swing.JComponent c)
      Overrides:
      createTransferable in class javax.swing.TransferHandler
    • getSourceActions

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

      public boolean importData​(javax.swing.TransferHandler.TransferSupport info)
      Overrides:
      importData in class javax.swing.TransferHandler
    • exportDone

      protected void exportDone​(javax.swing.JComponent c, java.awt.datatransfer.Transferable data, int action)
      Overrides:
      exportDone in class javax.swing.TransferHandler