diff options
-rw-r--r-- | src/com/itmill/toolkit/ui/OrderedLayout.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/com/itmill/toolkit/ui/OrderedLayout.java b/src/com/itmill/toolkit/ui/OrderedLayout.java index b197f60de6..e95c490ee1 100644 --- a/src/com/itmill/toolkit/ui/OrderedLayout.java +++ b/src/com/itmill/toolkit/ui/OrderedLayout.java @@ -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) { |