01: /*
02: * Created on Mar 26, 2004
03: *
04: * To change the template for this generated file go to
05: * Window>Preferences>Java>Code Generation>Code and Comments
06: */
07: package com.pk;
08:
09: import javax.swing.Action;
10: import javax.swing.Icon;
11: import javax.swing.JMenuItem;
12:
13: /**
14: * @author Isabelle
15: *
16: * To change the template for this generated type comment go to
17: * Window>Preferences>Java>Code Generation>Code and Comments
18: */
19: public class WindowJMenuItem extends JMenuItem {
20: /**
21: *
22: */
23: private static final long serialVersionUID = 4505484817449760309L;
24: private int windowIndex = 0;
25:
26: /**
27: *
28: */
29: public WindowJMenuItem() {
30: super ();
31: }
32:
33: /**
34: * @param arg0
35: */
36: public WindowJMenuItem(String arg0) {
37: super (arg0);
38: }
39:
40: public WindowJMenuItem(String arg0, int argWindowIndex) {
41: super (arg0);
42: }
43:
44: /**
45: * @param arg0
46: * @param arg1
47: */
48:
49: /**
50: * @param arg0
51: */
52: public WindowJMenuItem(Action arg0) {
53: super (arg0);
54:
55: }
56:
57: /**
58: * @param arg0
59: */
60: public WindowJMenuItem(Icon arg0) {
61: super (arg0);
62:
63: }
64:
65: /**
66: * @param arg0
67: * @param arg1
68: */
69: public WindowJMenuItem(String arg0, Icon arg1) {
70: super (arg0, arg1);
71:
72: }
73:
74: /**
75: * @return
76: */
77: public int getWindowIndex() {
78: return windowIndex;
79: }
80:
81: /**
82: * @param i
83: */
84: public void setWindowIndex(int i) {
85: windowIndex = i;
86: }
87:
88: }
|