insensa.view
Class TreeTestTransferHandler
java.lang.Object
javax.swing.TransferHandler
insensa.view.TreeTestTransferHandler
- All Implemented Interfaces:
- java.io.Serializable
public class TreeTestTransferHandler
- extends javax.swing.TransferHandler
- See Also:
- Serialized Form
Nested classes/interfaces inherited from class javax.swing.TransferHandler |
javax.swing.TransferHandler.DropLocation, javax.swing.TransferHandler.TransferSupport |
Fields inherited from class javax.swing.TransferHandler |
COPY, COPY_OR_MOVE, LINK, MOVE, NONE |
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 |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
view
private CView view
model
private CModel model
TreeTestTransferHandler
public TreeTestTransferHandler(CView view,
CModel model)
- Parameters:
insensa.view
- model
-
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)