Mercurial > projects > dwt-mac
comparison dwt/accessibility/AccessibleControlEvent.d @ 37:642f460a0908
Fixed a lot of compile errors, a "hello world" app compiles now
author | Jacob Carlborg <doob@me.com> <jacob.carlborg@gmail.com> |
---|---|
date | Fri, 10 Oct 2008 12:29:48 +0200 |
parents | f565d3a95c0a |
children | d8635bb48c7c |
comparison
equal
deleted
inserted
replaced
36:db5a898b2119 | 37:642f460a0908 |
---|---|
11 * Port to the D programming language: | 11 * Port to the D programming language: |
12 * Jacob Carlborg <jacob.carlborg@gmail.com> | 12 * Jacob Carlborg <jacob.carlborg@gmail.com> |
13 *******************************************************************************/ | 13 *******************************************************************************/ |
14 module dwt.accessibility.AccessibleControlEvent; | 14 module dwt.accessibility.AccessibleControlEvent; |
15 | 15 |
16 import dwt.internal.DWTEventObject; | |
17 | |
18 import tango.text.convert.Format; | |
19 | |
16 import dwt.accessibility.Accessible; | 20 import dwt.accessibility.Accessible; |
17 import dwt.dwthelper.utils; | 21 import dwt.dwthelper.utils; |
18 import dwt.internal.DWTEventObject; | |
19 | 22 |
20 /** | 23 /** |
21 * Instances of this class are sent as a result of | 24 * Instances of this class are sent as a result of |
22 * accessibility clients sending messages to controls | 25 * accessibility clients sending messages to controls |
23 * asking for detailed information about the implementation | 26 * asking for detailed information about the implementation |
58 * description of the receiver. | 61 * description of the receiver. |
59 * | 62 * |
60 * @return a String representation of the event | 63 * @return a String representation of the event |
61 */ | 64 */ |
62 public String toString () { | 65 public String toString () { |
63 return "AccessibleControlEvent {childID=" + childID + //$NON-NLS-1$ | 66 return Format("AccessibleControlEvent {childID={}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}" , childID , //$NON-NLS-1$ |
64 " accessible=" + accessible + //$NON-NLS-1$ | 67 " accessible=" , accessible , //$NON-NLS-1$ |
65 " x=" + x + //$NON-NLS-1$ | 68 " x=" , x , //$NON-NLS-1$ |
66 " y=" + y + //$NON-NLS-1$ | 69 " y=" , y , //$NON-NLS-1$ |
67 " width=" + width + //$NON-NLS-1$ | 70 " width=" , width , //$NON-NLS-1$ |
68 " height=" + height + //$NON-NLS-1$ | 71 " height=" , height , //$NON-NLS-1$ |
69 " detail=" + detail + //$NON-NLS-1$ | 72 " detail=" , detail , //$NON-NLS-1$ |
70 " result=" + result + //$NON-NLS-1$ | 73 " result=" , result , //$NON-NLS-1$ |
71 "}"; //$NON-NLS-1$ | 74 "}"); //$NON-NLS-1$ |
72 } | 75 } |
73 } | 76 } |