Chapter 14. Advanced event handling and event busses

 

This chapter covers
  • Creating user-defined events
  • Browser-agnostic handling of events
  • Previewing events and stopping their propagation
  • Using event busses

 

Our first topic in the advanced part of this book is a deeper look at events and event busses.

Before we get to event busses, we’ll reaffirm the brief description from chapter 3 of what events are and then look at how GWT handles the differences between Internet Explorer and standards-compliant browsers in event handling. This is useful because it means we only have to worry about handling events in one way and not how, say, Firefox handles them compared to IE.

We’ll also show how to preview events so you know what event ...

Get GWT in Action, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.