1 package com.tonbeller.wcf.wizard; 2 3 import com.tonbeller.wcf.component.Renderable; 4 import com.tonbeller.wcf.component.Visible; 5 6 13 public interface WizardPage extends Renderable, Visible { 14 public static class WizardPagePosition { 15 private String name; 16 private WizardPagePosition(String name) { 17 this.name = name; 18 } 19 public static final WizardPagePosition SINGLE_PAGE = new WizardPagePosition("single"); 20 public static final WizardPagePosition FIRST_PAGE = new WizardPagePosition("first"); 21 public static final WizardPagePosition LAST_PAGE = new WizardPagePosition("last"); 22 public static final WizardPagePosition MIDDLE_PAGE = new WizardPagePosition("middle"); 23 } 24 25 void addPageListener(PageListener l); 26 void removePageListener(PageListener l); 27 void pageAdded(WizardPagePosition pagePos); 28 void pageSkipped(); 29 } 30 | Popular Tags |