Home » GWT RootLayoutPanel

GWT RootLayoutPanel

by Online Tutorials Library

GWT RootLayoutPanel

GWT RootLayoutPanel allows us to choose the starting point of layout panel. In this panel, RequiresResize.onResize() method gets called at a time of creation or whenever the window is resized.

GWT RootLayoutPanel Class Declaration

Let’s see the declaration of com.google.gwt.user.client.ui.RootLayoutPanel

GWT RootLayoutPanel Methods

Modifier and Types Method Description
static RootLayoutPanel get() It gets the singleton instance of RootLayoutPanel.
protected void onLoad() It is called immediately after a widget becomes attached to the browser’s document.

GWT RootLayoutPanel Example

Output:

GWT RootLayoutPanel

You may also like