tell me more icon Panel Stretch Layout

Panel Stretch Layout does not accept direct children; children contents can be placed inside facets only. Panel Stretch Layout supports five facets that specify the panes where children contents can be inserted: top, bottom, start, end, and center:

                               
<af:panelStretchLayout ..>
  <f:facet name="bottom"/>
  <f:facet name="center"/>
  <f:facet name="start"/>
  <f:facet name="end"/>
  <f:facet name="top"/>
</af:panelStretchLayout>
                            

Panel Stretch Layout is a stretching layout component, that is, it forces specific dimensions onto its children components so that the children in the center facet are stretched to fill up available space in the browser when end users resize the browser.

The available space in the center facet may be constrained by the presence of children in the top, bottom, start, and end facets. The height of the top facet is determined by the TopHeight attribute of Panel Stretch Layout; the height of the bottom facet is determined by the BottomHeight attribute. Similarly, the width of the start and end facet is determined by the StartWidth and EndWidth attribute, respectively.

By default, JDeveloper uses 50 pixels each for the TopHeight, BottomHeight, StartWidth, and EndWidth attributes. When children are present in the top, bottom, start, and end facets, they occupy space defined by those attributes. Children components in the top and bottom facets are stretched up to the height set by TopHeight and BottomHeight, respectively, and children in the start and end facets are stretched up to the width set by StartWidth and EndWidth, respectively. Children components in the center facet are then stretched according to available space.

Copyright © 1997, 2009, Oracle. All rights reserved.

false ,,,,,,,,,,,,,,,