KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > cve > core > elementLDL > DescrCveMenu


1 package cve.core.elementLDL;
2
3 import cve.osservatori.*;
4
5 import java.awt.*;
6 import java.awt.event.*;
7
8 import java.util.*;
9
10 import javax.swing.*;
11
12 public class DescrCveMenu {
13
14     private Vector item;
15     private String JavaDoc name;
16     
17     public DescrCveMenu(){
18         item=new Vector();
19     }
20
21   public void addItem(DescrCveItem dCveI){
22         item.add(dCveI);
23     }
24     
25     public void setName(String JavaDoc name){
26         this.name=name;
27     }
28     
29     public String JavaDoc getName(){
30         return name;
31     }
32     
33     public Collection getAll(){
34         return(item);
35     }
36
37 }
38
39
40
41
Popular Tags