O'Reilly logo

Ajax on Java by Steven Douglas Olson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

GWT Widgets

Table 10-1 lists some of the widgets that can be used with GWT and their corresponding HTML element types.

Table 10-1. GWT widgets

Widget

Description

AbsolutePanel

A panel that positions all of its children absolutely, allowing them to overlap

Button

A standard push-button widget

ButtonBase

The abstract base class for Button, CheckBox, and RadioButton

CellPanel

A panel whose child widgets are contained within the cells of a table

ChangeListenerCollection

A helper class for implementers of the SourcesChangeEvents interface

CheckBox

A standard checkbox widget (also serves as a base class for RadioButton)

ClickListenerCollection

A helper class for implementers of the SourcesClickEvents interface

ComplexPanel

An abstract base class for panels that can contain multiple child widgets

Composite

A type of widget that can wrap another widget, hiding the wrapped widget's methods

DeckPanel

A panel that displays all of its child widgets in a "deck," where only one can be visible at a time

DialogBox

A form of pop-up that has a caption area at the top and can be dragged by the user

DockPanel

A panel that lays out its child widgets "docked" at its outer edges and allows its last widget to take up the remaining space in its center

FileUpload

A widget that wraps the HTML <input type="file"> element

FlexTable

A flexible table that creates cells on demand

FlowPanel

A panel that formats its child widgets using the default HTML layout behavior

FocusListenerAdapter ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required