01: package org.osbl.client.wings.form.layouter;
02:
03: import org.osbl.client.wings.form.ComponentProvider;
04: import org.wings.*;
05:
06: import java.util.*;
07:
08: /**
09: * Arranges Pages.
10: */
11: public class PageSet implements Instruction {
12: public List<Page> pages;
13:
14: /**
15: * Construct a structural description of a set of pages.
16: * @param pages the pages arranged on in the set.
17: */
18: public PageSet(Page... pages) {
19: this .pages = new ArrayList<Page>(Arrays.asList(pages));
20: }
21:
22: public void build(ComponentProvider componentProvider,
23: SContainer container) {
24: }
25:
26: public void follow(Builder builder) {
27: for (Page page : pages)
28: builder.build(page);
29: }
30: }
|