Class BasicErrorPaneUI.DetailsTransferHandler

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    BasicErrorPaneUI

    private static final class BasicErrorPaneUI.DetailsTransferHandler
    extends javax.swing.TransferHandler
    Returns the text as non-HTML in a COPY operation, and disabled CUT/PASTE operations for the Details pane.
    • Nested Class Summary

      • 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
      private javax.swing.text.JTextComponent details  
      • Fields inherited from class javax.swing.TransferHandler

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

      Constructors 
      Modifier Constructor Description
      private DetailsTransferHandler​(javax.swing.text.JTextComponent detailComponent)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.awt.datatransfer.Transferable createTransferable​(javax.swing.JComponent c)  
      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
    • Field Detail

      • details

        private javax.swing.text.JTextComponent details
    • Constructor Detail

      • DetailsTransferHandler

        private DetailsTransferHandler​(javax.swing.text.JTextComponent detailComponent)
    • Method Detail

      • 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