|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.impl.gui.main.contactlist.ContactListTransferHandler.ContactListTransferable
public class ContactListTransferHandler.ContactListTransferable
Transferable for JList that enables drag and drop of contacts.
| Constructor Summary | |
|---|---|
ContactListTransferHandler.ContactListTransferable(int index,
Object o)
Creates an instance of ContactListTransferable. |
|
| Method Summary | |
|---|---|
Object |
getTransferData(DataFlavor flavor)
Returns the selected text. |
DataFlavor[] |
getTransferDataFlavors()
Returns supported flavors. |
int |
getTransferIndex()
Returns the index of the transferred list cell. |
boolean |
isDataFlavorSupported(DataFlavor flavor)
Returns true if the given flavor is supported, otherwise returns false. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ContactListTransferHandler.ContactListTransferable(int index,
Object o)
index - the index of the transferred object in the listo - the transferred list object| Method Detail |
|---|
public DataFlavor[] getTransferDataFlavors()
getTransferDataFlavors in interface Transferablepublic boolean isDataFlavorSupported(DataFlavor flavor)
isDataFlavorSupported in interface Transferableflavor - the data flavor to verify
public Object getTransferData(DataFlavor flavor)
throws UnsupportedFlavorException,
IOException
getTransferData in interface Transferableflavor - the flavor
UnsupportedFlavorException - if the requested data flavor
is not supported.
IOException - if the data is no longer available in the
requested flavor.public int getTransferIndex()
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||