diff options
-rw-r--r-- | server/src/com/vaadin/server/Page.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/server/src/com/vaadin/server/Page.java b/server/src/com/vaadin/server/Page.java index e17643eb81..b6a2b2f776 100644 --- a/server/src/com/vaadin/server/Page.java +++ b/server/src/com/vaadin/server/Page.java @@ -415,6 +415,15 @@ public class Page implements Serializable { return uI.getSession().getBrowser(); } + /** + * Updates the internal state with the given values. Does not resize the + * Page or browser window. + * + * @param width + * The new width + * @param height + * The new height + */ public void setBrowserWindowSize(int width, int height) { boolean fireEvent = false; |