wjhk.jupload2.gui
Class JUploadTransferHandler
java.lang.Object
javax.swing.TransferHandler
wjhk.jupload2.gui.JUploadTransferHandler
- All Implemented Interfaces:
- Serializable
class JUploadTransferHandler
- extends TransferHandler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fileListFlavor
DataFlavor fileListFlavor
uploadPanel
JUploadPanel uploadPanel
- The JUpload panel for this applet.
uploadPolicy
UploadPolicy uploadPolicy
- The current upload policy.
JUploadTransferHandler
public JUploadTransferHandler(UploadPolicy uploadPolicy,
JUploadPanel uploadPanel)
- The standard constructor.
- Parameters:
uploadPolicy
- The current uploadPolicyuploadPanel
- The JUploadPanel. Must given here, as this constructor
is called in the JUploadPanel construction. So the
uploadPolicy.getUploadPanel() returns null.
importData
public boolean importData(JComponent c,
Transferable t)
- Overrides:
importData
in class TransferHandler
- See Also:
TransferHandler.importData(javax.swing.JComponent,
java.awt.datatransfer.Transferable)
getSourceActions
public int getSourceActions(JComponent c)
- Overrides:
getSourceActions
in class TransferHandler
- See Also:
TransferHandler.getSourceActions(javax.swing.JComponent)
canImport
public boolean canImport(JComponent c,
DataFlavor[] flavors)
- Overrides:
canImport
in class TransferHandler
- See Also:
TransferHandler.canImport(javax.swing.JComponent,
java.awt.datatransfer.DataFlavor[])