From 23fcb95f1a8b2fda7f6b7d648634ec21463da875 Mon Sep 17 00:00:00 2001
From: =?utf8?q?Leif=20=C3=85strand?=
- * If the window is a application window or a sub window depends on how it is - * added to the application. Adding a {@code Window} to a {@code Window} using - * {@link Window#addWindow(Window)} makes it a sub window and adding a - * {@code Window} to the {@code Application} using - * {@link Application#addWindow(Window)} makes it an application window. + * The contents of a window is set using {@link #setContent(ComponentContainer)} + * or by using the {@link #Window(String, ComponentContainer)} constructor. The + * contents can in turn contain other components. By default, a + * {@link VerticalLayout} is used as content. *
*- * An application window is the base of any view in a Vaadin application. All - * applications contain a main application window (set using - * {@link Application#setMainWindow(Window)} which is what is initially shown to - * the user. The contents of a window is set using - * {@link #setContent(ComponentContainer)}. The contents can in turn contain - * other components. For multi-tab applications there is one window instance per - * opened tab. + * A window can be positioned on the screen using absolute coordinates (pixels) + * or set to be centered using {@link #center()} *
*- * A sub window is floating popup style window that can be added to an - * application window. Like the application window its content is set using - * {@link #setContent(ComponentContainer)}. A sub window can be positioned on - * the screen using absolute coordinates (pixels). The default content of the - * Window is set to be suitable for application windows. For sub windows it - * might be necessary to set the size of the content to work as expected. - *
- *- * Window caption is displayed in the browser title bar for application level - * windows and in the window header for sub windows. - *
- *- * Certain methods in this class are only meaningful for sub windows and other - * parts only for application windows. These are marked using Sub window - * only and Application window only respectively in the javadoc. - *
- *- * Sub window is to be split into a separate component in Vaadin 7. + * The caption is displayed in the window header. *
* * @author Vaadin Ltd. -- 2.39.5