public static void setConstraints (Node child, int columnIndex, int rowIndex, int columnspan, int rowspan, HPos halignment, VPos valignment, Priority hgrow, Priority vgrow)

Sets the grid position, spans, and alignment for the child when contained in a gridpane.

Parameters:
child    the child node of a gridpane
columnIndex    the column index position for the child
rowIndex    the row index position for the child
columnspan    the number of columns the child should span
rowspan    the number of rows the child should span
halignment    the horizontal alignment of the child
valignment    the vertical alignment of the child
hgrow    the horizontal grow priority of the child
vgrow    the vertical grow priority of the child