Mercurial > projects > dwt-mac
comparison dwt/accessibility/AccessibleTextEvent.d @ 123:63a09873578e
Fixed compile errors
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Thu, 15 Jan 2009 23:08:54 +0100 |
parents | d8635bb48c7c |
children |
comparison
equal
deleted
inserted
replaced
122:2e671fa40eec | 123:63a09873578e |
---|---|
37 * @since 3.0 | 37 * @since 3.0 |
38 */ | 38 */ |
39 public class AccessibleTextEvent : DWTEventObject { | 39 public class AccessibleTextEvent : DWTEventObject { |
40 public int childID; // IN | 40 public int childID; // IN |
41 public int offset, length; // OUT | 41 public int offset, length; // OUT |
42 | |
43 static const long serialVersionUID = 3977019530868308275L; | |
44 | |
45 /** | |
46 * Constructs a new instance of this class. | |
47 * | |
48 * @param source the object that fired the event | |
49 */ | |
50 public this (Object source) { | |
51 super(source); | |
52 } | |
42 | 53 |
43 static const long serialVersionUID = 3977019530868308275L; | 54 /** |
44 | 55 * Returns a string containing a concise, human-readable |
45 /** | 56 * description of the receiver. |
46 * Constructs a new instance of this class. | 57 * |
47 * | 58 * @return a string representation of the event |
48 * @param source the object that fired the event | 59 */ |
49 */ | 60 public String toString () { |
50 public this (Object source) { | 61 return Format("AccessibleTextEvent {childID={}{}{}{}{}{}" , childID , //$NON-NLS-1$ |
51 super(source); | 62 " offset=" , offset , //$NON-NLS-1$ |
52 } | 63 " length=" , length , //$NON-NLS-1$ |
53 | 64 "}"); //$NON-NLS-1$ |
54 /** | |
55 * Returns a string containing a concise, human-readable | |
56 * description of the receiver. | |
57 * | |
58 * @return a string representation of the event | |
59 */ | |
60 public String toString () { | |
61 return Format("AccessibleTextEvent {childID={}{}{}{}{}{}" , childID , //$NON-NLS-1$ | |
62 " offset=" , offset , //$NON-NLS-1$ | |
63 " length=" , length , //$NON-NLS-1$ | |
64 "}"); //$NON-NLS-1$ | |
65 } | |
66 } | 65 } |
66 } |