KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > JSci > beans > VariableEvent


1 package JSci.beans;
2
3 import java.util.EventObject JavaDoc;
4
5 public final class VariableEvent extends EventObject JavaDoc {
6         private String JavaDoc variable;
7         private Object JavaDoc value;
8
9         public VariableEvent(Object JavaDoc src,String JavaDoc var,Object JavaDoc val) {
10                 super(src);
11                 variable=var;
12                 value=val;
13         }
14         public String JavaDoc getVariable() {
15                 return variable;
16         }
17         public Object JavaDoc getValue() {
18                 return value;
19         }
20 }
21
22
Popular Tags