]> source.dussan.org Git - vaadin-framework.git/commitdiff
Move widget classes from c.v.c.ui.<widget> to c.v.c.ui (#9392) - fix 61/261/1
authorHenri Sara <hesara@vaadin.com>
Wed, 14 Nov 2012 07:23:53 +0000 (09:23 +0200)
committerHenri Sara <hesara@vaadin.com>
Wed, 14 Nov 2012 07:23:53 +0000 (09:23 +0200)
native javascript methods

Change-Id: Ib307c7eb0568690f9eaf59ce0bf039fe82634547

client/src/com/vaadin/client/ui/VCustomLayout.java
client/src/com/vaadin/client/ui/VDragAndDropWrapper.java
client/src/com/vaadin/client/ui/VDragAndDropWrapperIE.java
client/src/com/vaadin/client/ui/VTextField.java
client/src/com/vaadin/client/ui/VVideo.java
client/src/com/vaadin/client/ui/upload/UploadIFrameOnloadStrategy.java
client/src/com/vaadin/client/ui/upload/UploadIFrameOnloadStrategyIE.java

index aae82556a48ea8d4923f3c11895ddb722f42ac94..5882f0bb37d218eb650fe4a278b6634cd412e393 100644 (file)
@@ -398,7 +398,7 @@ public class VCustomLayout extends ComplexPanel {
     /*-{
        var self = this;
        element.notifyChildrenOfSizeChange = $entry(function() {
-               self.@com.vaadin.client.ui.customlayout.VCustomLayout::notifyChildrenOfSizeChange()();
+               self.@com.vaadin.client.ui.VCustomLayout::notifyChildrenOfSizeChange()();
        });
     }-*/;
 
index af728b37970a73ce5b944e1c39d006ab6c2ef193..6542aa68a3c322134ec6d011524ce6bda8750169 100644 (file)
@@ -530,7 +530,7 @@ public class VDragAndDropWrapper extends VCustomComponent implements
     /*-{
         var me = this;
         el.addEventListener("dragstart",  $entry(function(ev) {
-            return me.@com.vaadin.client.ui.draganddropwrapper.VDragAndDropWrapper::html5DragStart(Lcom/vaadin/client/ui/dd/VHtml5DragEvent;)(ev);
+            return me.@com.vaadin.client.ui.VDragAndDropWrapper::html5DragStart(Lcom/vaadin/client/ui/dd/VHtml5DragEvent;)(ev);
         }), false);
     }-*/;
 
@@ -544,19 +544,19 @@ public class VDragAndDropWrapper extends VCustomComponent implements
             var me = this;
 
             el.addEventListener("dragenter",  $entry(function(ev) {
-                return me.@com.vaadin.client.ui.draganddropwrapper.VDragAndDropWrapper::html5DragEnter(Lcom/vaadin/client/ui/dd/VHtml5DragEvent;)(ev);
+                return me.@com.vaadin.client.ui.VDragAndDropWrapper::html5DragEnter(Lcom/vaadin/client/ui/dd/VHtml5DragEvent;)(ev);
             }), false);
 
             el.addEventListener("dragleave",  $entry(function(ev) {
-                return me.@com.vaadin.client.ui.draganddropwrapper.VDragAndDropWrapper::html5DragLeave(Lcom/vaadin/client/ui/dd/VHtml5DragEvent;)(ev);
+                return me.@com.vaadin.client.ui.VDragAndDropWrapper::html5DragLeave(Lcom/vaadin/client/ui/dd/VHtml5DragEvent;)(ev);
             }), false);
 
             el.addEventListener("dragover",  $entry(function(ev) {
-                return me.@com.vaadin.client.ui.draganddropwrapper.VDragAndDropWrapper::html5DragOver(Lcom/vaadin/client/ui/dd/VHtml5DragEvent;)(ev);
+                return me.@com.vaadin.client.ui.VDragAndDropWrapper::html5DragOver(Lcom/vaadin/client/ui/dd/VHtml5DragEvent;)(ev);
             }), false);
 
             el.addEventListener("drop",  $entry(function(ev) {
-                return me.@com.vaadin.client.ui.draganddropwrapper.VDragAndDropWrapper::html5DragDrop(Lcom/vaadin/client/ui/dd/VHtml5DragEvent;)(ev);
+                return me.@com.vaadin.client.ui.VDragAndDropWrapper::html5DragDrop(Lcom/vaadin/client/ui/dd/VHtml5DragEvent;)(ev);
             }), false);
     }-*/;
 
index 8dcd64a6585e6bf6d5891dea7f6f675cd2c900ba..c125568f25a302a44bbffe0970518cb7b3aa95d9 100644 (file)
@@ -52,7 +52,7 @@ public class VDragAndDropWrapperIE extends VDragAndDropWrapper {
         var me = this;
 
         el.attachEvent("ondragstart",  $entry(function(ev) {
-            return me.@com.vaadin.client.ui.draganddropwrapper.VDragAndDropWrapper::html5DragStart(Lcom/vaadin/client/ui/dd/VHtml5DragEvent;)(ev);
+            return me.@com.vaadin.client.ui.VDragAndDropWrapper::html5DragStart(Lcom/vaadin/client/ui/dd/VHtml5DragEvent;)(ev);
         }));
     }-*/;
 
@@ -62,19 +62,19 @@ public class VDragAndDropWrapperIE extends VDragAndDropWrapper {
         var me = this;
 
         el.attachEvent("ondragenter",  $entry(function(ev) {
-            return me.@com.vaadin.client.ui.draganddropwrapper.VDragAndDropWrapper::html5DragEnter(Lcom/vaadin/client/ui/dd/VHtml5DragEvent;)(ev);
+            return me.@com.vaadin.client.ui.VDragAndDropWrapper::html5DragEnter(Lcom/vaadin/client/ui/dd/VHtml5DragEvent;)(ev);
         }));
 
         el.attachEvent("ondragleave",  $entry(function(ev) {
-            return me.@com.vaadin.client.ui.draganddropwrapper.VDragAndDropWrapper::html5DragLeave(Lcom/vaadin/client/ui/dd/VHtml5DragEvent;)(ev);
+            return me.@com.vaadin.client.ui.VDragAndDropWrapper::html5DragLeave(Lcom/vaadin/client/ui/dd/VHtml5DragEvent;)(ev);
         }));
 
         el.attachEvent("ondragover",  $entry(function(ev) {
-            return me.@com.vaadin.client.ui.draganddropwrapper.VDragAndDropWrapper::html5DragOver(Lcom/vaadin/client/ui/dd/VHtml5DragEvent;)(ev);
+            return me.@com.vaadin.client.ui.VDragAndDropWrapper::html5DragOver(Lcom/vaadin/client/ui/dd/VHtml5DragEvent;)(ev);
         }));
 
         el.attachEvent("ondrop",  $entry(function(ev) {
-            return me.@com.vaadin.client.ui.draganddropwrapper.VDragAndDropWrapper::html5DragDrop(Lcom/vaadin/client/ui/dd/VHtml5DragEvent;)(ev);
+            return me.@com.vaadin.client.ui.VDragAndDropWrapper::html5DragDrop(Lcom/vaadin/client/ui/dd/VHtml5DragEvent;)(ev);
         }));
     }-*/;
 
index f757b177f3f143571ba6ebd92803954bbe4e154b..3cec1ab3e003d68fb88a8dd1044f7a88f16305cb 100644 (file)
@@ -244,7 +244,7 @@ public class VTextField extends TextBoxBase implements Field, ChangeHandler,
     /*-{
         var me = this;
         el.oncut = $entry(function() {
-            me.@com.vaadin.client.ui.textfield.VTextField::onCut()();
+            me.@com.vaadin.client.ui.VTextField::onCut()();
         });
     }-*/;
 
index 754af8658f3156cd1dd4db6503b1bfabfcbb6b3e..e72e43bd3c9fb88544062b628e3c35efa5c716cf 100644 (file)
@@ -46,7 +46,7 @@ public class VVideo extends VMediaBase {
     /*-{
               var self = this;
               el.addEventListener('loadedmetadata', $entry(function(e) {
-                  self.@com.vaadin.client.ui.video.VVideo::updateElementDynamicSize(II)(el.videoWidth, el.videoHeight);
+                  self.@com.vaadin.client.ui.VVideo::updateElementDynamicSize(II)(el.videoWidth, el.videoHeight);
               }), false);
 
     }-*/;
index 4ce50e71331891d2c22897bd5b578e85020c5382..99be2863942c55ea6b41d6cc30a9bf61f2c53067 100644 (file)
@@ -23,7 +23,7 @@ public class UploadIFrameOnloadStrategy {
             VUpload upload)
     /*-{
         iframe.onload = $entry(function() {
-            upload.@com.vaadin.client.ui.upload.VUpload::onSubmitComplete()();
+            upload.@com.vaadin.client.ui.VUpload::onSubmitComplete()();
         });
     }-*/;
 
index cdbc41be9381d689adfc0edc60fead6ab43a3122..a47f9c4f76edf0c204741e6f15e41673ad70af2d 100644 (file)
@@ -28,7 +28,7 @@ public class UploadIFrameOnloadStrategyIE extends UploadIFrameOnloadStrategy {
     /*-{
       iframe.onreadystatechange = $entry(function() {
         if (iframe.readyState == 'complete') {
-          upload.@com.vaadin.client.ui.upload.VUpload::onSubmitComplete()();
+          upload.@com.vaadin.client.ui.VUpload::onSubmitComplete()();
         }
       });
     }-*/;