Java 类com.google.gwt.dom.client.DataTransfer 实例源码

项目:Peergos    文件:DesktopTaskEditView.java   
/**
 * Handles "drag-start" events inside the element named "root".
*/
@UiHandler({"root"})
void onDragStart(DragStartEvent event, Element parent, Context context) {
  // Save the ID of the TaskProxy.
  DataTransfer dataTransfer = event.getDataTransfer();
  dataTransfer.setData("text", String.valueOf(context.getIndex()));

  // Set the image.
  dataTransfer.setDragImage(parent, 25, 15);
}
项目:swarm    文件:DesktopTaskEditView.java   
/**
 * Handles "drag-start" events inside the element named "root".
*/
@UiHandler({"root"})
void onDragStart(DragStartEvent event, Element parent, Context context) {
  // Save the ID of the TaskProxy.
  DataTransfer dataTransfer = event.getDataTransfer();
  dataTransfer.setData("text", String.valueOf(context.getIndex()));

  // Set the image.
  dataTransfer.setDragImage(parent, 25, 15);
}
项目:empiria.player    文件:DropEventsHandlerWrapper.java   
@Override
public DataTransfer getDataTransfer() {
    return setGetData.getDataTransfer();
}
项目:empiria.player    文件:DropEventsHandlerWrapper.java   
@Override
public DataTransfer getDataTransfer() {
    return setGetData.getDataTransfer();
}
项目:empiria.player    文件:DropEventsHandlerWrapper.java   
@Override
public DataTransfer getDataTransfer() {
    return setGetData.getDataTransfer();
}
项目:empiria.player    文件:DropEventsHandlerWrapper.java   
@Override
public DataTransfer getDataTransfer() {
    return setGetData.getDataTransfer();
}
项目:empiria.player    文件:DragStartEndHandlerWrapper.java   
@Override
public DataTransfer getDataTransfer() {
    return wrapper.getDataTransfer();
}
项目:empiria.player    文件:DragStartEndHandlerWrapper.java   
@Override
public DataTransfer getDataTransfer() {
    return wrapper.getDataTransfer();
}
项目:empiria.player    文件:AbstractHTML5DragDropWrapper.java   
@Override
public DataTransfer getDataTransfer() {
    return getDataTransfer(this);
}
项目:hexa.tools    文件:DragUtils.java   
public static native void setDropEffect( DataTransfer dataTransfer, String effect )
/*-{
    dataTransfer.dropEffect = effect;
}-*/;
项目:Cubee    文件:DragStartEventArgs.java   
public DataTransfer getDataTransfer() {
    return event.getDataTransfer();
}
项目:Cubee    文件:DragEnterEventArgs.java   
public DataTransfer getDataTransfer() {
    return event.getDataTransfer();
}
项目:Cubee    文件:DragLeaveEventArgs.java   
public DataTransfer getDataTransfer() {
    return event.getDataTransfer();
}
项目:Cubee    文件:DragEventArgs.java   
public DataTransfer getDataTransfer() {
    return event.getDataTransfer();
}
项目:Cubee    文件:DropEventArgs.java   
public DataTransfer getDataTransfer() {
    return event.getDataTransfer();
}
项目:Cubee    文件:DragEndEventArgs.java   
public DataTransfer getDataTransfer() {
    return event.getDataTransfer();
}
项目:Cubee    文件:DragOverEventArgs.java   
public DataTransfer getDataTransfer() {
    return event.getDataTransfer();
}
项目:empiria.player    文件:DragDropSetGetData.java   
public DataTransfer getDataTransfer();