org.jivesoftware.spark.ui
Class ContactGroupTransferHandler
java.lang.Object
javax.swing.TransferHandler
org.jivesoftware.spark.ui.ContactGroupTransferHandler
- All Implemented Interfaces:
- java.io.Serializable
public class ContactGroupTransferHandler
- extends javax.swing.TransferHandler
- See Also:
- Serialized Form
Fields inherited from class javax.swing.TransferHandler |
COPY, COPY_OR_MOVE, MOVE, NONE |
Methods inherited from class javax.swing.TransferHandler |
exportAsDrag, exportToClipboard, getCopyAction, getCutAction, getPasteAction, getVisualRepresentation |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContactGroupTransferHandler
public ContactGroupTransferHandler()
getSourceActions
public int getSourceActions(javax.swing.JComponent c)
- Overrides:
getSourceActions
in class javax.swing.TransferHandler
canImport
public boolean canImport(javax.swing.JComponent comp,
java.awt.datatransfer.DataFlavor[] flavor)
- Overrides:
canImport
in class javax.swing.TransferHandler
exportDone
protected void exportDone(javax.swing.JComponent c,
java.awt.datatransfer.Transferable data,
int action)
- Overrides:
exportDone
in class javax.swing.TransferHandler
createTransferable
public java.awt.datatransfer.Transferable createTransferable(javax.swing.JComponent comp)
- Overrides:
createTransferable
in class javax.swing.TransferHandler
importData
public boolean importData(javax.swing.JComponent comp,
java.awt.datatransfer.Transferable t)
- Overrides:
importData
in class javax.swing.TransferHandler
removeContactItem
public boolean removeContactItem(ContactGroup contactGroup,
ContactItem item)