aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArtur Signell <artur.signell@itmill.com>2011-12-20 11:45:52 +0000
committerArtur Signell <artur.signell@itmill.com>2011-12-20 11:45:52 +0000
commitb046062c939ff96753cc84360767e2444784f1f4 (patch)
tree56853b703a20a55624ee43a520af4eca2ee21951
parent67629854f920d734ceab541d8b27202ef04f6043 (diff)
downloadvaadin-framework-b046062c939ff96753cc84360767e2444784f1f4.tar.gz
vaadin-framework-b046062c939ff96753cc84360767e2444784f1f4.zip
#5655 Javadoc that the size is only updated on full repaint
svn changeset:22458/svn branch:6.8
-rw-r--r--src/com/vaadin/terminal/gwt/server/WebBrowser.java8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/com/vaadin/terminal/gwt/server/WebBrowser.java b/src/com/vaadin/terminal/gwt/server/WebBrowser.java
index cb83d93a72..a57a4c65d2 100644
--- a/src/com/vaadin/terminal/gwt/server/WebBrowser.java
+++ b/src/com/vaadin/terminal/gwt/server/WebBrowser.java
@@ -65,7 +65,10 @@ public class WebBrowser implements Terminal {
}
/**
- * Gets the height of the client (browser window)
+ * Gets the height of the client (browser window).
+ * <p>
+ * Note that the client size is only updated on a full repaint, not when the
+ * browser window size changes
*
* @return The height of the client or 0 if unknown.
*/
@@ -75,6 +78,9 @@ public class WebBrowser implements Terminal {
/**
* Gets the width of the client (browser window)
+ * <p>
+ * Note that the client size is only updated on a full repaint, not when the
+ * browser window size changes
*
* @return The width of the client or 0 if unknown.
*/