Mercurial > projects > dwt-mac
comparison dwt/accessibility/AccessibleControlAdapter.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 |
---|---|
42 * @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a> | 42 * @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a> |
43 * | 43 * |
44 * @since 2.0 | 44 * @since 2.0 |
45 */ | 45 */ |
46 public abstract class AccessibleControlAdapter : AccessibleControlListener { | 46 public abstract class AccessibleControlAdapter : AccessibleControlListener { |
47 | 47 |
48 /** | 48 /** |
49 * Sent when an accessibility client requests the identifier | 49 * Sent when an accessibility client requests the identifier |
50 * of the control child at the specified display coordinates. | 50 * of the control child at the specified display coordinates. |
51 * The default behavior is to do nothing. | 51 * The default behavior is to do nothing. |
52 * <p> | 52 * <p> |
63 * <li>accessible [Optional OUT] - the accessible object for the control or child may be returned instead of the childID</li> | 63 * <li>accessible [Optional OUT] - the accessible object for the control or child may be returned instead of the childID</li> |
64 * </ul> | 64 * </ul> |
65 */ | 65 */ |
66 public void getChildAtPoint (AccessibleControlEvent e) { | 66 public void getChildAtPoint (AccessibleControlEvent e) { |
67 } | 67 } |
68 | 68 |
69 /** | 69 /** |
70 * Sent when an accessibility client requests the location | 70 * Sent when an accessibility client requests the location |
71 * of the control, or the location of a child of the control. | 71 * of the control, or the location of a child of the control. |
72 * The default behavior is to do nothing. | 72 * The default behavior is to do nothing. |
73 * <p> | 73 * <p> |
81 * <li>x, y, width, height [OUT] - the control or child location in display coordinates</li> | 81 * <li>x, y, width, height [OUT] - the control or child location in display coordinates</li> |
82 * </ul> | 82 * </ul> |
83 */ | 83 */ |
84 public void getLocation (AccessibleControlEvent e) { | 84 public void getLocation (AccessibleControlEvent e) { |
85 } | 85 } |
86 | 86 |
87 /** | 87 /** |
88 * Sent when an accessibility client requests the accessible object | 88 * Sent when an accessibility client requests the accessible object |
89 * for a child of the control. | 89 * for a child of the control. |
90 * The default behavior is to do nothing. | 90 * The default behavior is to do nothing. |
91 * <p> | 91 * <p> |
100 * <li>accessible [OUT] - an Accessible for the specified childID, or null if one does not exist</li> | 100 * <li>accessible [OUT] - an Accessible for the specified childID, or null if one does not exist</li> |
101 * </ul> | 101 * </ul> |
102 */ | 102 */ |
103 public void getChild (AccessibleControlEvent e) { | 103 public void getChild (AccessibleControlEvent e) { |
104 } | 104 } |
105 | 105 |
106 /** | 106 /** |
107 * Sent when an accessibility client requests the number of | 107 * Sent when an accessibility client requests the number of |
108 * children in the control. | 108 * children in the control. |
109 * The default behavior is to do nothing. | 109 * The default behavior is to do nothing. |
110 * <p> | 110 * <p> |
116 * <li>detail [OUT] - the number of child items in this control</li> | 116 * <li>detail [OUT] - the number of child items in this control</li> |
117 * </ul> | 117 * </ul> |
118 */ | 118 */ |
119 public void getChildCount (AccessibleControlEvent e) { | 119 public void getChildCount (AccessibleControlEvent e) { |
120 } | 120 } |
121 | 121 |
122 /** | 122 /** |
123 * Sent when an accessibility client requests the default action | 123 * Sent when an accessibility client requests the default action |
124 * of the control, or the default action of a child of the control. | 124 * of the control, or the default action of a child of the control. |
125 * The default behavior is to do nothing. | 125 * The default behavior is to do nothing. |
126 * <p> | 126 * <p> |
138 * <li>result [OUT] - the requested default action String, or null</li> | 138 * <li>result [OUT] - the requested default action String, or null</li> |
139 * </ul> | 139 * </ul> |
140 */ | 140 */ |
141 public void getDefaultAction (AccessibleControlEvent e) { | 141 public void getDefaultAction (AccessibleControlEvent e) { |
142 } | 142 } |
143 | 143 |
144 /** | 144 /** |
145 * Sent when an accessibility client requests the identity of | 145 * Sent when an accessibility client requests the identity of |
146 * the child or control that has keyboard focus. | 146 * the child or control that has keyboard focus. |
147 * The default behavior is to do nothing. | 147 * The default behavior is to do nothing. |
148 * <p> | 148 * <p> |
157 * <li>accessible [Optional OUT] - the accessible object for a child may be returned instead of its childID</li> | 157 * <li>accessible [Optional OUT] - the accessible object for a child may be returned instead of its childID</li> |
158 * </ul> | 158 * </ul> |
159 */ | 159 */ |
160 public void getFocus (AccessibleControlEvent e) { | 160 public void getFocus (AccessibleControlEvent e) { |
161 } | 161 } |
162 | 162 |
163 /** | 163 /** |
164 * Sent when an accessibility client requests the role | 164 * Sent when an accessibility client requests the role |
165 * of the control, or the role of a child of the control. | 165 * of the control, or the role of a child of the control. |
166 * The default behavior is to do nothing. | 166 * The default behavior is to do nothing. |
167 * <p> | 167 * <p> |
175 * <li>detail [OUT] - a role constant describing the role of the control or child</li> | 175 * <li>detail [OUT] - a role constant describing the role of the control or child</li> |
176 * </ul> | 176 * </ul> |
177 */ | 177 */ |
178 public void getRole (AccessibleControlEvent e) { | 178 public void getRole (AccessibleControlEvent e) { |
179 } | 179 } |
180 | 180 |
181 /** | 181 /** |
182 * Sent when an accessibility client requests the identity of | 182 * Sent when an accessibility client requests the identity of |
183 * the child or control that is currently selected. | 183 * the child or control that is currently selected. |
184 * The default behavior is to do nothing. | 184 * The default behavior is to do nothing. |
185 * <p> | 185 * <p> |
195 * <li>accessible [Optional OUT] - the accessible object for the control or child may be returned instead of the childID</li> | 195 * <li>accessible [Optional OUT] - the accessible object for the control or child may be returned instead of the childID</li> |
196 * </ul> | 196 * </ul> |
197 */ | 197 */ |
198 public void getSelection (AccessibleControlEvent e) { | 198 public void getSelection (AccessibleControlEvent e) { |
199 } | 199 } |
200 | 200 |
201 /** | 201 /** |
202 * Sent when an accessibility client requests the state | 202 * Sent when an accessibility client requests the state |
203 * of the control, or the state of a child of the control. | 203 * of the control, or the state of a child of the control. |
204 * The default behavior is to do nothing. | 204 * The default behavior is to do nothing. |
205 * <p> | 205 * <p> |
213 * <li>detail [OUT] - a state mask describing the current state of the control or child</li> | 213 * <li>detail [OUT] - a state mask describing the current state of the control or child</li> |
214 * </ul> | 214 * </ul> |
215 */ | 215 */ |
216 public void getState (AccessibleControlEvent e) { | 216 public void getState (AccessibleControlEvent e) { |
217 } | 217 } |
218 | 218 |
219 /** | 219 /** |
220 * Sent when an accessibility client requests the value | 220 * Sent when an accessibility client requests the value |
221 * of the control, or the value of a child of the control. | 221 * of the control, or the value of a child of the control. |
222 * The default behavior is to do nothing. | 222 * The default behavior is to do nothing. |
223 * <p> | 223 * <p> |
237 * <li>result [OUT] - the requested value String, or null</li> | 237 * <li>result [OUT] - the requested value String, or null</li> |
238 * </ul> | 238 * </ul> |
239 */ | 239 */ |
240 public void getValue (AccessibleControlEvent e) { | 240 public void getValue (AccessibleControlEvent e) { |
241 } | 241 } |
242 | 242 |
243 /** | 243 /** |
244 * Sent when an accessibility client requests the children of the control. | 244 * Sent when an accessibility client requests the children of the control. |
245 * The default behavior is to do nothing. | 245 * The default behavior is to do nothing. |
246 * <p> | 246 * <p> |
247 * Return the children as an array of childIDs in the <code>children</code> | 247 * Return the children as an array of childIDs in the <code>children</code> |