Custom Controls
In this chapter, I show how the internal layout and rendering mechanisms of a control work and how you can create custom JavaFX controls or extend the basic controls with new cool features. To do either of these things, you will need to create a skin, because in JavaFX, the layout and behavior of a control are defined in its skin. In this chapter, you will learn how to define the skin and how its interaction with the Control class works. In addition, you’ll create your first custom control, which will use some exciting JavaFX features.
The Structure of a Control
It is important to know how a JavaFX control works internally. ...

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