public abstract class CustomLocalTransfer<T> extends TypedTransfer<T> implements Box<T>
| Modifier | Constructor and Description |
|---|---|
protected |
CustomLocalTransfer() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canSetValue(T value) |
T |
get() |
protected int[] |
getTypeIds() |
protected String[] |
getTypeNames() |
T |
getValue(DropTargetEvent e)
Returns the underlying value.
|
void |
javaToNative(Object object,
TransferData transferData) |
Object |
nativeToJava(TransferData transferData) |
void |
set(T value) |
void |
setValue(DragSourceEvent e,
T value)
Sets the underlying value.
|
canSetValueNonnull, mapDrag, mapDropgetSupportedTypes, isSupportedTyperegisterType, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprotected int[] getTypeIds()
getTypeIds in class Transferprotected String[] getTypeNames()
getTypeNames in class Transferpublic void javaToNative(Object object, TransferData transferData)
javaToNative in class ByteArrayTransferpublic Object nativeToJava(TransferData transferData)
nativeToJava in class ByteArrayTransferprotected final boolean canSetValue(@Nullable T value)
canSetValue in class TypedTransfer<T>public T getValue(DropTargetEvent e)
getValue in class TypedTransfer<T>public void setValue(DragSourceEvent e, T value)
setValue in class TypedTransfer<T>