Spec-Zone .ru
спецификации, руководства, описания, API
|
public class CustomTransfer
extends org.eclipse.swt.dnd.ByteArrayTransfer
Constructor and Description |
---|
CustomTransfer(java.lang.String name,
java.lang.String mime) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMime() |
java.lang.String |
getName() |
protected int[] |
getTypeIds() |
protected java.lang.String[] |
getTypeNames() |
void |
javaToNative(java.lang.Object object,
org.eclipse.swt.dnd.TransferData transferData) |
java.lang.Object |
nativeToJava(org.eclipse.swt.dnd.TransferData transferData) |
protected boolean |
validate(java.lang.Object object) |
public CustomTransfer(java.lang.String name, java.lang.String mime)
public java.lang.String getName()
public java.lang.String getMime()
public void javaToNative(java.lang.Object object, org.eclipse.swt.dnd.TransferData transferData)
javaToNative
in class org.eclipse.swt.dnd.ByteArrayTransfer
public java.lang.Object nativeToJava(org.eclipse.swt.dnd.TransferData transferData)
nativeToJava
in class org.eclipse.swt.dnd.ByteArrayTransfer
protected java.lang.String[] getTypeNames()
getTypeNames
in class org.eclipse.swt.dnd.Transfer
protected int[] getTypeIds()
getTypeIds
in class org.eclipse.swt.dnd.Transfer
protected boolean validate(java.lang.Object object)
validate
in class org.eclipse.swt.dnd.Transfer
Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. Use is subject to