KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > memoire > vainstall > builder > util > ProductStepLicenseNode


1 /*
2  * $RCSfile: ProductStepLicenseNode.java,v $
3  * @modification $Date: 2001/09/28 19:41:42 $
4  * @version $Id: ProductStepLicenseNode.java,v 1.1 2001/09/28 19:41:42 hfalk Exp $
5  *
6  */

7
8 package com.memoire.vainstall.builder.util;
9
10 import com.memoire.vainstall.VAGlobals;
11 import com.memoire.vainstall.builder.gui.ProductStepLicensePanel;
12
13 import java.awt.*;
14 import javax.swing.*;
15 import javax.swing.border.*;
16 import javax.swing.tree.*;
17
18 /**
19  * This is
20  *
21  * @see
22  *
23  * @author Henrik Falk
24  * @version $Id: ProductStepLicenseNode.java,v 1.1 2001/09/28 19:41:42 hfalk Exp $
25  */

26 public class ProductStepLicenseNode extends AbstractVAIProductNode {
27
28     ProductStepLicensePanel panel = null;
29
30     private final static Border loweredBorder = new SoftBevelBorder(BevelBorder.LOWERED);
31
32     public ProductStepLicenseNode() {
33         super();
34     }
35
36     public String JavaDoc getName() {
37         return "License";
38     }
39
40     public JPanel getUI() {
41         if (panel == null) {
42             panel = new ProductStepLicensePanel();
43             panel.setBorder(loweredBorder);
44         }
45
46         return panel;
47     }
48
49     public String JavaDoc getTitle() {
50         return "License Step";
51     }
52
53     public ImageIcon getIcon() {
54         return new javax.swing.ImageIcon JavaDoc(getClass().getResource("/com/memoire/vainstall/builder/images/New16.gif"));
55     }
56
57     public void start() {
58         ((ProductStepLicensePanel)getUI()).initialize(getModel());
59     }
60
61     public void stop() {
62         ((ProductStepLicensePanel)getUI()).stop();
63     }
64
65     public void save() {
66     }
67
68     public JPopupMenu getPopupMenu() {
69         return null;
70     }
71
72 }
73
Popular Tags