public class CallTransferHandler extends ExtendedTransferHandler
ExtendedTransferHandler.SelectedTextTransferable
Modifier and Type | Field and Description |
---|---|
protected static java.awt.datatransfer.DataFlavor |
uiContactDataFlavor
The data flavor used when transferring UIContacts.
|
Constructor and Description |
---|
CallTransferHandler(Call call)
Initializes a new CallTransferHandler instance which is to
invite dropped callees to a telephony conference specified by a specific
Call which participates in it.
|
CallTransferHandler(CallConference callConference)
Initializes a new CallTransferHandler instance which is to
invite dropped callees to a specific CallConference.
|
Modifier and Type | Method and Description |
---|---|
boolean |
canImport(javax.swing.JComponent comp,
java.awt.datatransfer.DataFlavor[] flavor)
Indicates whether a component will accept an import of the given
set of data flavors prior to actually attempting to import it.
|
boolean |
importData(javax.swing.JComponent comp,
java.awt.datatransfer.Transferable t)
Handles transfers to the chat panel from the clip board or a
DND drop operation.
|
createTransferable, exportAsDrag, exportToClipboard, getSelectedTextFromComponent, getSourceActions, getVisualRepresentation
protected static final java.awt.datatransfer.DataFlavor uiContactDataFlavor
public CallTransferHandler(Call call)
call
- the Call which specifies the telephony conference to
which dropped callees are to be invitedpublic CallTransferHandler(CallConference callConference)
callConference
- the CallConference to which dropped
callees are to be invitedpublic boolean canImport(javax.swing.JComponent comp, java.awt.datatransfer.DataFlavor[] flavor)
canImport
in class ExtendedTransferHandler
comp
- componentflavor
- the data formats availablejava.lang.NullPointerException
- if support
is null
public boolean importData(javax.swing.JComponent comp, java.awt.datatransfer.Transferable t)
importData
in class javax.swing.TransferHandler
comp
- the component to receive the transfer;t
- the data to import
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.