01: /*
02: * Tester1Event.java --
03: *
04: * This is an event object that tests the java::bind and java::event
05: * commands.
06: *
07: * Copyright (c) 1997 Sun Microsystems, Inc.
08: *
09: * See the file "license.terms" for information on usage and
10: * redistribution of this file, and for a DISCLAIMER OF ALL
11: * WARRANTIES.
12: *
13: * RCS: @(#) $Id: Tester1Event.java,v 1.1 1999/05/10 04:09:00 dejong Exp $
14: */
15:
16: package tcl.lang;
17:
18: import java.util.*;
19:
20: public class Tester1Event extends EventObject {
21:
22: public Tester1Event(Object source) {
23: super (source);
24: }
25:
26: public int getIntValue() {
27: return 1234;
28: }
29:
30: public String getStringValue() {
31: return "string value";
32: }
33:
34: public String getStringValue_null() {
35: return null;
36: }
37:
38: public String getStringValue_empty() {
39: return "";
40: }
41:
42: public Object getObjectValue_null() {
43: return null;
44: }
45:
46: } // end Tester1Event
|