comparison dwt/events/MouseEvent.d @ 212:ab60f3309436

reverted the char[] to String and use the an alias.
author Frank Benoit <benoit@tionex.de>
date Mon, 05 May 2008 00:12:38 +0200
parents bef1ed4ebc50
children fd9c62a2998e
comparison
equal deleted inserted replaced
211:ff59aeb96cac 212:ab60f3309436
15 15
16 import dwt.widgets.Event; 16 import dwt.widgets.Event;
17 import dwt.events.TypedEvent; 17 import dwt.events.TypedEvent;
18 18
19 import tango.text.convert.Format; 19 import tango.text.convert.Format;
20 import dwt.dwthelper.utils;
20 21
21 /** 22 /**
22 * Instances of this class are sent whenever mouse 23 * Instances of this class are sent whenever mouse
23 * related actions occur. This includes mouse buttons 24 * related actions occur. This includes mouse buttons
24 * being pressed and released, the mouse pointer being 25 * being pressed and released, the mouse pointer being
91 * Returns a string containing a concise, human-readable 92 * Returns a string containing a concise, human-readable
92 * description of the receiver. 93 * description of the receiver.
93 * 94 *
94 * @return a string representation of the event 95 * @return a string representation of the event
95 */ 96 */
96 public override char[] toString() { 97 public override String toString() {
97 return Format( "{} button={} stateMask={} x={} y={} count={}}", 98 return Format( "{} button={} stateMask={} x={} y={} count={}}",
98 super.toString[ 0 .. $-1 ], 99 super.toString[ 0 .. $-1 ],
99 button, stateMask, x, y, count ); 100 button, stateMask, x, y, count );
100 } 101 }
101 } 102 }