]> source.dussan.org Git - vaadin-framework.git/commitdiff
setWidth/Height now method in Sizeable
authorMatti Tahvonen <matti.tahvonen@itmill.com>
Mon, 28 Jan 2008 12:51:45 +0000 (12:51 +0000)
committerMatti Tahvonen <matti.tahvonen@itmill.com>
Mon, 28 Jan 2008 12:51:45 +0000 (12:51 +0000)
svn changeset:3663/svn branch:trunk

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

index 532560fdfaa4f8a283088e5acca4a8a637445158..ec56136e2215f14368f8a2cebe7617603fc5c5ca 100644 (file)
@@ -799,20 +799,6 @@ public class GridLayout extends AbstractLayout {
         }
     }
 
-    /**
-     * @deprecated use setColumns instead.
-     */
-    public void setWidth(int columns) {
-        setColumns(columns);
-    }
-
-    /**
-     * @deprecated use getColumns instead.
-     */
-    public int getWidth() {
-        return getColumns();
-    }
-
     /**
      * Sets the number of columns in the grid. The column count can not be
      * reduced if there are any areas that would be outside of the shrunk grid.
@@ -857,20 +843,6 @@ public class GridLayout extends AbstractLayout {
         return cols;
     }
 
-    /**
-     * @deprecated use setRows() instead.
-     */
-    public void setHeight(int rows) {
-        setRows(rows);
-    }
-
-    /**
-     * @deprecated use getRows() instead.
-     */
-    public int getHeight() {
-        return getRows();
-    }
-
     /**
      * Sets the number of rows in the grid. The number of rows can not be
      * reduced if there are any areas that would be outside of the shrunk grid.