Mercurial > projects > dwt2
view base/src/java/util/EventObject.d @ 27:1bf55a6eb092
Renamed java tree to base
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sat, 21 Mar 2009 11:33:57 +0100 |
parents | java/src/java/util/EventObject.d@712ffca654f3 |
children |
line wrap: on
line source
module java.util.EventObject; import java.lang.all; class EventObject { protected Object source; public this(Object source) { if (source is null) throw new IllegalArgumentException( "null arg" ); this.source = source; } public Object getSource() { return source; } public override String toString() { return this.classinfo.name ~ "[source=" ~ source.toString() ~ "]"; } }