In determining both widths and heights for the layout, the following
precedence is followed:
All sizes are inclusive of padding
Fixed sizes (those specified by a pixel number) are given priority to
stay the size they request
Non-specified sizes assume the preferred size of the component and are
given the next level of priority
Percentage widths are given next priority and are based on whatever
space is left after fixed and non-specified sizes are accounted for
Remainder sizes are last.
Creates a layout from the Document given and uses any existing components
in the map (keyed by component name) if they match names given in the
XML, instead of creating new components.
Creates a layout from the XML string given and uses any existing
components in the map (keyed by component name) if they match names given
in the XML, instead of creating new components.