Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The following shows the XAL syntax for an MDI-style application with a tree on the left and some windows in the center of the container:

<rootPane>
  <borderPane>
   <tree borderPosition="west"/>
   <desktopPane borderPosition="center">
     <window>...</window>
   </desktopPane>
  </borderPane>

...

</rootPane>

This example includes:

  • rootPane, a top-level container.
  • borderPane, a layout container that manages the layout of the containers and components within the rootPane.
  • tree, a component that provides a hierachical representation of data, situated in the west coordinate of the borderPane layout.
  • desktop, a panel that can contain windows and dialogs, situated in the center coordinate of the borderPane layout.
  • window, a window component contained in the desktopPane.

...