01: /**
02: * $RCSfile: VAPanel.java,v $
03: * @creation 01/02/00
04: * @modification $Date: 2001/04/22 21:24:49 $
05: */package com.memoire.vainstall.gui;
06:
07: import javax.swing.JPanel;
08: import com.memoire.vainstall.AbstractInstall;
09: import com.memoire.vainstall.VAStep;
10:
11: /**
12: * @version $Id: VAPanel.java,v 1.2 2001/04/22 21:24:49 hfalk Exp $
13: * @author Axel von Arnim
14: */
15:
16: public class VAPanel extends JPanel implements VAStep {
17: private AbstractInstall setup_;
18:
19: public VAPanel() {
20: super ();
21: setup_ = null;
22: }
23:
24: public void setInstaller(AbstractInstall setup) {
25: setup_ = setup;
26: }
27:
28: protected AbstractInstall getInstaller() {
29: return setup_;
30: }
31:
32: public void backAction() {
33: setup_.previousStep();
34: }
35:
36: public void nextAction() {
37: setup_.nextStep();
38: }
39:
40: public void cancelAction() {
41: setup_.cancel();
42: }
43: }
|