Exploring JavaFX Controls
The previous chapter described several of the core concepts relating to the JavaFX GUI framework. In the process, it introduced two controls: the label and the button. This chapter continues the discussion of JavaFX controls. It begins by describing how to include images in a label and button. It then presents an overview of several more JavaFX controls, including check boxes, lists, and trees. Keep in mind that JavaFX is a rich and powerful framework. The purpose of this chapter is to introduce a representative sampling of the JavaFX controls and to describe several common techniques. Once you understand the basics, you will be able to easily learn the other controls.
The JavaFX control classes discussed in this chapter are shown here:
These and the other JavaFX controls are packaged in javafx.scene.control.
Also discussed are the Image and ImageView classes, which provide support for images in controls; Tooltip, which is used to add tooltips to a control; as well as various effects and transforms.