O'Reilly logo

Learning Vaadin by Nicolas Frankel

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

Summary

In the first section of this chapter, we have seen the building blocks of the Vaadin framework, namely widgets. This was a good reason to detail the Component class hierarchy, which was an excuse to have a look at the following classes and interfaces:

  • Component is the root interface for widgets, and has important ancestors
    • MethodEventSource to add listeners to the widget
    • Paintable to make the component displayable on the terminal
    • Sizeable to let the widget be resized
  • Window is the base class for screens. It introduced us to:
    • ComponentContainer, a component that can hold other widgets
    • The concept of both "main window" and "subwindow"
  • Label is the simplest widget in Vaadin. It showed the Property interface, a way to decouple the widget itself from ...

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