February 2014
Beginner
1248 pages
62h 25m
English
Property listeners are similar to property bindings. A property listener is an event handler that’s invoked when a property’s value changes. In the event handler, you can respond to the property change in a manner appropriate for your app. In this app, when a Slider’s value changes, a property listener will store the value in a corresponding instance variable, create a new Color based on the values of all four Sliders and set that Color as the fill color of a Rectangle object that displays the current color. For more information on properties, property bindings and property listeners, visit:
http://docs.oracle.com/javase/8/javafx/properties-binding-tutorial/binding.htm
Read now
Unlock full access