1 19 20 package org.netbeans.modules.web.wizards; 21 22 import java.awt.Component ; 23 import javax.swing.JComponent ; 24 import org.openide.WizardDescriptor; 25 26 33 public class FinishableProxyWizardPanel implements WizardDescriptor.Panel, WizardDescriptor.FinishablePanel { 34 35 private WizardDescriptor.Panel original; 36 37 public FinishableProxyWizardPanel(WizardDescriptor.Panel original) { 38 this.original=original; 39 40 } 41 42 public void addChangeListener(javax.swing.event.ChangeListener l) { 43 original.addChangeListener(l); 44 } 45 46 public void removeChangeListener(javax.swing.event.ChangeListener l) { 47 original.removeChangeListener(l); 48 } 49 50 public void storeSettings(Object settings) { 51 original.storeSettings(settings); 52 } 53 54 public void readSettings(Object settings) { 55 original.readSettings(settings); 56 } 57 58 public boolean isValid() { 59 return original.isValid(); 60 } 61 62 public boolean isFinishPanel() { 63 return true; 64 } 65 66 public java.awt.Component getComponent() { 67 return original.getComponent(); 68 } 69 70 public org.openide.util.HelpCtx getHelp() { 71 return original.getHelp(); 72 } 73 74 } 75 | Popular Tags |