1 // EventObject.java - Represent events fired by objects.
3 /* Copyright (C) 1998, 1999 Red Hat, Inc.
5 This file is part of libgcj.
7 This software is copyrighted work licensed under the terms of the
8 Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
14 * @author Tom Tromey <tromey@cygnus.com>
15 * @date December 12, 1998
17 /* Written using "Java Class Libraries", 2nd edition, ISBN 0-201-31002-3
18 * "The Java Language Specification", ISBN 0-201-63451-1
19 * Status: Believed complete, but not fully correct.
22 public class EventObject
implements java
.io
.Serializable
24 public EventObject (Object source
)
29 public Object
getSource ()
34 public String
toString ()
37 return getSource().toString();
40 // Source of the event.
41 protected transient Object source
;