insensa.view
Class TreeTestTransferHandler

java.lang.Object
  extended by javax.swing.TransferHandler
      extended by insensa.view.TreeTestTransferHandler
All Implemented Interfaces:
java.io.Serializable

public class TreeTestTransferHandler
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
private  CModel model
           
private static long serialVersionUID
           
private  CView view
           
 
Fields inherited from class javax.swing.TransferHandler
COPY, COPY_OR_MOVE, LINK, MOVE, NONE
 
Constructor Summary
TreeTestTransferHandler(CView view, CModel model)
           
 
Method Summary
 boolean canImport(javax.swing.TransferHandler.TransferSupport support)
           
protected  java.awt.datatransfer.Transferable createTransferable(javax.swing.JComponent c)
           
 void drop(java.awt.Point dropLocation, int dndMode)
           
 int getSourceActions(javax.swing.JComponent c)
           
 boolean importData(javax.swing.TransferHandler.TransferSupport support)
           
 
Methods inherited from class javax.swing.TransferHandler
canImport, 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
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

view

private CView view

model

private CModel model
Constructor Detail

TreeTestTransferHandler

public TreeTestTransferHandler(CView view,
                               CModel model)
Parameters:
insensa.view -
model -
Method Detail

canImport

public boolean canImport(javax.swing.TransferHandler.TransferSupport support)
Overrides:
canImport in class javax.swing.TransferHandler
See Also:
TransferHandler.canImport(javax.swing.TransferHandler.TransferSupport)

createTransferable

protected java.awt.datatransfer.Transferable createTransferable(javax.swing.JComponent c)
Overrides:
createTransferable in class javax.swing.TransferHandler
See Also:
TransferHandler.createTransferable(javax.swing.JComponent)

drop

public void drop(java.awt.Point dropLocation,
                 int dndMode)
Parameters:
dropLocation -
dndMode -

getSourceActions

public int getSourceActions(javax.swing.JComponent c)
Overrides:
getSourceActions in class javax.swing.TransferHandler
See Also:
TransferHandler.getSourceActions(javax.swing.JComponent)

importData

public boolean importData(javax.swing.TransferHandler.TransferSupport support)
Overrides:
importData in class javax.swing.TransferHandler
See Also:
TransferHandler.importData(javax.swing.TransferHandler.TransferSupport)