Components and layouts

To get a full picture of the main parts of a Vaadin application, let's do a quick review of some of the most important classes you should already be familiar with. In a Vaadin application, most of the code deals with components and layouts. In a nutshell, you add components such as Label, TextField, CheckBox, ComboBox, and Grid into layouts such as VerticalLayout, FormLayout, GridLayout, HorizontalLayout, and CSSLayout. You can also add layouts into layouts.

During design or development, you might want to explore the available components and layouts in the framework so that you can pick the best for a particular scenario. One way to see all the components and layouts included in the framework is by visiting the Vaadin sampler at: http://demo.vaadin.com/sampler. You can see code examples by clicking the Information icon in the upper right corner of the page:
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset