Home » GWT Layout Panels

GWT Layout Panels

by Online Tutorials Library

GWT Layout Panels

Layout Panel helps us to design the user interface of the panels. This panel helps to fit all the content inside the windows. Layout panel works in standard mode which requires HTML page in !DOCTYPE declaration.

Types of Layout Panels

  • GWT Root Layout Panel: It is a single panel which allows singleton implementation of layout panel. This panel attaches itself to the GWT web application.
  • GWT Dock Layout Panel: This widget works only in standard mode where all child widgets are at edges. The last widget occupies the center space.
  • GWT Split Layout Panel: This panel extends Dock Layout Panel. Its child widgets size are always specified in absolute value.
  • GWT Stack Layout Panel: In this layout panel, only one widget displayed at a time. We can view remaining widgets by clicking on their header. All widget that are not open is placed at bottom of the panel.

You may also like