KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tonbeller > wcf > popup > MenuItemSupport


1 /*
2  * Copyright (c) 1971-2003 TONBELLER AG, Bensheim.
3  * All rights reserved.
4  */

5 package com.tonbeller.wcf.popup;
6
7
8
9 public class MenuItemSupport extends ItemSupport implements MenuItem {
10   String JavaDoc href;
11   
12   public MenuItemSupport(String JavaDoc href) {
13     this.href = href;
14   }
15
16   public MenuItemSupport(String JavaDoc href, String JavaDoc label) {
17     this(href);
18     setLabel(label);
19   }
20
21   public MenuItemSupport(String JavaDoc href, String JavaDoc label, String JavaDoc image) {
22     this(href, label);
23     setImage(image);
24   }
25
26   public String JavaDoc getHref() {
27     return href;
28   }
29
30   public void setHref(String JavaDoc href) {
31     this.href = href;
32   }
33
34
35 }
36
Popular Tags