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 TypesMethodDescription
static RootLayoutPanelget()It gets the singleton instance of RootLayoutPanel.
protected voidonLoad()It is called immediately after a widget becomes attached to the browser's document.

GWT RootLayoutPanel Example

Output:

GWT RootLayoutPanel



Latest Courses