In this chapter, you will learn:
- What observable collections in JavaFX are
- How to observe observable collections for invalidations and changes
- How to use observable collections as properties
What Are Observable Collections?
Observable collections in JavaFX are extensions to collections in Java. The collections framework in Java has the List, Set, and Map interfaces. JavaFX adds the following three types of observable collections that may be observed for changes in their contents:
- An observable list
- An observable set
- An observable map
JavaFX supports these types of collections through three new interfaces:
- ObservableList ...