Chapter 4. Working with widgets

This chapter covers

  • How widgets work

  • Using GWT’s widgets

  • Interacting with widgets

  • Creating new widgets

Now that you’ve wet your toes by building the first version of the Dashboard application, you’ll take the next few steps toward building the full version, which uses many different types of widgets and panels as well as handling different types of events. To get there, we first need to tell you exactly what these components are!

This chapter deals specifically with widgets, which are the visible components of a GWT application that a user sees on the browser page: for example buttons, labels, images, and the menu system. Imagine buying a new plasma television and then finding out that the manufacturer hasn’t provided ...

Get GWT in Action: Easy Ajax with the Google Web Toolkit now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.