| A specialized container representing the viewable application area (the browser viewport).
The Viewport renders itself to the document body, and automatically sizes itself to the size of the browser viewport and
manages window resizing. There may only be one Viewport created in a page.
This class takes the "main" / top level panel passed in its constructor and "expands" it to fit the browsers viewable area.
You must not add the "main" panel to GWT's RootPanel via RootPanel.get().add(..) when using the ViewPort class - this is done
automatically for you.
|