The <panel> tag creates a container for other components. A panel consists of 5 cells, named center, north, south, east, and west, each of which has a particular location and resizing strategy. The locations are mapped as follows:
There does not need to be a component in each cell. Cells that do not contain a component are not displayed.
See common parameters .
The grid tag contains some combination of the tags <north>, <south>, <east>, <west>, and <center>. Each of those tags contains a single tag specifying the component to display in the corresponding cell. Multiple components can be displayed in a single cell by wrapping them in a container tag (like <box>, <grid>, <compactgrid>, <divider>, or another <panel>).
<xmllayout>
<panel>
<north>
<component id="FIND"/>
</north>
<east>
<panel>
<center>
<component id="TEXTEDIT" width="200"/>
</center>
<south>
<component id="plugin:org.geneontology.oboedit.plugin.DAGView"/>
</south>
</panel>
</east>
<center>
<component id="DAG"/>
</center>
</panel>
</xmllayout>
The panel map at the top of the page was created using the following layout:
<xmllayout>
<panel>
<north>
<box orientation="horz" background="128, 128, 255">
<glue/>
<label text="North"/>
<glue/>
</box>
</north>
<south>
<box orientation="horz" background="128, 128, 255">
<glue/>
<label text="South"/>
<glue/>
</box>
</south>
<east>
<box orientation="horz" background="255, 255, 128">
<glue/>
<label text="East"/>
<glue/>
</box>
</east>
<west>
<box orientation="horz" background="255, 255, 128">
<glue/>
<label text="West"/>
<glue/>
</box>
</west>
<center>
<box orientation="horz" background="255, 128, 128">
<glue/>
<label text="Center"/>
<glue/>
</box>
</center>
</panel>
</xmllayout>