summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2012-09-24 21:05:32 +0300
committerArtur Signell <artur@vaadin.com>2012-09-24 21:05:32 +0300
commitb5af5509b21eade42a3c81cdd6a7b06529a6361c (patch)
treefb62c4dd1f4881810f139902e2f82d89867a6ee5
parent43636e2bfe227cfaadeb63d0069c92917eca9c8b (diff)
downloadvaadin-framework-b5af5509b21eade42a3c81cdd6a7b06529a6361c.tar.gz
vaadin-framework-b5af5509b21eade42a3c81cdd6a7b06529a6361c.zip
Added javadoc
-rw-r--r--server/src/com/vaadin/server/Page.java9
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;