public class FileSelection extends Vector implements Transferable
| Modifier and Type | Field and Description |
|---|---|
static DataFlavor |
FILE_SELECTION_FLAVOR |
capacityIncrement, elementCount, elementDatamodCount| Constructor and Description |
|---|
FileSelection() |
| Modifier and Type | Method and Description |
|---|---|
Object |
getTransferData(DataFlavor flavor)
If the data was requested in the "java.lang.String" flavor, return the
String representing the selection.
|
DataFlavor[] |
getTransferDataFlavors() |
boolean |
isDataFlavorSupported(DataFlavor flavor) |
String |
toString() |
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, forEach, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, iterator, lastElement, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeIf, removeRange, replaceAll, retainAll, set, setElementAt, setSize, size, sort, spliterator, subList, toArray, toArray, trimToSizefinalize, getClass, notify, notifyAll, wait, wait, waitparallelStream, streampublic static DataFlavor FILE_SELECTION_FLAVOR
public DataFlavor[] getTransferDataFlavors()
getTransferDataFlavors in interface Transferablepublic boolean isDataFlavorSupported(DataFlavor flavor)
isDataFlavorSupported in interface Transferablepublic Object getTransferData(DataFlavor flavor) throws UnsupportedFlavorException, IOException
getTransferData in interface TransferableUnsupportedFlavorExceptionIOExceptionCopyright © 2021. All rights reserved.