Returns the alignment along the X axis for the container.
If the box is horizontal, the default
alignment will be returned. Otherwise, the alignment needed
to place the children along the X axis will be returned.
Returns:
the alignment >= 0.0f && <= 1.0f
Parameters:
-
target - the container
Throws:
-
AWTError - if the target isn't the container specified to the
BoxLayout constructor