CHAPTER 2

image

Properties and Bindings

In this chapter, you will learn:

  • What a property is in JavaFX
  • How to create a property object and use it
  • The class hierarchy of properties in JavaFX
  • How to handle the invalidation and change events in a property object
  • What a binding is in JavaFX and how to use unidirectional and bidirectional bindings
  • About the high-level and low-level binding API in JavaFX

This chapter discusses the properties and binding support in Java and JavaFX. If you have experience using the JavaBeans API for properties and binding, you can skip the first few sections, which discuss the properties and binding support in Java, and start ...

Get Learn JavaFX 8: Building User Experience and Interfaces with Java 8 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.