|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.apelon.beans.dts.plugin.transferable.AbstractTransferable
com.apelon.beans.dts.plugin.transferable.SubsetTransferable
public class SubsetTransferable
For transfer of Subset through Drag and Drop.
It supports these data flavors:
DTSDataFlavor.subsetFlavor)
DataFlavor.stringFlavor)
| Constructor Summary | |
|---|---|
SubsetTransferable(Subset subset)
Initializes with given Subset. |
|
| Method Summary | |
|---|---|
static DataFlavor |
getDataFlavor()
Deprecated. Use DTSDataFlavor.subsetFlavor instead |
Object |
getTransferData(DataFlavor flavor)
Returns the data for a given DataFlavor. |
void |
setStringValue(String stringValue)
Sets the String value for the String data flavor if the value should be other than subset name. |
| Methods inherited from class com.apelon.beans.dts.plugin.transferable.AbstractTransferable |
|---|
createConstant, getTransferDataFlavors, isDataFlavorSupported, setTransferDataFlavors |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SubsetTransferable(Subset subset)
Subset. The supported DataFlavors
are set. The string returned for String data flavor is set the name of the
subset.
| Method Detail |
|---|
public static DataFlavor getDataFlavor()
DTSDataFlavor.subsetFlavor instead
public void setStringValue(String stringValue)
stringValue - public Object getTransferData(DataFlavor flavor)
For Subset Data Flavor, the subset (Subset) of this Transferable is returned.
For String Data Flavor, the String value is retuned.
For other Data Flavor, the returned value is null
flavor - the requested flavor for the data
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||