The trouble with Skins
Tom Eugelink
tbee at tbee.org
Mon Mar 23 20:15:28 UTC 2015
On 23-3-2015 20:30, Tomas Mikula wrote:
> Control does not know what API is available on the Skin
I have many controls that require a skin that implements a certain interface (refresh() is often present). Granted, this is not something that is compiler checkable via the setSkin method, but it can fail quickly at runtime. Works for me.
https://github.com/JFXtras/jfxtras/blob/8.0/jfxtras-agenda/src/main/java/jfxtras/internal/scene/control/skin/agenda/AgendaSkin.java
Tom
More information about the openjfx-dev
mailing list