Home » openjdk-7 » javax » swing » text » [javadoc | source]
javax.swing.text
static class: JTextComponent.DefaultTransferHandler [javadoc | source]
java.lang.Object
   javax.swing.TransferHandler
      javax.swing.text.JTextComponent$DefaultTransferHandler

All Implemented Interfaces:
    UIResource, Serializable

A Simple TransferHandler that exports the data as a String, and imports the data from the String clipboard. This is only used if the UI hasn't supplied one, which would only happen if someone hasn't subclassed Basic.
Fields inherited from javax.swing.TransferHandler:
NONE,  COPY,  MOVE,  COPY_OR_MOVE,  LINK,  cutAction,  copyAction,  pasteAction
Method from javax.swing.text.JTextComponent$DefaultTransferHandler Summary:
canImport,   exportToClipboard,   getSourceActions,   importData
Methods from javax.swing.TransferHandler:
canImport,   canImport,   createTransferable,   exportAsDrag,   exportDone,   exportToClipboard,   getCopyAction,   getCutAction,   getDragImage,   getDragImageOffset,   getPasteAction,   getSourceActions,   getVisualRepresentation,   importData,   importData,   setDragImage,   setDragImageOffset
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.swing.text.JTextComponent$DefaultTransferHandler Detail:
 public boolean canImport(JComponent comp,
    DataFlavor[] transferFlavors) 
 public  void exportToClipboard(JComponent comp,
    Clipboard clipboard,
    int action) throws IllegalStateException 
 public int getSourceActions(JComponent c) 
 public boolean importData(JComponent comp,
    Transferable t)