Logo

18.5.1 Composite presentation

Every pane has a reference to a Composite Presentation. Thus, whenever we specify a transmission, we get access to such a composite presentation.

browser transmit from: #paneOne; to: #paneTwo; andShow: [ :a |
"a is the composite presentation that will be set on the destination pane" ].

The job of a composite is to regulate the display of the contained presentations. To this end, it allows us to specify a so called arrangement.

There are three different kinds of arrangements currently offered:

  • TabbedArrangement arranges multiple presentations under a tab widget. This is the default arrangement.
  • StackedVerticallyArrangement lays out the presentations one below the other in group boxes.
  • AccordionArrangement offers the possibility to collapse the presentations using an accordion widget.

Specifying the arrangement is straightforward. For example:

browser transmit from: #paneOne; to: #paneTwo; andShow: [ :a |
a stackedVerticallyArrangement.
"..." ].

Add a Note