Writing Custom UI Controls
Elisa Deaibess
elisa.deaibess at gmail.com
Mon Jul 16 05:33:22 PDT 2012
Hi,
We are writing a new application using JavaFX 2.x. Our application needs
some custom controls such as a searchfield, listoptions, ribbon,
breadcrumbs, etc...
We decided to write common reusable controls; To do that we have 2 ways:
1. Make our controls extends Control and create new skin
2. Extend some layout container or other control
Which one do you recommend?
Is it safe that our custom controls extends Control and to use the
skin/behavior? Or com.sun.javafx.scene.control.skin.SkinBase is a private
class and risk to be removed in the next releases
In JavaFXPro book I read the following:
*Caution *In the discussion that follows, we mention Java classes in
packages whose names begin with com.sun.
These classes are implementation details of the JavaFX runtime system and
are not meant to be used in normal JavaFX applications.
And they may change in future releases of JavaFX.
Could you please advise?
Regards,
Elisa
More information about the openjfx-dev
mailing list