Skip to main content

Observable Objects

Just like the Nodes, there are a large number of classes and interfaces that extend from the Observable interface. This includes the ObservableList and Property interfaces which used extensively in just about any JavaFX application.

Observables are wrappers around various data types, and the values inside them can be imperatively accessed through getters and setters.

Observables are used in two ways. The most important is Bindings, the other is ChangeListeners.

An Introduction to Properties

28 mins
If you are a beginner with JavaFX and are wondering, “What are all these Property things anyway?”, then this is the article for you. Besides the Properties themselves, we also cover the basics of using them with Bindings and Listeners. Read this article and you should have a good idea how to start out with JavaFX Properties.

Guide To the Observable Classes

1 min
A three part series (so far) that provides an in-depth examination of all of the classes and interfaces that make up the library of observable types in JavaFX.