コード例 #1
0
 Candidate(DropController dropController) {
   this.dropController = dropController;
   Widget target = dropController.getDropTarget();
   if (!target.isAttached()) {
     throw new IllegalStateException(
         "Unattached drop target. You must call DragController#unregisterDropController for all drop targets not attached to the DOM.");
   }
   targetArea = new WidgetArea(target, null);
 }
コード例 #2
0
 Widget getDropTarget() {
   return dropController.getDropTarget();
 }