]> source.dussan.org Git - vaadin-framework.git/commitdiff
Added @deprecated to OrderedLayout constructors so it is easier for developers to...
authorArtur Signell <artur.signell@itmill.com>
Wed, 21 Jan 2009 13:14:21 +0000 (13:14 +0000)
committerArtur Signell <artur.signell@itmill.com>
Wed, 21 Jan 2009 13:14:21 +0000 (13:14 +0000)
svn changeset:6608/svn branch:trunk

src/com/itmill/toolkit/ui/OrderedLayout.java

index b197f60de61d34c2991ece70e68e3f6810a0b831..e95c490ee154572ffd5eacc324339697b8c599e2 100644 (file)
@@ -40,7 +40,10 @@ public class OrderedLayout extends AbstractOrderedLayout {
     /**
      * Creates a new ordered layout. The order of the layout is
      * <code>ORIENTATION_VERTICAL</code>.
+     * 
+     * @deprecated Use VerticalLayout instead.
      */
+    @Deprecated
     public OrderedLayout() {
         this(ORIENTATION_VERTICAL);
     }
@@ -51,7 +54,10 @@ public class OrderedLayout extends AbstractOrderedLayout {
      * 
      * @param orientation
      *            the Orientation of the layout.
+     * 
+     * @deprecated Use VerticalLayout/HorizontalLayout instead.
      */
+    @Deprecated
     public OrderedLayout(int orientation) {
         this.orientation = orientation;
         if (orientation == ORIENTATION_VERTICAL) {