Class TagTransferHandler

    • Method Detail

      • isTagNode

        protected boolean isTagNode​(java.lang.Object node)
      • exportToClipboard

        public void exportToClipboard​(javax.swing.JComponent comp,
                                      java.awt.datatransfer.Clipboard clip,
                                      int action)
                               throws java.lang.IllegalStateException
        Description copied from class: AbstractTreeTransferHandler
        Copied from super so that it calls createTransferableForCutCopy instead of the normal one.
        Overrides:
        exportToClipboard in class AbstractTreeTransferHandler
        Throws:
        java.lang.IllegalStateException
      • createTransferable

        public java.awt.datatransfer.Transferable createTransferable​(javax.swing.JComponent c,
                                                                     int action)
      • createTransferableForCutCopy

        protected java.awt.datatransfer.Transferable createTransferableForCutCopy​(javax.swing.tree.TreePath[] paths,
                                                                                  int action)
      • isAcceptableDropFlavor

        public boolean isAcceptableDropFlavor​(java.util.List<java.awt.datatransfer.DataFlavor> flavors)
      • importData

        public boolean importData​(javax.swing.JComponent comp,
                                  java.awt.datatransfer.Transferable t)
        Overrides:
        importData in class javax.swing.TransferHandler