|
Oracle Fusion Middleware Java API Reference for Oracle ADF Faces 11g Release 1 (11.1.1) E10684-04 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.adf.view.rich.datatransfer.Transferable
public abstract class Transferable
Object representing a drag and drop, drop on the client
| Constructor Summary | |
|---|---|
protected |
Transferable() |
| Method Summary | ||
|---|---|---|
abstract void |
addTransferData(TransferData<?> transferData) |
|
|
getData(java.lang.Class<T> clazz)Returns any data for the specified Class, regardless of suitability rank, or null if this Transferable doesn't contain data with Class's DataFlavor, or if the value of the data is null. |
|
|
getData(DataFlavor<T> flavor)Returns any data for the specified DataFlavor, regardless of suitability rank, or null if this Transferable doesn't contain the DataFlavor or if the value of the data is null. |
|
java.util.List<TransferData<?>> |
getSuitableTransferData(java.util.Set<DataFlavor<?>> suitableDataFlavors)Given a Set of DataFlavors, returns a List of TransferDatas available in the Transferable in order from highest suitablity to lowest. |
|
abstract
|
getTransferData(DataFlavor<T> flavor)Returns any TransferData for the specified DataFlavor, regardless of suitability rank, or null if this Transferable doesn't contain the Transferable. |
|
boolean |
isDataFlavorSupported(DataFlavor<?> flavor)Returns true if the Transferable can return a TransferData for the specified DataFlavor. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected Transferable()
| Method Detail |
|---|
public boolean isDataFlavorSupported(DataFlavor<?> flavor)
true if the Transferable can return a TransferData for the specified DataFlavor.flavor - DataFlavor to check for.true if the Transferable contains a TransferData for this DataFlavor.getTransferData(oracle.adf.view.rich.datatransfer.DataFlavor<T>)public final <T> T getData(java.lang.Class<T> clazz)
Class, regardless of suitability rank, or null if this Transferable doesn't contain data with Class's DataFlavor, or if the value of the data is null.clazz - Class to retrieve the TransferData for.getSuitableTransferData(java.util.Set<oracle.adf.view.rich.datatransfer.DataFlavor>
>)public final <T> T getData(DataFlavor<T> flavor)
DataFlavor, regardless of suitability rank, or null if this Transferable doesn't contain the DataFlavor or if the value of the data is null.flavor - DataFlavor to retrieve the data for.getSuitableTransferData(java.util.Set<oracle.adf.view.rich.datatransfer.DataFlavor>
>)public abstract <T> TransferData<T> getTransferData(DataFlavor<T> flavor)
TransferData for the specified DataFlavor, regardless of suitability rank, or null if this Transferable doesn't contain the Transferable.flavor - DataFlavor to retrieve the TransferData for.TransferDatagetSuitableTransferData(java.util.Set<oracle.adf.view.rich.datatransfer.DataFlavor>
>)public final java.util.List<TransferData<?>> getSuitableTransferData(java.util.Set<DataFlavor<?>> suitableDataFlavors)
Set of DataFlavors, returns a List of TransferDatas available in the Transferable in order from highest suitablity to lowest.suitableDataFlavors - Set of DataFlavors the callers is willing to acceptList of TransferDatas available in the Transferable in order from highest suitablity to lowest.public abstract void addTransferData(TransferData<?> transferData)
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Faces 11g Release 1 (11.1.1) E10684-04 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||