Changeset 310:d650eede28b3 for dwt/internal/DWTEventObject.d
- Timestamp:
- 09/14/08 21:41:14 (4 months ago)
- Files:
-
- dwt/internal/DWTEventObject.d (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
dwt/internal/DWTEventObject.d
r212 r310 17 17 import tango.core.Exception; 18 18 import dwt.dwthelper.utils; 19 20 /+21 ///PORTING_TYPE22 class EventObject : EventObject {23 protected Object source;24 25 public this(Object source) {26 if (source is null)27 throw new IllegalArgumentException( "null arg" );28 this.source = source;29 }30 31 public Object getSource() {32 return source;33 }34 35 public override String toString() {36 return this.classinfo.name ~ "[source=" ~ source.toString() ~ "]";37 }38 }39 40 +/41 42 19 43 20 /**
