diff options
author | Johannes Dahlström <johannes.dahlstrom@vaadin.com> | 2012-06-15 11:56:15 +0000 |
---|---|---|
committer | Johannes Dahlström <johannes.dahlstrom@vaadin.com> | 2012-06-15 11:56:15 +0000 |
commit | 087f7666d59f10884ead2cb085c8df372d4f509f (patch) | |
tree | f3840d3e3652a336777861c5d23211c5406e7d3e /src | |
parent | 723bf4c9f93db26191bf938bf8d38b86f4eb7196 (diff) | |
download | vaadin-framework-087f7666d59f10884ead2cb085c8df372d4f509f.tar.gz vaadin-framework-087f7666d59f10884ead2cb085c8df372d4f509f.zip |
#7938 Clarified Window.center() javadoc
svn changeset:23949/svn branch:6.8
Diffstat (limited to 'src')
-rw-r--r-- | src/com/vaadin/ui/Window.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/com/vaadin/ui/Window.java b/src/com/vaadin/ui/Window.java index f20090fead..347f2725fe 100644 --- a/src/com/vaadin/ui/Window.java +++ b/src/com/vaadin/ui/Window.java @@ -1618,8 +1618,10 @@ public class Window extends Panel implements URIHandler, ParameterHandler, } /** - * Request to center this window on the screen. <b>Note:</b> affects - * sub-windows only. + * Sets this window to be centered relative to its parent window. Affects + * sub-windows only. If the window is resized as a result of the size of its + * content changing, it will keep itself centered as long as its position is + * not explicitly changed programmatically or by the user. */ public void center() { centerRequested = true; |