Extending Builders: Layout Builders

Richard Bair richard.bair at oracle.com
Wed Nov 21 01:28:11 PST 2012

>> It is probably too late to be really consistent. For example in GridPane you have
>>    add(Node child, int columnIndex, int rowIndex)
>> whereas for the transforms you have "row, column" as Pavel has pointed out.
> This is embarrassing. The transforms have not been released yet (the matrix features were added to 8.0), so we probably still can change the order. But users specifically requested this order as the usual one.

Personally I have always liked "row, col" because that is the normal mathematical notation. Jasper liked "col, row" because that translates into "x, y", and when thinking in 2-D space that is most natural.

More information about the openjfx-dev mailing list