public static Insets getMargin (Node child)

Returns the child's margin constraint if set.

Parameters:
child    the child node of a gridpane

Returns:  the margin for the child or null if no margin was set