Javatpoint Logo
Javatpoint Logo

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



Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA