A container maintains a linear list of its panels to show their default navigation. A panel's position in this list is established initially by the addPanel
method.
The following sequence of events allows conditional navigation:
A conditional operation occurs on a panel. For example, in the Template panel of the CalcBuilder, an end user chooses to customize the calculation.
The panel should fire a PanelEvent
that is routed to the container.
In response to the event, the container invokes the processPanelEvent
method. Override this method to enable or disable the appropriate panels. For example, if a user who is positioned on the fourth panel indicates a choice that requires navigation to the sixth panel, then you should disable the fifth panel.
Adding or Removing Builder Panels
at Runtime
Adding New Panels to a Builder Container