The trouble with Skins
tbee at tbee.org
Mon Mar 23 18:42:40 UTC 2015
On 23-3-2015 19:07, Richard Bair wrote:
> In the end, I lean toward keeping the Control API as view-agnostic as possible, but where view details become essential to the operation of the control, then define the Control to always include those specific view details.
Thanks for sharing the conceptual vision, Richard. It seems JFXtras controls are on the right(ous) path then; e.g. the SimpleMetroArcGauge only has three properties: min, max and value, plus a list of segments with just a min and max. All the styling is done through CSS.
More information about the openjfx-dev