Read-only properties  

All properties can be observed (or be used as a parameter for bind), but bind can't be called for some of them. The exception is read-only properties, which can't be changed and can't be bound.

All read-only properties implement ReadOnlyProperty, or they can be recognized by the class name starting from ReadOnly words. For example, widthProperty in the first example has the ReadOnlyDoubleProperty type.

Get Mastering JavaFX 10 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.