1 43 44 package org.jfree.ui; 45 46 import java.awt.LayoutManager ; 47 48 import javax.swing.JPanel ; 49 50 55 public abstract class WizardPanel extends JPanel { 56 57 58 private WizardDialog owner; 59 60 65 protected WizardPanel(final LayoutManager layout) { 66 super(layout); 67 } 68 69 74 public WizardDialog getOwner() { 75 return this.owner; 76 } 77 78 84 public void setOwner(final WizardDialog owner) { 85 this.owner = owner; 86 } 87 88 93 public Object getResult() { 94 return null; 95 } 96 97 102 public abstract void returnFromLaterStep(); 103 104 110 public abstract boolean canRedisplayNextPanel(); 111 112 117 public abstract boolean hasNextPanel(); 118 119 124 public abstract boolean canFinish(); 125 126 132 public abstract WizardPanel getNextPanel(); 133 134 } 135 | Popular Tags |