JavaFX: Properties, Beans, and Bindings

JavaFX: Properties, Beans, and Bindings

English | MP4 | AVC 1280×720 | AAC 48KHz 2ch | 1h 39m | 255 MB

Learn how to develop more dynamic, responsive applications with JavaFX, the next generation of GUI development for Java. In this course, instructor Neelam Dwivedi goes over the kinds of applications that JavaFX properties, JavaBeans, and bindings can help you construct, demonstrating how the MVC pattern can be implemented with data that changes dynamically with the UI. Using the javafx.beans library, Neelam shows how to create two applications: a BMI calculator and a shopping cart program. As she steps through the development of these simple apps, she lends a real-world context to the key concepts covered in this course.

Topics include:

  • Property and binding data types
  • Building a BMI calculator using bindings
  • Observables and listeners
  • FXCollections and ObservableLists
  • What is a JavaBean?
  • TableView with a JavaBean
  • Images and media in JavaFX
Table of Contents

Introduction
1 Build dynamic apps with JavaFX
2 What you should know

Applications Overview
3 What are we making

Properties and Bindings
4 Property and binding data types
5 Types of bindings
6 Build a BMI calculator using bindings

Observables
7 Observables and listeners
8 BMI calculator with a GUI

JavaFX Collections
9 FXCollections and ObservableLists
10 Shopping cart 1 with ComboBox and slider

Java Beans and TableViews
11 What is a JavaBean
12 Shopping cart 2 with a JavaBean
13 TableView with a JavaBean
14 Shopping cart 3 requirements and design
15 Shopping cart 3 custom cell
16 Shopping cart 4 with total price

Images and Media in JavaFX
17 Image and Media classes
18 Shopping cart 5 with an image and media

Conclusion
19 Summary and best practices