Extending Builders: Layout Builders (original) (raw)

Tom Eugelink tbee at tbee.org
Thu Nov 29 12:43:08 PST 2012


box.getChildren().set(nodes); box.getChildren().addAll(nodes); box.getChildren().addAll(10, nodes);

Ah, ok. That is a matter of preference; I rather have clean constraints than these bulk methods. These methods in my concept indeed only are usable in absolute layout (graphics framework "mode"), where all constraint information is in the node. The advanced layouts need to use the add(n,c) (form "mode").

One consideration: how often are advanced layouts used with bulk nodes?

Tom



More information about the openjfx-dev mailing list