Vaadin 7 Cookbook
图书信息
| 作者 | Jaroslav Holaň |
| 出版社 | Packt Publishing |
| ISBN | 9781849518819 |
| 出版时间 | 2013-04-24 |
| 字数 | 190.7万 |
| 分类 | 进口书,外文原版书,电脑,网络 |
读书简介
This is a cookbook with easy-to-follow recipes containing practical and detailed examples which are all fully backed up with code, illustrations, and tips. "Vaadin 7 Cookbook" is for developers who want to create Rich Internet Applications with Vaadin. Both newcomers to Vaadin and those who have some experience with it will find recipes to expand their working knowledge of Vaadin.
目录
Vaadin 7 Cookbook
Table of Contents
Vaadin 7 Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers and more
Why Subscribe?
Free Access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Creating a Project in Vaadin
Introduction
Creating a project in Eclipse IDE
Getting ready
How to do it...
How it works...
There's more...
Generating a Vaadin project in Maven archetype
How to do it...
How it works...
There's more...
Building a Vaadin application with Gradle
Getting ready
How to do it...
How it works...
There's more...
Using Vaadin with Scala
Getting ready
How to do it...
How it works...
See also
Running Vaadin on Grails
Getting ready
How to do it...
How it works...
See also
2. Layouts
Introduction
Creating an adjustable layout using split panels
How to do it...
How it works...
See also
Creating a custom layout
How to do it...
How it works...
Controlling components over the CSS layout
How to do it...
How it works...
See also
Using CSS layouts for mobile devices
How to do it...
How it works...
See also
Binding tabs with a hard URL
How to do it...
How it works...
There's more...
See also
Using Navigator for creating bookmarkable applications with back-forward button support
How to do it...
How it works...
There's more...
Aligning components on a page
How to do it...
How it works...
See also
Creating UI collections of components
How to do it...
How it works...
There's more...
See also
Dragging-and-dropping between different layouts
How to do it...
How it works...
See also
Building any layout with AbsoluteLayout
How to do it...
How it works...
There's more...
See also
3. UI Components
Introduction
Viewing details of items in ListSelect
How to do it...
How it works...
There's more...
See also
Inserting a button to remove a table row
How to do it...
How it works...
See also
Creating a line chart with Flot
How to do it...
How it works...
There's more...
Creating a pie chart with Highcharts
Getting ready
How to do it...
How it works...
See also
Drag-and-drop from the desktop
How to do it...
How it works...
See also
Using DateField with Joda-Time DateTime
Getting ready
How to do it...
How it works...
There's more...
Zooming with the slider
How to do it...
How it works...
Restricting buttons in Rich text area
How to do it...
How it works...
There's more...
Styling components with CSS
How to do it...
How it works...
There's more...
See also
4. Custom Widgets
Introduction
Creating a TextField with counter
How to do it...
How it works...
There's more...
See also
Creating a TextField only for digits
How to do it...
How it works...
See also
Creating a chroma-hash password field
How to do it...
How it works...
Creating a tri-state checkbox using JavaScript
How to do it...
How it works...
Styling widgets
Getting ready
How to do it...
How it works...
There's more...
Speeding up widget set compilation
Getting ready
How to do it...
How it works...
There's more...
5. Events
Introduction
Responding immediately to an event in TextArea
How to do it...
How it works...
There's more...
See also
Changing Label to TextField by double-clicking
How to do it...
How it works...
See also
Lazy loading in a table
How to do it...
How it works...
See also
Reordering columns and rows in a table
How to do it...
How it works...
See also
Customizing shortcuts
How to do it...
See also
Adding click listener to the Link component
Getting ready
How to do it...
See also
Creating a custom context menu
Getting ready
How to do it...
How it works...
See also
Updating messages in the menu bar using the ICEPush add-on
Getting ready
How to do it...
There's more...
See also
Updating the noticeboard using the Refresher add-on
Getting ready
How to do it...
How it works...
See also
6. Messages
Introduction
Showing validation messages
How to do it...
How it works...
There's more...
See also
Styling system messages
Getting ready
How to do it...
How it works...
Showing a login form in pop-up view
How to do it...
How it works...
Customizing tray notifications
Getting ready
How to do it...
How it works...
There's more...
Making a confirmation window
How to do it...
How it works...
Showing a rich tooltip with an image
How to do it...
How it works...
There's more...
Informing about file transfers by a progress bar
How to do it…
How it works...
There's more...
Waiting for an indeterminate process
How to do it...
How it works...
Showing information about browsers
How to do it...
How it works...
7. Working with Forms
Introduction
Creating a simple form
How to do it...
Generating fields from a bean
How to do it...
There's more...
Binding fields to a bean
How to do it...
How it works...
Using field validation
How to do it...
How it works...
There's more...
See also
Using bean validation
Getting ready
How to do it...
How it works...
See also
Creating a custom validation
How to do it...
How it works...
See also
Creating a CRUD form
How to do it...
How it works...
There's more...
Filtering items using ComboBox
How to do it...
How it works...
There's more...
See also
8. Spring and Grails Integration
Introduction
Setting up a Vaadin project with Spring in Maven
Getting ready
How to do it...
How it works...
There's more...
See also
Handling login with Spring
Getting ready
How to do it...
How it works...
Accessing a database with Spring
Getting ready
How to do it...
How it works...
There's more...
Internationalizing Vaadin applications with Spring
Getting ready
How to do it...
How it works...
Vaadin and Spring injector
Getting ready
How to do it...
How it works...
Internationalizing Vaadin in Grails
Getting ready
How to do it...
How it works...
There's more...
Using Grails ORM for Vaadin application
How to do it…
How it works...
There's more...
Using Grails services in Vaadin
How to do it...
How it works...
Adding a Vaadin add-on into Grails project
Getting ready
How to do it...
How it works...
There's more...
9. Data Management
Introduction
Binding property to a component
How to do it...
How it works...
There's more...
See also
Binding items to a component
How to do it...
How it works...
There's more...
See also
Binding a container to a component
How to do it...
How it works...
There's more...
See also
Creating a complex table – CRUD II
How to do it...
How it works...
See also
Filtering data in the table
How to do it...
How it works...
There's more...
See also
Using converters
How to do it...
See also
Storing the last selected tab name in cookies
Getting ready
How to do it...
How it works...
See also
10. Architecture and Performance
Introduction
Building the core
Getting ready
How to do it...
How it works...
The Login form with Model View Presenter
Getting ready
How to do it...
How it works...
There's more...
Model View Presenter for a view with two panels
Getting ready
How to do it...
How it works...
There's more...
See also
Unit testing in an MVP pattern
Getting ready
How to do it...
How it works...
There's more...
See also
Improving the application's startup time
Getting ready
How to do it...
How it works...
Avoid sluggish UI – lazy loaded tables
Getting ready
How to do it...
How it works...
There's more...
See also
Avoid sluggish UI – paged tables
Getting ready
How to do it...
How it works...
See also
Optimizing Vaadin applications for search engines
Getting ready
How to do it...
How it works...
There's more...
11. Facilitating Development
Introduction
The basics of test-driven development in Vaadin
Getting ready
How to do it...
How it works...
The basics of mocking in Vaadin
Getting ready
How to do it...
How it works...
See also
Testing a table with a container
Getting ready
How to do it...
How it works...
Testing the UI with TestBench
Getting ready
How to do it...
How it works...
There's more...
Recompiling widgetsets in Maven
Getting ready
How to do it...
How it works...
There's more...
Auto-reloading changes in Maven
How to do it…
How it works...
Blocking uncaught exceptions in the production mode
How to do it...
How it works...
12. Fun
Introduction
Magic tricks
Getting ready
How to do it...
How it works...
See also
Can you raed tihs?
How to do it...
How it works...
See also
Goodbye, world!
How to do it...
How it works...
See also
Index
- 世界500强企业精细化管理工具系列--物业管理实用流程·制度·表格·文本(邵小云)
- Daughters of the Puritans: A Group of Brief Biographies(Seth Curtis Beach)
- 纸上王国(邓安庆)
- 502(暂无)
- 为爱赴死因爱而生(读书堂)
- 物联网与智慧城市(邵泽华)
- 一本书看懂电影之《公民凯恩》(张帆)
- 区块链编程((美)吉米·宋(Jimmy Song))
