Extending a Region to create a JUNG Layout
guenther.jeffrey at gmail.com
Fri May 30 18:23:59 UTC 2014
On May 30, 2014, at 10:55 AM, John Smith <John_Smith at symantec.com> wrote:
> Much of the internal JavaFX implementation is performed subclassing Region (or Control which is just a Region subclass itself) and overriding layoutChildren, but I'm not aware of any official documentation on the subject other than the sparse stuff in the Javadoc - so no real tutorials.
> Maybe try studying some of the JavaFX source which extends Region.
> For example, take a look at Axis:
Good call. Axises should be pretty simple. In my search, I stumbled upon the source in grep code (though I know it is available from openjdk) and spent some time looking at HBox and VBox as they are on the simpler side of things.
> It would be nice if Oracle or somebody else produced some documentation on this. You could create a feature request in Jira (https://javafx-jira.kenai.com) for such documentation or email the documentation team (javasedocs_us at oracle.com), or write a blog or a openjfx wiki article (https://wiki.openjdk.java.net/display/OpenJFX/Main) if you work out some good techniques.
Never thought about a ticket for docs. Yeah, I plan to blog once I get feel for things.
More information about the openjfx-dev