|
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.util.swing.ExtendedTransferHandler.SelectedTextTransferable
public class ExtendedTransferHandler.SelectedTextTransferable
Transferable for text pane components that enables drag and drop of text.
| Constructor Summary | |
|---|---|
ExtendedTransferHandler.SelectedTextTransferable(JTextComponent component)
Creates an instance of SelectedTextTransferable. |
|
| Method Summary | |
|---|---|
Object |
getTransferData(DataFlavor flavor)
Returns the selected text. |
DataFlavor[] |
getTransferDataFlavors()
Returns supported flavors. |
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 ExtendedTransferHandler.SelectedTextTransferable(JTextComponent component)
component - the text component| 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
IOException - if the data is no longer available in the
requested flavor.
UnsupportedFlavorException - if the requested data flavor
is not supported.
|
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 | |||||||||