com.alee.extended.drag
Class ImageDropHandler
java.lang.Object
javax.swing.TransferHandler
com.alee.extended.drag.ImageDropHandler
- All Implemented Interfaces:
- java.io.Serializable
public class ImageDropHandler
- extends javax.swing.TransferHandler
User: mgarin Date: 19.01.12 Time: 16:20
- 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 info)
|
protected boolean |
imagesImported(java.util.List<javax.swing.ImageIcon> images)
|
boolean |
importData(java.awt.datatransfer.Transferable t)
|
boolean |
importData(javax.swing.TransferHandler.TransferSupport info)
|
protected boolean |
isDropEnabled()
|
Methods inherited from class javax.swing.TransferHandler |
canImport, createTransferable, exportAsDrag, exportDone, exportToClipboard, getCopyAction, getCutAction, getPasteAction, getSourceActions, getVisualRepresentation, importData |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImageDropHandler
public ImageDropHandler()
canImport
public boolean canImport(javax.swing.TransferHandler.TransferSupport info)
- Overrides:
canImport
in class javax.swing.TransferHandler
importData
public boolean importData(javax.swing.TransferHandler.TransferSupport info)
- Overrides:
importData
in class javax.swing.TransferHandler
importData
public boolean importData(java.awt.datatransfer.Transferable t)
isDropEnabled
protected boolean isDropEnabled()
imagesImported
protected boolean imagesImported(java.util.List<javax.swing.ImageIcon> images)