Mercurial > projects > dwt-mac
comparison dwt/accessibility/AccessibleEvent.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 |
---|---|
40 * before the accessible listener method is called. | 40 * before the accessible listener method is called. |
41 * ChildID can be CHILDID_SELF, representing the control itself, | 41 * ChildID can be CHILDID_SELF, representing the control itself, |
42 * or a 0-based integer representing a specific child of the control. | 42 * or a 0-based integer representing a specific child of the control. |
43 */ | 43 */ |
44 public int childID; | 44 public int childID; |
45 | |
46 /** | |
47 * The value of this field must be set in the accessible listener | |
48 * method before returning. | |
49 * What to set it to depends on the listener method called, and | |
50 * the childID specified by the client. | |
51 */ | |
52 public String result; | |
45 | 53 |
46 /** | 54 static const long serialVersionUID = 3257567304224026934L; |
47 * The value of this field must be set in the accessible listener | |
48 * method before returning. | |
49 * What to set it to depends on the listener method called, and | |
50 * the childID specified by the client. | |
51 */ | |
52 public String result; | |
53 | 55 |
54 static const long serialVersionUID = 3257567304224026934L; | 56 /** |
57 * Constructs a new instance of this class. | |
58 * | |
59 * @param source the object that fired the event | |
60 */ | |
61 public this (Object source) { | |
62 super(source); | |
63 } | |
55 | 64 |
56 /** | 65 /** |
57 * Constructs a new instance of this class. | 66 * Returns a string containing a concise, human-readable |
58 * | 67 * description of the receiver. |
59 * @param source the object that fired the event | 68 * |
60 */ | 69 * @return a string representation of the event |
61 public this (Object source) { | 70 */ |
62 super(source); | 71 public String toString () { |
63 } | 72 return Format("AccessibleEvent {childID={}{}{}{}" , childID , " result=" , result , "}"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ |
64 | |
65 /** | |
66 * Returns a string containing a concise, human-readable | |
67 * description of the receiver. | |
68 * | |
69 * @return a string representation of the event | |
70 */ | |
71 public String toString () { | |
72 return Format("AccessibleEvent {childID={}{}{}{}" , childID , " result=" , result , "}"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ | |
73 } | |
74 } | 73 } |
74 } |