Possible additions to JavaFX to facilitate forms and validations

Tom Schindl tom.schindl at bestsolution.at
Tue Dec 6 08:40:17 PST 2011

Am 06.12.11 17:34, schrieb Roman Kennke:
> Hi there,
> First of all, let me say I like the idea. Seems like a useful addition
> to JFX.
>>> *1. Node annotations*
>> A couple issues here to think about. First, how would the "annotation" be associated with the node? Since Nodes have no children (Parents do) it wouldn't be a child, in the scene graph sense, but it would be in how it is defined in paint order. That is, you want it to paint last. The picking code and such would need to be updated. Is the annotation outside the clip, if one exists on the node? Does it contribute to the bounds of the Node? If so we might have a contradiction to work through (the definition for boundsInLocal and boundsInParent would need massaging). Also I think for the use case you also will want annotations that can be beneath the Node.
> My feeling is that doing this in Control rather than Node is more
> natural. What would be the meaning/use case of an annotation on
> arbitrary nodes? Like lines, or geometric objects?
> Regards, Roman

I don't see this on any of those two (Node nor Control) but would say
this is the job of a NodeDecorator which gets the Control and provides
the possibility to decorate it.


B e s t S o l u t i o n . a t                        EDV Systemhaus GmbH
tom schindl                 geschäftsführer/CEO
eduard-bodem-gasse 5-7/1   A-6020 innsbruck     fax      ++43 512 935833
http://www.BestSolution.at                      phone    ++43 512 935834

More information about the openjfx-dev mailing list