]> source.dussan.org Git - vaadin-framework.git/commitdiff
#6823: more standard method names
authorMatti Tahvonen <matti.tahvonen@itmill.com>
Wed, 13 Apr 2011 12:56:06 +0000 (12:56 +0000)
committerMatti Tahvonen <matti.tahvonen@itmill.com>
Wed, 13 Apr 2011 12:56:06 +0000 (12:56 +0000)
svn changeset:18268/svn branch:6.6

src/com/vaadin/ui/DragAndDropWrapper.java

index aebdde975a4a6bcdd0d676f230be09a9e87ba85b..83aa6314c86950ecf1ab161753d3d7a84af5a27b 100644 (file)
@@ -126,16 +126,38 @@ public class DragAndDropWrapper extends CustomComponent implements DropTarget,
                     .deSerialize((String) getData("mouseEvent"));
         }
 
-        public VerticalDropLocation verticalDropLocation() {
+        /**
+         * @return a detail about the drags vertical position over the wrapper.
+         */
+        public VerticalDropLocation getVerticalDropLocation() {
             return VerticalDropLocation
                     .valueOf((String) getData("verticalLocation"));
         }
 
-        public HorizontalDropLocation horizontalDropLocation() {
+        /**
+         * @return a detail about the drags horizontal position over the wrapper.
+         */
+        public HorizontalDropLocation getHorizontalDropLocation() {
             return HorizontalDropLocation
                     .valueOf((String) getData("horizontalLocation"));
         }
 
+        /**
+         * @deprecated use {@link #getVerticalDropLocation()} instead
+         */
+        @Deprecated
+        public VerticalDropLocation verticalDropLocation() {
+            return getVerticalDropLocation();
+        }
+
+        /**
+         * @deprecated use {@link #getHorizontalDropLocation()} instead
+         */
+        @Deprecated
+        public HorizontalDropLocation horizontalDropLocation() {
+            return getHorizontalDropLocation();
+        }
+
     }
 
     public enum DragStartMode {