fr.ifremer.isisfish.ui.script.model
Class ScriptTransferHandler
java.lang.Object
javax.swing.TransferHandler
fr.ifremer.isisfish.ui.script.model.ScriptTransferHandler
- All Implemented Interfaces:
- Serializable
public class ScriptTransferHandler
- extends TransferHandler
Transfer handler used to transfer tasks in table.
- Version:
- $Revision: 3393 $
Last update : $Date: 2011-06-14 19:43:37 +0200 (Tue, 14 Jun 2011) $ By : $Author: chatellier $
- Author:
- chatellier
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
scriptUI
protected ScriptUI scriptUI
ScriptTransferHandler
public ScriptTransferHandler(ScriptUI scriptUI)
- Constructor.
- Parameters:
scriptUI - scriptUI
canImport
public boolean canImport(JComponent cp,
DataFlavor[] df)
- Overrides:
canImport in class TransferHandler
importData
public boolean importData(JComponent component,
Transferable transferable)
- Overrides:
importData in class TransferHandler
createTransferable
protected Transferable createTransferable(JComponent cp)
- Get selected task in tree, and build Transferable object for it.
- Overrides:
createTransferable in class TransferHandler
- Parameters:
cp - component
- Returns:
- transferable instance for selected task
exportDone
protected void exportDone(JComponent cp,
Transferable transferable,
int type)
- Overrides:
exportDone in class TransferHandler
getSourceActions
public int getSourceActions(JComponent component)
- Overrides:
getSourceActions in class TransferHandler
Copyright © 1999-2012 CodeLutin. All Rights Reserved.