org.kabeja.ui.impl
Class DXFFileTransferHandler

java.lang.Object
  extended by javax.swing.TransferHandler
      extended by org.kabeja.ui.impl.DXFFileTransferHandler
All Implemented Interfaces:
java.io.Serializable

public class DXFFileTransferHandler
extends javax.swing.TransferHandler

See Also:
Serialized Form

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
 
Constructor Summary
DXFFileTransferHandler(ProcessingRunViewComponent c)
           
 
Method Summary
 boolean canImport(javax.swing.JComponent c, java.awt.datatransfer.DataFlavor[] flavors)
           
 int getSourceActions(javax.swing.JComponent c)
           
 boolean importData(javax.swing.JComponent c, java.awt.datatransfer.Transferable t)
           
 
Methods inherited from class javax.swing.TransferHandler
canImport, createTransferable, exportAsDrag, exportDone, exportToClipboard, getCopyAction, getCutAction, getPasteAction, getVisualRepresentation, importData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DXFFileTransferHandler

public DXFFileTransferHandler(ProcessingRunViewComponent c)
Method Detail

canImport

public boolean canImport(javax.swing.JComponent c,
                         java.awt.datatransfer.DataFlavor[] flavors)
Overrides:
canImport 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.JComponent c,
                          java.awt.datatransfer.Transferable t)
Overrides:
importData in class javax.swing.TransferHandler