166
166
return getStaticValueSlot<JSSVGElementInstance, Base>(exec, &JSSVGElementInstanceTable, this, propertyName, slot);
169
JSValuePtr jsSVGElementInstanceCorrespondingElement(ExecState* exec, const Identifier&, const PropertySlot& slot)
171
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()))->impl());
172
return toJS(exec, WTF::getPtr(imp->correspondingElement()));
175
JSValuePtr jsSVGElementInstanceCorrespondingUseElement(ExecState* exec, const Identifier&, const PropertySlot& slot)
177
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()))->impl());
178
return toJS(exec, WTF::getPtr(imp->correspondingUseElement()));
181
JSValuePtr jsSVGElementInstanceParentNode(ExecState* exec, const Identifier&, const PropertySlot& slot)
183
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()))->impl());
184
return toJS(exec, WTF::getPtr(imp->parentNode()));
187
JSValuePtr jsSVGElementInstanceChildNodes(ExecState* exec, const Identifier&, const PropertySlot& slot)
189
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()))->impl());
190
return toJS(exec, WTF::getPtr(imp->childNodes()));
193
JSValuePtr jsSVGElementInstanceFirstChild(ExecState* exec, const Identifier&, const PropertySlot& slot)
195
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()))->impl());
196
return toJS(exec, WTF::getPtr(imp->firstChild()));
199
JSValuePtr jsSVGElementInstanceLastChild(ExecState* exec, const Identifier&, const PropertySlot& slot)
201
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()))->impl());
202
return toJS(exec, WTF::getPtr(imp->lastChild()));
205
JSValuePtr jsSVGElementInstancePreviousSibling(ExecState* exec, const Identifier&, const PropertySlot& slot)
207
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()))->impl());
208
return toJS(exec, WTF::getPtr(imp->previousSibling()));
211
JSValuePtr jsSVGElementInstanceNextSibling(ExecState* exec, const Identifier&, const PropertySlot& slot)
213
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()))->impl());
214
return toJS(exec, WTF::getPtr(imp->nextSibling()));
217
JSValuePtr jsSVGElementInstanceOnabort(ExecState* exec, const Identifier&, const PropertySlot& slot)
219
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()))->impl());
220
if (JSEventListener* listener = static_cast<JSEventListener*>(imp->onabort())) {
221
if (JSObject* listenerObj = listener->listenerObj())
227
JSValuePtr jsSVGElementInstanceOnblur(ExecState* exec, const Identifier&, const PropertySlot& slot)
229
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()))->impl());
230
if (JSEventListener* listener = static_cast<JSEventListener*>(imp->onblur())) {
231
if (JSObject* listenerObj = listener->listenerObj())
237
JSValuePtr jsSVGElementInstanceOnchange(ExecState* exec, const Identifier&, const PropertySlot& slot)
239
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()))->impl());
240
if (JSEventListener* listener = static_cast<JSEventListener*>(imp->onchange())) {
241
if (JSObject* listenerObj = listener->listenerObj())
247
JSValuePtr jsSVGElementInstanceOnclick(ExecState* exec, const Identifier&, const PropertySlot& slot)
249
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()))->impl());
250
if (JSEventListener* listener = static_cast<JSEventListener*>(imp->onclick())) {
251
if (JSObject* listenerObj = listener->listenerObj())
257
JSValuePtr jsSVGElementInstanceOncontextmenu(ExecState* exec, const Identifier&, const PropertySlot& slot)
259
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()))->impl());
260
if (JSEventListener* listener = static_cast<JSEventListener*>(imp->oncontextmenu())) {
261
if (JSObject* listenerObj = listener->listenerObj())
267
JSValuePtr jsSVGElementInstanceOndblclick(ExecState* exec, const Identifier&, const PropertySlot& slot)
269
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()))->impl());
270
if (JSEventListener* listener = static_cast<JSEventListener*>(imp->ondblclick())) {
271
if (JSObject* listenerObj = listener->listenerObj())
277
JSValuePtr jsSVGElementInstanceOnerror(ExecState* exec, const Identifier&, const PropertySlot& slot)
279
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()))->impl());
280
if (JSEventListener* listener = static_cast<JSEventListener*>(imp->onerror())) {
281
if (JSObject* listenerObj = listener->listenerObj())
287
JSValuePtr jsSVGElementInstanceOnfocus(ExecState* exec, const Identifier&, const PropertySlot& slot)
289
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()))->impl());
290
if (JSEventListener* listener = static_cast<JSEventListener*>(imp->onfocus())) {
291
if (JSObject* listenerObj = listener->listenerObj())
297
JSValuePtr jsSVGElementInstanceOninput(ExecState* exec, const Identifier&, const PropertySlot& slot)
299
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()))->impl());
300
if (JSEventListener* listener = static_cast<JSEventListener*>(imp->oninput())) {
301
if (JSObject* listenerObj = listener->listenerObj())
307
JSValuePtr jsSVGElementInstanceOnkeydown(ExecState* exec, const Identifier&, const PropertySlot& slot)
309
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()))->impl());
310
if (JSEventListener* listener = static_cast<JSEventListener*>(imp->onkeydown())) {
311
if (JSObject* listenerObj = listener->listenerObj())
317
JSValuePtr jsSVGElementInstanceOnkeypress(ExecState* exec, const Identifier&, const PropertySlot& slot)
319
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()))->impl());
320
if (JSEventListener* listener = static_cast<JSEventListener*>(imp->onkeypress())) {
321
if (JSObject* listenerObj = listener->listenerObj())
327
JSValuePtr jsSVGElementInstanceOnkeyup(ExecState* exec, const Identifier&, const PropertySlot& slot)
329
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()))->impl());
330
if (JSEventListener* listener = static_cast<JSEventListener*>(imp->onkeyup())) {
331
if (JSObject* listenerObj = listener->listenerObj())
337
JSValuePtr jsSVGElementInstanceOnload(ExecState* exec, const Identifier&, const PropertySlot& slot)
339
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()))->impl());
340
if (JSEventListener* listener = static_cast<JSEventListener*>(imp->onload())) {
341
if (JSObject* listenerObj = listener->listenerObj())
347
JSValuePtr jsSVGElementInstanceOnmousedown(ExecState* exec, const Identifier&, const PropertySlot& slot)
349
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()))->impl());
350
if (JSEventListener* listener = static_cast<JSEventListener*>(imp->onmousedown())) {
351
if (JSObject* listenerObj = listener->listenerObj())
357
JSValuePtr jsSVGElementInstanceOnmousemove(ExecState* exec, const Identifier&, const PropertySlot& slot)
359
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()))->impl());
360
if (JSEventListener* listener = static_cast<JSEventListener*>(imp->onmousemove())) {
361
if (JSObject* listenerObj = listener->listenerObj())
367
JSValuePtr jsSVGElementInstanceOnmouseout(ExecState* exec, const Identifier&, const PropertySlot& slot)
369
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()))->impl());
370
if (JSEventListener* listener = static_cast<JSEventListener*>(imp->onmouseout())) {
371
if (JSObject* listenerObj = listener->listenerObj())
377
JSValuePtr jsSVGElementInstanceOnmouseover(ExecState* exec, const Identifier&, const PropertySlot& slot)
379
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()))->impl());
380
if (JSEventListener* listener = static_cast<JSEventListener*>(imp->onmouseover())) {
381
if (JSObject* listenerObj = listener->listenerObj())
387
JSValuePtr jsSVGElementInstanceOnmouseup(ExecState* exec, const Identifier&, const PropertySlot& slot)
389
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()))->impl());
390
if (JSEventListener* listener = static_cast<JSEventListener*>(imp->onmouseup())) {
391
if (JSObject* listenerObj = listener->listenerObj())
397
JSValuePtr jsSVGElementInstanceOnmousewheel(ExecState* exec, const Identifier&, const PropertySlot& slot)
399
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()))->impl());
400
if (JSEventListener* listener = static_cast<JSEventListener*>(imp->onmousewheel())) {
401
if (JSObject* listenerObj = listener->listenerObj())
407
JSValuePtr jsSVGElementInstanceOnbeforecut(ExecState* exec, const Identifier&, const PropertySlot& slot)
409
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()))->impl());
410
if (JSEventListener* listener = static_cast<JSEventListener*>(imp->onbeforecut())) {
411
if (JSObject* listenerObj = listener->listenerObj())
417
JSValuePtr jsSVGElementInstanceOncut(ExecState* exec, const Identifier&, const PropertySlot& slot)
419
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()))->impl());
420
if (JSEventListener* listener = static_cast<JSEventListener*>(imp->oncut())) {
421
if (JSObject* listenerObj = listener->listenerObj())
427
JSValuePtr jsSVGElementInstanceOnbeforecopy(ExecState* exec, const Identifier&, const PropertySlot& slot)
429
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()))->impl());
430
if (JSEventListener* listener = static_cast<JSEventListener*>(imp->onbeforecopy())) {
431
if (JSObject* listenerObj = listener->listenerObj())
437
JSValuePtr jsSVGElementInstanceOncopy(ExecState* exec, const Identifier&, const PropertySlot& slot)
439
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()))->impl());
440
if (JSEventListener* listener = static_cast<JSEventListener*>(imp->oncopy())) {
441
if (JSObject* listenerObj = listener->listenerObj())
447
JSValuePtr jsSVGElementInstanceOnbeforepaste(ExecState* exec, const Identifier&, const PropertySlot& slot)
449
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()))->impl());
450
if (JSEventListener* listener = static_cast<JSEventListener*>(imp->onbeforepaste())) {
451
if (JSObject* listenerObj = listener->listenerObj())
457
JSValuePtr jsSVGElementInstanceOnpaste(ExecState* exec, const Identifier&, const PropertySlot& slot)
459
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()))->impl());
460
if (JSEventListener* listener = static_cast<JSEventListener*>(imp->onpaste())) {
461
if (JSObject* listenerObj = listener->listenerObj())
467
JSValuePtr jsSVGElementInstanceOndragenter(ExecState* exec, const Identifier&, const PropertySlot& slot)
469
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()))->impl());
470
if (JSEventListener* listener = static_cast<JSEventListener*>(imp->ondragenter())) {
471
if (JSObject* listenerObj = listener->listenerObj())
477
JSValuePtr jsSVGElementInstanceOndragover(ExecState* exec, const Identifier&, const PropertySlot& slot)
479
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()))->impl());
480
if (JSEventListener* listener = static_cast<JSEventListener*>(imp->ondragover())) {
481
if (JSObject* listenerObj = listener->listenerObj())
487
JSValuePtr jsSVGElementInstanceOndragleave(ExecState* exec, const Identifier&, const PropertySlot& slot)
489
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()))->impl());
490
if (JSEventListener* listener = static_cast<JSEventListener*>(imp->ondragleave())) {
491
if (JSObject* listenerObj = listener->listenerObj())
497
JSValuePtr jsSVGElementInstanceOndrop(ExecState* exec, const Identifier&, const PropertySlot& slot)
499
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()))->impl());
500
if (JSEventListener* listener = static_cast<JSEventListener*>(imp->ondrop())) {
501
if (JSObject* listenerObj = listener->listenerObj())
507
JSValuePtr jsSVGElementInstanceOndragstart(ExecState* exec, const Identifier&, const PropertySlot& slot)
509
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()))->impl());
510
if (JSEventListener* listener = static_cast<JSEventListener*>(imp->ondragstart())) {
511
if (JSObject* listenerObj = listener->listenerObj())
517
JSValuePtr jsSVGElementInstanceOndrag(ExecState* exec, const Identifier&, const PropertySlot& slot)
519
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()))->impl());
520
if (JSEventListener* listener = static_cast<JSEventListener*>(imp->ondrag())) {
521
if (JSObject* listenerObj = listener->listenerObj())
527
JSValuePtr jsSVGElementInstanceOndragend(ExecState* exec, const Identifier&, const PropertySlot& slot)
529
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()))->impl());
530
if (JSEventListener* listener = static_cast<JSEventListener*>(imp->ondragend())) {
531
if (JSObject* listenerObj = listener->listenerObj())
537
JSValuePtr jsSVGElementInstanceOnreset(ExecState* exec, const Identifier&, const PropertySlot& slot)
539
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()))->impl());
540
if (JSEventListener* listener = static_cast<JSEventListener*>(imp->onreset())) {
541
if (JSObject* listenerObj = listener->listenerObj())
547
JSValuePtr jsSVGElementInstanceOnresize(ExecState* exec, const Identifier&, const PropertySlot& slot)
549
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()))->impl());
550
if (JSEventListener* listener = static_cast<JSEventListener*>(imp->onresize())) {
551
if (JSObject* listenerObj = listener->listenerObj())
557
JSValuePtr jsSVGElementInstanceOnscroll(ExecState* exec, const Identifier&, const PropertySlot& slot)
559
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()))->impl());
560
if (JSEventListener* listener = static_cast<JSEventListener*>(imp->onscroll())) {
561
if (JSObject* listenerObj = listener->listenerObj())
567
JSValuePtr jsSVGElementInstanceOnsearch(ExecState* exec, const Identifier&, const PropertySlot& slot)
569
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()))->impl());
570
if (JSEventListener* listener = static_cast<JSEventListener*>(imp->onsearch())) {
571
if (JSObject* listenerObj = listener->listenerObj())
577
JSValuePtr jsSVGElementInstanceOnselect(ExecState* exec, const Identifier&, const PropertySlot& slot)
579
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()))->impl());
580
if (JSEventListener* listener = static_cast<JSEventListener*>(imp->onselect())) {
581
if (JSObject* listenerObj = listener->listenerObj())
587
JSValuePtr jsSVGElementInstanceOnselectstart(ExecState* exec, const Identifier&, const PropertySlot& slot)
589
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()))->impl());
590
if (JSEventListener* listener = static_cast<JSEventListener*>(imp->onselectstart())) {
591
if (JSObject* listenerObj = listener->listenerObj())
597
JSValuePtr jsSVGElementInstanceOnsubmit(ExecState* exec, const Identifier&, const PropertySlot& slot)
599
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()))->impl());
600
if (JSEventListener* listener = static_cast<JSEventListener*>(imp->onsubmit())) {
601
if (JSObject* listenerObj = listener->listenerObj())
607
JSValuePtr jsSVGElementInstanceOnunload(ExecState* exec, const Identifier&, const PropertySlot& slot)
609
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()))->impl());
610
if (JSEventListener* listener = static_cast<JSEventListener*>(imp->onunload())) {
611
if (JSObject* listenerObj = listener->listenerObj())
617
void JSSVGElementInstance::put(ExecState* exec, const Identifier& propertyName, JSValuePtr value, PutPropertySlot& slot)
169
bool JSSVGElementInstance::getOwnPropertyDescriptor(ExecState* exec, const Identifier& propertyName, PropertyDescriptor& descriptor)
171
return getStaticValueDescriptor<JSSVGElementInstance, Base>(exec, &JSSVGElementInstanceTable, this, propertyName, descriptor);
174
JSValue jsSVGElementInstanceCorrespondingElement(ExecState* exec, const Identifier&, const PropertySlot& slot)
176
JSSVGElementInstance* castedThis = static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()));
178
SVGElementInstance* imp = static_cast<SVGElementInstance*>(castedThis->impl());
179
return toJS(exec, castedThis->globalObject(), WTF::getPtr(imp->correspondingElement()));
182
JSValue jsSVGElementInstanceCorrespondingUseElement(ExecState* exec, const Identifier&, const PropertySlot& slot)
184
JSSVGElementInstance* castedThis = static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()));
186
SVGElementInstance* imp = static_cast<SVGElementInstance*>(castedThis->impl());
187
return toJS(exec, castedThis->globalObject(), WTF::getPtr(imp->correspondingUseElement()));
190
JSValue jsSVGElementInstanceParentNode(ExecState* exec, const Identifier&, const PropertySlot& slot)
192
JSSVGElementInstance* castedThis = static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()));
194
SVGElementInstance* imp = static_cast<SVGElementInstance*>(castedThis->impl());
195
return toJS(exec, castedThis->globalObject(), WTF::getPtr(imp->parentNode()));
198
JSValue jsSVGElementInstanceChildNodes(ExecState* exec, const Identifier&, const PropertySlot& slot)
200
JSSVGElementInstance* castedThis = static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()));
202
SVGElementInstance* imp = static_cast<SVGElementInstance*>(castedThis->impl());
203
return toJS(exec, castedThis->globalObject(), WTF::getPtr(imp->childNodes()));
206
JSValue jsSVGElementInstanceFirstChild(ExecState* exec, const Identifier&, const PropertySlot& slot)
208
JSSVGElementInstance* castedThis = static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()));
210
SVGElementInstance* imp = static_cast<SVGElementInstance*>(castedThis->impl());
211
return toJS(exec, castedThis->globalObject(), WTF::getPtr(imp->firstChild()));
214
JSValue jsSVGElementInstanceLastChild(ExecState* exec, const Identifier&, const PropertySlot& slot)
216
JSSVGElementInstance* castedThis = static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()));
218
SVGElementInstance* imp = static_cast<SVGElementInstance*>(castedThis->impl());
219
return toJS(exec, castedThis->globalObject(), WTF::getPtr(imp->lastChild()));
222
JSValue jsSVGElementInstancePreviousSibling(ExecState* exec, const Identifier&, const PropertySlot& slot)
224
JSSVGElementInstance* castedThis = static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()));
226
SVGElementInstance* imp = static_cast<SVGElementInstance*>(castedThis->impl());
227
return toJS(exec, castedThis->globalObject(), WTF::getPtr(imp->previousSibling()));
230
JSValue jsSVGElementInstanceNextSibling(ExecState* exec, const Identifier&, const PropertySlot& slot)
232
JSSVGElementInstance* castedThis = static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()));
234
SVGElementInstance* imp = static_cast<SVGElementInstance*>(castedThis->impl());
235
return toJS(exec, castedThis->globalObject(), WTF::getPtr(imp->nextSibling()));
238
JSValue jsSVGElementInstanceOnabort(ExecState* exec, const Identifier&, const PropertySlot& slot)
240
JSSVGElementInstance* castedThis = static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()));
242
SVGElementInstance* imp = static_cast<SVGElementInstance*>(castedThis->impl());
243
if (EventListener* listener = imp->onabort()) {
244
if (JSObject* jsFunction = listener->jsFunction(imp->scriptExecutionContext()))
250
JSValue jsSVGElementInstanceOnblur(ExecState* exec, const Identifier&, const PropertySlot& slot)
252
JSSVGElementInstance* castedThis = static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()));
254
SVGElementInstance* imp = static_cast<SVGElementInstance*>(castedThis->impl());
255
if (EventListener* listener = imp->onblur()) {
256
if (JSObject* jsFunction = listener->jsFunction(imp->scriptExecutionContext()))
262
JSValue jsSVGElementInstanceOnchange(ExecState* exec, const Identifier&, const PropertySlot& slot)
264
JSSVGElementInstance* castedThis = static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()));
266
SVGElementInstance* imp = static_cast<SVGElementInstance*>(castedThis->impl());
267
if (EventListener* listener = imp->onchange()) {
268
if (JSObject* jsFunction = listener->jsFunction(imp->scriptExecutionContext()))
274
JSValue jsSVGElementInstanceOnclick(ExecState* exec, const Identifier&, const PropertySlot& slot)
276
JSSVGElementInstance* castedThis = static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()));
278
SVGElementInstance* imp = static_cast<SVGElementInstance*>(castedThis->impl());
279
if (EventListener* listener = imp->onclick()) {
280
if (JSObject* jsFunction = listener->jsFunction(imp->scriptExecutionContext()))
286
JSValue jsSVGElementInstanceOncontextmenu(ExecState* exec, const Identifier&, const PropertySlot& slot)
288
JSSVGElementInstance* castedThis = static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()));
290
SVGElementInstance* imp = static_cast<SVGElementInstance*>(castedThis->impl());
291
if (EventListener* listener = imp->oncontextmenu()) {
292
if (JSObject* jsFunction = listener->jsFunction(imp->scriptExecutionContext()))
298
JSValue jsSVGElementInstanceOndblclick(ExecState* exec, const Identifier&, const PropertySlot& slot)
300
JSSVGElementInstance* castedThis = static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()));
302
SVGElementInstance* imp = static_cast<SVGElementInstance*>(castedThis->impl());
303
if (EventListener* listener = imp->ondblclick()) {
304
if (JSObject* jsFunction = listener->jsFunction(imp->scriptExecutionContext()))
310
JSValue jsSVGElementInstanceOnerror(ExecState* exec, const Identifier&, const PropertySlot& slot)
312
JSSVGElementInstance* castedThis = static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()));
314
SVGElementInstance* imp = static_cast<SVGElementInstance*>(castedThis->impl());
315
if (EventListener* listener = imp->onerror()) {
316
if (JSObject* jsFunction = listener->jsFunction(imp->scriptExecutionContext()))
322
JSValue jsSVGElementInstanceOnfocus(ExecState* exec, const Identifier&, const PropertySlot& slot)
324
JSSVGElementInstance* castedThis = static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()));
326
SVGElementInstance* imp = static_cast<SVGElementInstance*>(castedThis->impl());
327
if (EventListener* listener = imp->onfocus()) {
328
if (JSObject* jsFunction = listener->jsFunction(imp->scriptExecutionContext()))
334
JSValue jsSVGElementInstanceOninput(ExecState* exec, const Identifier&, const PropertySlot& slot)
336
JSSVGElementInstance* castedThis = static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()));
338
SVGElementInstance* imp = static_cast<SVGElementInstance*>(castedThis->impl());
339
if (EventListener* listener = imp->oninput()) {
340
if (JSObject* jsFunction = listener->jsFunction(imp->scriptExecutionContext()))
346
JSValue jsSVGElementInstanceOnkeydown(ExecState* exec, const Identifier&, const PropertySlot& slot)
348
JSSVGElementInstance* castedThis = static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()));
350
SVGElementInstance* imp = static_cast<SVGElementInstance*>(castedThis->impl());
351
if (EventListener* listener = imp->onkeydown()) {
352
if (JSObject* jsFunction = listener->jsFunction(imp->scriptExecutionContext()))
358
JSValue jsSVGElementInstanceOnkeypress(ExecState* exec, const Identifier&, const PropertySlot& slot)
360
JSSVGElementInstance* castedThis = static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()));
362
SVGElementInstance* imp = static_cast<SVGElementInstance*>(castedThis->impl());
363
if (EventListener* listener = imp->onkeypress()) {
364
if (JSObject* jsFunction = listener->jsFunction(imp->scriptExecutionContext()))
370
JSValue jsSVGElementInstanceOnkeyup(ExecState* exec, const Identifier&, const PropertySlot& slot)
372
JSSVGElementInstance* castedThis = static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()));
374
SVGElementInstance* imp = static_cast<SVGElementInstance*>(castedThis->impl());
375
if (EventListener* listener = imp->onkeyup()) {
376
if (JSObject* jsFunction = listener->jsFunction(imp->scriptExecutionContext()))
382
JSValue jsSVGElementInstanceOnload(ExecState* exec, const Identifier&, const PropertySlot& slot)
384
JSSVGElementInstance* castedThis = static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()));
386
SVGElementInstance* imp = static_cast<SVGElementInstance*>(castedThis->impl());
387
if (EventListener* listener = imp->onload()) {
388
if (JSObject* jsFunction = listener->jsFunction(imp->scriptExecutionContext()))
394
JSValue jsSVGElementInstanceOnmousedown(ExecState* exec, const Identifier&, const PropertySlot& slot)
396
JSSVGElementInstance* castedThis = static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()));
398
SVGElementInstance* imp = static_cast<SVGElementInstance*>(castedThis->impl());
399
if (EventListener* listener = imp->onmousedown()) {
400
if (JSObject* jsFunction = listener->jsFunction(imp->scriptExecutionContext()))
406
JSValue jsSVGElementInstanceOnmousemove(ExecState* exec, const Identifier&, const PropertySlot& slot)
408
JSSVGElementInstance* castedThis = static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()));
410
SVGElementInstance* imp = static_cast<SVGElementInstance*>(castedThis->impl());
411
if (EventListener* listener = imp->onmousemove()) {
412
if (JSObject* jsFunction = listener->jsFunction(imp->scriptExecutionContext()))
418
JSValue jsSVGElementInstanceOnmouseout(ExecState* exec, const Identifier&, const PropertySlot& slot)
420
JSSVGElementInstance* castedThis = static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()));
422
SVGElementInstance* imp = static_cast<SVGElementInstance*>(castedThis->impl());
423
if (EventListener* listener = imp->onmouseout()) {
424
if (JSObject* jsFunction = listener->jsFunction(imp->scriptExecutionContext()))
430
JSValue jsSVGElementInstanceOnmouseover(ExecState* exec, const Identifier&, const PropertySlot& slot)
432
JSSVGElementInstance* castedThis = static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()));
434
SVGElementInstance* imp = static_cast<SVGElementInstance*>(castedThis->impl());
435
if (EventListener* listener = imp->onmouseover()) {
436
if (JSObject* jsFunction = listener->jsFunction(imp->scriptExecutionContext()))
442
JSValue jsSVGElementInstanceOnmouseup(ExecState* exec, const Identifier&, const PropertySlot& slot)
444
JSSVGElementInstance* castedThis = static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()));
446
SVGElementInstance* imp = static_cast<SVGElementInstance*>(castedThis->impl());
447
if (EventListener* listener = imp->onmouseup()) {
448
if (JSObject* jsFunction = listener->jsFunction(imp->scriptExecutionContext()))
454
JSValue jsSVGElementInstanceOnmousewheel(ExecState* exec, const Identifier&, const PropertySlot& slot)
456
JSSVGElementInstance* castedThis = static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()));
458
SVGElementInstance* imp = static_cast<SVGElementInstance*>(castedThis->impl());
459
if (EventListener* listener = imp->onmousewheel()) {
460
if (JSObject* jsFunction = listener->jsFunction(imp->scriptExecutionContext()))
466
JSValue jsSVGElementInstanceOnbeforecut(ExecState* exec, const Identifier&, const PropertySlot& slot)
468
JSSVGElementInstance* castedThis = static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()));
470
SVGElementInstance* imp = static_cast<SVGElementInstance*>(castedThis->impl());
471
if (EventListener* listener = imp->onbeforecut()) {
472
if (JSObject* jsFunction = listener->jsFunction(imp->scriptExecutionContext()))
478
JSValue jsSVGElementInstanceOncut(ExecState* exec, const Identifier&, const PropertySlot& slot)
480
JSSVGElementInstance* castedThis = static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()));
482
SVGElementInstance* imp = static_cast<SVGElementInstance*>(castedThis->impl());
483
if (EventListener* listener = imp->oncut()) {
484
if (JSObject* jsFunction = listener->jsFunction(imp->scriptExecutionContext()))
490
JSValue jsSVGElementInstanceOnbeforecopy(ExecState* exec, const Identifier&, const PropertySlot& slot)
492
JSSVGElementInstance* castedThis = static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()));
494
SVGElementInstance* imp = static_cast<SVGElementInstance*>(castedThis->impl());
495
if (EventListener* listener = imp->onbeforecopy()) {
496
if (JSObject* jsFunction = listener->jsFunction(imp->scriptExecutionContext()))
502
JSValue jsSVGElementInstanceOncopy(ExecState* exec, const Identifier&, const PropertySlot& slot)
504
JSSVGElementInstance* castedThis = static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()));
506
SVGElementInstance* imp = static_cast<SVGElementInstance*>(castedThis->impl());
507
if (EventListener* listener = imp->oncopy()) {
508
if (JSObject* jsFunction = listener->jsFunction(imp->scriptExecutionContext()))
514
JSValue jsSVGElementInstanceOnbeforepaste(ExecState* exec, const Identifier&, const PropertySlot& slot)
516
JSSVGElementInstance* castedThis = static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()));
518
SVGElementInstance* imp = static_cast<SVGElementInstance*>(castedThis->impl());
519
if (EventListener* listener = imp->onbeforepaste()) {
520
if (JSObject* jsFunction = listener->jsFunction(imp->scriptExecutionContext()))
526
JSValue jsSVGElementInstanceOnpaste(ExecState* exec, const Identifier&, const PropertySlot& slot)
528
JSSVGElementInstance* castedThis = static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()));
530
SVGElementInstance* imp = static_cast<SVGElementInstance*>(castedThis->impl());
531
if (EventListener* listener = imp->onpaste()) {
532
if (JSObject* jsFunction = listener->jsFunction(imp->scriptExecutionContext()))
538
JSValue jsSVGElementInstanceOndragenter(ExecState* exec, const Identifier&, const PropertySlot& slot)
540
JSSVGElementInstance* castedThis = static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()));
542
SVGElementInstance* imp = static_cast<SVGElementInstance*>(castedThis->impl());
543
if (EventListener* listener = imp->ondragenter()) {
544
if (JSObject* jsFunction = listener->jsFunction(imp->scriptExecutionContext()))
550
JSValue jsSVGElementInstanceOndragover(ExecState* exec, const Identifier&, const PropertySlot& slot)
552
JSSVGElementInstance* castedThis = static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()));
554
SVGElementInstance* imp = static_cast<SVGElementInstance*>(castedThis->impl());
555
if (EventListener* listener = imp->ondragover()) {
556
if (JSObject* jsFunction = listener->jsFunction(imp->scriptExecutionContext()))
562
JSValue jsSVGElementInstanceOndragleave(ExecState* exec, const Identifier&, const PropertySlot& slot)
564
JSSVGElementInstance* castedThis = static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()));
566
SVGElementInstance* imp = static_cast<SVGElementInstance*>(castedThis->impl());
567
if (EventListener* listener = imp->ondragleave()) {
568
if (JSObject* jsFunction = listener->jsFunction(imp->scriptExecutionContext()))
574
JSValue jsSVGElementInstanceOndrop(ExecState* exec, const Identifier&, const PropertySlot& slot)
576
JSSVGElementInstance* castedThis = static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()));
578
SVGElementInstance* imp = static_cast<SVGElementInstance*>(castedThis->impl());
579
if (EventListener* listener = imp->ondrop()) {
580
if (JSObject* jsFunction = listener->jsFunction(imp->scriptExecutionContext()))
586
JSValue jsSVGElementInstanceOndragstart(ExecState* exec, const Identifier&, const PropertySlot& slot)
588
JSSVGElementInstance* castedThis = static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()));
590
SVGElementInstance* imp = static_cast<SVGElementInstance*>(castedThis->impl());
591
if (EventListener* listener = imp->ondragstart()) {
592
if (JSObject* jsFunction = listener->jsFunction(imp->scriptExecutionContext()))
598
JSValue jsSVGElementInstanceOndrag(ExecState* exec, const Identifier&, const PropertySlot& slot)
600
JSSVGElementInstance* castedThis = static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()));
602
SVGElementInstance* imp = static_cast<SVGElementInstance*>(castedThis->impl());
603
if (EventListener* listener = imp->ondrag()) {
604
if (JSObject* jsFunction = listener->jsFunction(imp->scriptExecutionContext()))
610
JSValue jsSVGElementInstanceOndragend(ExecState* exec, const Identifier&, const PropertySlot& slot)
612
JSSVGElementInstance* castedThis = static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()));
614
SVGElementInstance* imp = static_cast<SVGElementInstance*>(castedThis->impl());
615
if (EventListener* listener = imp->ondragend()) {
616
if (JSObject* jsFunction = listener->jsFunction(imp->scriptExecutionContext()))
622
JSValue jsSVGElementInstanceOnreset(ExecState* exec, const Identifier&, const PropertySlot& slot)
624
JSSVGElementInstance* castedThis = static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()));
626
SVGElementInstance* imp = static_cast<SVGElementInstance*>(castedThis->impl());
627
if (EventListener* listener = imp->onreset()) {
628
if (JSObject* jsFunction = listener->jsFunction(imp->scriptExecutionContext()))
634
JSValue jsSVGElementInstanceOnresize(ExecState* exec, const Identifier&, const PropertySlot& slot)
636
JSSVGElementInstance* castedThis = static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()));
638
SVGElementInstance* imp = static_cast<SVGElementInstance*>(castedThis->impl());
639
if (EventListener* listener = imp->onresize()) {
640
if (JSObject* jsFunction = listener->jsFunction(imp->scriptExecutionContext()))
646
JSValue jsSVGElementInstanceOnscroll(ExecState* exec, const Identifier&, const PropertySlot& slot)
648
JSSVGElementInstance* castedThis = static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()));
650
SVGElementInstance* imp = static_cast<SVGElementInstance*>(castedThis->impl());
651
if (EventListener* listener = imp->onscroll()) {
652
if (JSObject* jsFunction = listener->jsFunction(imp->scriptExecutionContext()))
658
JSValue jsSVGElementInstanceOnsearch(ExecState* exec, const Identifier&, const PropertySlot& slot)
660
JSSVGElementInstance* castedThis = static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()));
662
SVGElementInstance* imp = static_cast<SVGElementInstance*>(castedThis->impl());
663
if (EventListener* listener = imp->onsearch()) {
664
if (JSObject* jsFunction = listener->jsFunction(imp->scriptExecutionContext()))
670
JSValue jsSVGElementInstanceOnselect(ExecState* exec, const Identifier&, const PropertySlot& slot)
672
JSSVGElementInstance* castedThis = static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()));
674
SVGElementInstance* imp = static_cast<SVGElementInstance*>(castedThis->impl());
675
if (EventListener* listener = imp->onselect()) {
676
if (JSObject* jsFunction = listener->jsFunction(imp->scriptExecutionContext()))
682
JSValue jsSVGElementInstanceOnselectstart(ExecState* exec, const Identifier&, const PropertySlot& slot)
684
JSSVGElementInstance* castedThis = static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()));
686
SVGElementInstance* imp = static_cast<SVGElementInstance*>(castedThis->impl());
687
if (EventListener* listener = imp->onselectstart()) {
688
if (JSObject* jsFunction = listener->jsFunction(imp->scriptExecutionContext()))
694
JSValue jsSVGElementInstanceOnsubmit(ExecState* exec, const Identifier&, const PropertySlot& slot)
696
JSSVGElementInstance* castedThis = static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()));
698
SVGElementInstance* imp = static_cast<SVGElementInstance*>(castedThis->impl());
699
if (EventListener* listener = imp->onsubmit()) {
700
if (JSObject* jsFunction = listener->jsFunction(imp->scriptExecutionContext()))
706
JSValue jsSVGElementInstanceOnunload(ExecState* exec, const Identifier&, const PropertySlot& slot)
708
JSSVGElementInstance* castedThis = static_cast<JSSVGElementInstance*>(asObject(slot.slotBase()));
710
SVGElementInstance* imp = static_cast<SVGElementInstance*>(castedThis->impl());
711
if (EventListener* listener = imp->onunload()) {
712
if (JSObject* jsFunction = listener->jsFunction(imp->scriptExecutionContext()))
718
void JSSVGElementInstance::put(ExecState* exec, const Identifier& propertyName, JSValue value, PutPropertySlot& slot)
619
720
lookupPut<JSSVGElementInstance, Base>(exec, propertyName, value, &JSSVGElementInstanceTable, this, slot);
622
void setJSSVGElementInstanceOnabort(ExecState* exec, JSObject* thisObject, JSValuePtr value)
624
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
625
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
628
imp->setOnabort(globalObject->findOrCreateJSEventListener(exec, value, true));
631
void setJSSVGElementInstanceOnblur(ExecState* exec, JSObject* thisObject, JSValuePtr value)
633
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
634
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
637
imp->setOnblur(globalObject->findOrCreateJSEventListener(exec, value, true));
640
void setJSSVGElementInstanceOnchange(ExecState* exec, JSObject* thisObject, JSValuePtr value)
642
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
643
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
646
imp->setOnchange(globalObject->findOrCreateJSEventListener(exec, value, true));
649
void setJSSVGElementInstanceOnclick(ExecState* exec, JSObject* thisObject, JSValuePtr value)
651
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
652
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
655
imp->setOnclick(globalObject->findOrCreateJSEventListener(exec, value, true));
658
void setJSSVGElementInstanceOncontextmenu(ExecState* exec, JSObject* thisObject, JSValuePtr value)
660
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
661
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
664
imp->setOncontextmenu(globalObject->findOrCreateJSEventListener(exec, value, true));
667
void setJSSVGElementInstanceOndblclick(ExecState* exec, JSObject* thisObject, JSValuePtr value)
669
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
670
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
673
imp->setOndblclick(globalObject->findOrCreateJSEventListener(exec, value, true));
676
void setJSSVGElementInstanceOnerror(ExecState* exec, JSObject* thisObject, JSValuePtr value)
678
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
679
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
682
imp->setOnerror(globalObject->findOrCreateJSEventListener(exec, value, true));
685
void setJSSVGElementInstanceOnfocus(ExecState* exec, JSObject* thisObject, JSValuePtr value)
687
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
688
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
691
imp->setOnfocus(globalObject->findOrCreateJSEventListener(exec, value, true));
694
void setJSSVGElementInstanceOninput(ExecState* exec, JSObject* thisObject, JSValuePtr value)
696
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
697
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
700
imp->setOninput(globalObject->findOrCreateJSEventListener(exec, value, true));
703
void setJSSVGElementInstanceOnkeydown(ExecState* exec, JSObject* thisObject, JSValuePtr value)
705
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
706
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
709
imp->setOnkeydown(globalObject->findOrCreateJSEventListener(exec, value, true));
712
void setJSSVGElementInstanceOnkeypress(ExecState* exec, JSObject* thisObject, JSValuePtr value)
714
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
715
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
718
imp->setOnkeypress(globalObject->findOrCreateJSEventListener(exec, value, true));
721
void setJSSVGElementInstanceOnkeyup(ExecState* exec, JSObject* thisObject, JSValuePtr value)
723
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
724
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
727
imp->setOnkeyup(globalObject->findOrCreateJSEventListener(exec, value, true));
730
void setJSSVGElementInstanceOnload(ExecState* exec, JSObject* thisObject, JSValuePtr value)
732
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
733
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
736
imp->setOnload(globalObject->findOrCreateJSEventListener(exec, value, true));
739
void setJSSVGElementInstanceOnmousedown(ExecState* exec, JSObject* thisObject, JSValuePtr value)
741
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
742
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
745
imp->setOnmousedown(globalObject->findOrCreateJSEventListener(exec, value, true));
748
void setJSSVGElementInstanceOnmousemove(ExecState* exec, JSObject* thisObject, JSValuePtr value)
750
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
751
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
754
imp->setOnmousemove(globalObject->findOrCreateJSEventListener(exec, value, true));
757
void setJSSVGElementInstanceOnmouseout(ExecState* exec, JSObject* thisObject, JSValuePtr value)
759
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
760
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
763
imp->setOnmouseout(globalObject->findOrCreateJSEventListener(exec, value, true));
766
void setJSSVGElementInstanceOnmouseover(ExecState* exec, JSObject* thisObject, JSValuePtr value)
768
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
769
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
772
imp->setOnmouseover(globalObject->findOrCreateJSEventListener(exec, value, true));
775
void setJSSVGElementInstanceOnmouseup(ExecState* exec, JSObject* thisObject, JSValuePtr value)
777
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
778
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
781
imp->setOnmouseup(globalObject->findOrCreateJSEventListener(exec, value, true));
784
void setJSSVGElementInstanceOnmousewheel(ExecState* exec, JSObject* thisObject, JSValuePtr value)
786
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
787
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
790
imp->setOnmousewheel(globalObject->findOrCreateJSEventListener(exec, value, true));
793
void setJSSVGElementInstanceOnbeforecut(ExecState* exec, JSObject* thisObject, JSValuePtr value)
795
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
796
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
799
imp->setOnbeforecut(globalObject->findOrCreateJSEventListener(exec, value, true));
802
void setJSSVGElementInstanceOncut(ExecState* exec, JSObject* thisObject, JSValuePtr value)
804
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
805
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
808
imp->setOncut(globalObject->findOrCreateJSEventListener(exec, value, true));
811
void setJSSVGElementInstanceOnbeforecopy(ExecState* exec, JSObject* thisObject, JSValuePtr value)
813
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
814
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
817
imp->setOnbeforecopy(globalObject->findOrCreateJSEventListener(exec, value, true));
820
void setJSSVGElementInstanceOncopy(ExecState* exec, JSObject* thisObject, JSValuePtr value)
822
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
823
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
826
imp->setOncopy(globalObject->findOrCreateJSEventListener(exec, value, true));
829
void setJSSVGElementInstanceOnbeforepaste(ExecState* exec, JSObject* thisObject, JSValuePtr value)
831
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
832
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
835
imp->setOnbeforepaste(globalObject->findOrCreateJSEventListener(exec, value, true));
838
void setJSSVGElementInstanceOnpaste(ExecState* exec, JSObject* thisObject, JSValuePtr value)
840
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
841
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
844
imp->setOnpaste(globalObject->findOrCreateJSEventListener(exec, value, true));
847
void setJSSVGElementInstanceOndragenter(ExecState* exec, JSObject* thisObject, JSValuePtr value)
849
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
850
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
853
imp->setOndragenter(globalObject->findOrCreateJSEventListener(exec, value, true));
856
void setJSSVGElementInstanceOndragover(ExecState* exec, JSObject* thisObject, JSValuePtr value)
858
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
859
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
862
imp->setOndragover(globalObject->findOrCreateJSEventListener(exec, value, true));
865
void setJSSVGElementInstanceOndragleave(ExecState* exec, JSObject* thisObject, JSValuePtr value)
867
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
868
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
871
imp->setOndragleave(globalObject->findOrCreateJSEventListener(exec, value, true));
874
void setJSSVGElementInstanceOndrop(ExecState* exec, JSObject* thisObject, JSValuePtr value)
876
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
877
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
880
imp->setOndrop(globalObject->findOrCreateJSEventListener(exec, value, true));
883
void setJSSVGElementInstanceOndragstart(ExecState* exec, JSObject* thisObject, JSValuePtr value)
885
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
886
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
889
imp->setOndragstart(globalObject->findOrCreateJSEventListener(exec, value, true));
892
void setJSSVGElementInstanceOndrag(ExecState* exec, JSObject* thisObject, JSValuePtr value)
894
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
895
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
898
imp->setOndrag(globalObject->findOrCreateJSEventListener(exec, value, true));
901
void setJSSVGElementInstanceOndragend(ExecState* exec, JSObject* thisObject, JSValuePtr value)
903
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
904
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
907
imp->setOndragend(globalObject->findOrCreateJSEventListener(exec, value, true));
910
void setJSSVGElementInstanceOnreset(ExecState* exec, JSObject* thisObject, JSValuePtr value)
912
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
913
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
916
imp->setOnreset(globalObject->findOrCreateJSEventListener(exec, value, true));
919
void setJSSVGElementInstanceOnresize(ExecState* exec, JSObject* thisObject, JSValuePtr value)
921
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
922
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
925
imp->setOnresize(globalObject->findOrCreateJSEventListener(exec, value, true));
928
void setJSSVGElementInstanceOnscroll(ExecState* exec, JSObject* thisObject, JSValuePtr value)
930
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
931
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
934
imp->setOnscroll(globalObject->findOrCreateJSEventListener(exec, value, true));
937
void setJSSVGElementInstanceOnsearch(ExecState* exec, JSObject* thisObject, JSValuePtr value)
939
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
940
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
943
imp->setOnsearch(globalObject->findOrCreateJSEventListener(exec, value, true));
946
void setJSSVGElementInstanceOnselect(ExecState* exec, JSObject* thisObject, JSValuePtr value)
948
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
949
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
952
imp->setOnselect(globalObject->findOrCreateJSEventListener(exec, value, true));
955
void setJSSVGElementInstanceOnselectstart(ExecState* exec, JSObject* thisObject, JSValuePtr value)
957
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
958
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
961
imp->setOnselectstart(globalObject->findOrCreateJSEventListener(exec, value, true));
964
void setJSSVGElementInstanceOnsubmit(ExecState* exec, JSObject* thisObject, JSValuePtr value)
966
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
967
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
970
imp->setOnsubmit(globalObject->findOrCreateJSEventListener(exec, value, true));
973
void setJSSVGElementInstanceOnunload(ExecState* exec, JSObject* thisObject, JSValuePtr value)
975
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
976
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
979
imp->setOnunload(globalObject->findOrCreateJSEventListener(exec, value, true));
982
JSValuePtr jsSVGElementInstancePrototypeFunctionAddEventListener(ExecState* exec, JSObject*, JSValuePtr thisValue, const ArgList& args)
984
if (!thisValue->isObject(&JSSVGElementInstance::s_info))
723
void setJSSVGElementInstanceOnabort(ExecState* exec, JSObject* thisObject, JSValue value)
726
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
727
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
730
imp->setOnabort(globalObject->createJSAttributeEventListener(value));
733
void setJSSVGElementInstanceOnblur(ExecState* exec, JSObject* thisObject, JSValue value)
736
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
737
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
740
imp->setOnblur(globalObject->createJSAttributeEventListener(value));
743
void setJSSVGElementInstanceOnchange(ExecState* exec, JSObject* thisObject, JSValue value)
746
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
747
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
750
imp->setOnchange(globalObject->createJSAttributeEventListener(value));
753
void setJSSVGElementInstanceOnclick(ExecState* exec, JSObject* thisObject, JSValue value)
756
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
757
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
760
imp->setOnclick(globalObject->createJSAttributeEventListener(value));
763
void setJSSVGElementInstanceOncontextmenu(ExecState* exec, JSObject* thisObject, JSValue value)
766
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
767
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
770
imp->setOncontextmenu(globalObject->createJSAttributeEventListener(value));
773
void setJSSVGElementInstanceOndblclick(ExecState* exec, JSObject* thisObject, JSValue value)
776
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
777
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
780
imp->setOndblclick(globalObject->createJSAttributeEventListener(value));
783
void setJSSVGElementInstanceOnerror(ExecState* exec, JSObject* thisObject, JSValue value)
786
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
787
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
790
imp->setOnerror(globalObject->createJSAttributeEventListener(value));
793
void setJSSVGElementInstanceOnfocus(ExecState* exec, JSObject* thisObject, JSValue value)
796
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
797
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
800
imp->setOnfocus(globalObject->createJSAttributeEventListener(value));
803
void setJSSVGElementInstanceOninput(ExecState* exec, JSObject* thisObject, JSValue value)
806
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
807
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
810
imp->setOninput(globalObject->createJSAttributeEventListener(value));
813
void setJSSVGElementInstanceOnkeydown(ExecState* exec, JSObject* thisObject, JSValue value)
816
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
817
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
820
imp->setOnkeydown(globalObject->createJSAttributeEventListener(value));
823
void setJSSVGElementInstanceOnkeypress(ExecState* exec, JSObject* thisObject, JSValue value)
826
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
827
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
830
imp->setOnkeypress(globalObject->createJSAttributeEventListener(value));
833
void setJSSVGElementInstanceOnkeyup(ExecState* exec, JSObject* thisObject, JSValue value)
836
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
837
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
840
imp->setOnkeyup(globalObject->createJSAttributeEventListener(value));
843
void setJSSVGElementInstanceOnload(ExecState* exec, JSObject* thisObject, JSValue value)
846
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
847
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
850
imp->setOnload(globalObject->createJSAttributeEventListener(value));
853
void setJSSVGElementInstanceOnmousedown(ExecState* exec, JSObject* thisObject, JSValue value)
856
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
857
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
860
imp->setOnmousedown(globalObject->createJSAttributeEventListener(value));
863
void setJSSVGElementInstanceOnmousemove(ExecState* exec, JSObject* thisObject, JSValue value)
866
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
867
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
870
imp->setOnmousemove(globalObject->createJSAttributeEventListener(value));
873
void setJSSVGElementInstanceOnmouseout(ExecState* exec, JSObject* thisObject, JSValue value)
876
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
877
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
880
imp->setOnmouseout(globalObject->createJSAttributeEventListener(value));
883
void setJSSVGElementInstanceOnmouseover(ExecState* exec, JSObject* thisObject, JSValue value)
886
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
887
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
890
imp->setOnmouseover(globalObject->createJSAttributeEventListener(value));
893
void setJSSVGElementInstanceOnmouseup(ExecState* exec, JSObject* thisObject, JSValue value)
896
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
897
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
900
imp->setOnmouseup(globalObject->createJSAttributeEventListener(value));
903
void setJSSVGElementInstanceOnmousewheel(ExecState* exec, JSObject* thisObject, JSValue value)
906
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
907
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
910
imp->setOnmousewheel(globalObject->createJSAttributeEventListener(value));
913
void setJSSVGElementInstanceOnbeforecut(ExecState* exec, JSObject* thisObject, JSValue value)
916
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
917
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
920
imp->setOnbeforecut(globalObject->createJSAttributeEventListener(value));
923
void setJSSVGElementInstanceOncut(ExecState* exec, JSObject* thisObject, JSValue value)
926
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
927
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
930
imp->setOncut(globalObject->createJSAttributeEventListener(value));
933
void setJSSVGElementInstanceOnbeforecopy(ExecState* exec, JSObject* thisObject, JSValue value)
936
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
937
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
940
imp->setOnbeforecopy(globalObject->createJSAttributeEventListener(value));
943
void setJSSVGElementInstanceOncopy(ExecState* exec, JSObject* thisObject, JSValue value)
946
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
947
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
950
imp->setOncopy(globalObject->createJSAttributeEventListener(value));
953
void setJSSVGElementInstanceOnbeforepaste(ExecState* exec, JSObject* thisObject, JSValue value)
956
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
957
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
960
imp->setOnbeforepaste(globalObject->createJSAttributeEventListener(value));
963
void setJSSVGElementInstanceOnpaste(ExecState* exec, JSObject* thisObject, JSValue value)
966
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
967
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
970
imp->setOnpaste(globalObject->createJSAttributeEventListener(value));
973
void setJSSVGElementInstanceOndragenter(ExecState* exec, JSObject* thisObject, JSValue value)
976
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
977
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
980
imp->setOndragenter(globalObject->createJSAttributeEventListener(value));
983
void setJSSVGElementInstanceOndragover(ExecState* exec, JSObject* thisObject, JSValue value)
986
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
987
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
990
imp->setOndragover(globalObject->createJSAttributeEventListener(value));
993
void setJSSVGElementInstanceOndragleave(ExecState* exec, JSObject* thisObject, JSValue value)
996
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
997
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
1000
imp->setOndragleave(globalObject->createJSAttributeEventListener(value));
1003
void setJSSVGElementInstanceOndrop(ExecState* exec, JSObject* thisObject, JSValue value)
1006
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
1007
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
1010
imp->setOndrop(globalObject->createJSAttributeEventListener(value));
1013
void setJSSVGElementInstanceOndragstart(ExecState* exec, JSObject* thisObject, JSValue value)
1016
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
1017
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
1020
imp->setOndragstart(globalObject->createJSAttributeEventListener(value));
1023
void setJSSVGElementInstanceOndrag(ExecState* exec, JSObject* thisObject, JSValue value)
1026
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
1027
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
1030
imp->setOndrag(globalObject->createJSAttributeEventListener(value));
1033
void setJSSVGElementInstanceOndragend(ExecState* exec, JSObject* thisObject, JSValue value)
1036
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
1037
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
1040
imp->setOndragend(globalObject->createJSAttributeEventListener(value));
1043
void setJSSVGElementInstanceOnreset(ExecState* exec, JSObject* thisObject, JSValue value)
1046
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
1047
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
1050
imp->setOnreset(globalObject->createJSAttributeEventListener(value));
1053
void setJSSVGElementInstanceOnresize(ExecState* exec, JSObject* thisObject, JSValue value)
1056
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
1057
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
1060
imp->setOnresize(globalObject->createJSAttributeEventListener(value));
1063
void setJSSVGElementInstanceOnscroll(ExecState* exec, JSObject* thisObject, JSValue value)
1066
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
1067
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
1070
imp->setOnscroll(globalObject->createJSAttributeEventListener(value));
1073
void setJSSVGElementInstanceOnsearch(ExecState* exec, JSObject* thisObject, JSValue value)
1076
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
1077
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
1080
imp->setOnsearch(globalObject->createJSAttributeEventListener(value));
1083
void setJSSVGElementInstanceOnselect(ExecState* exec, JSObject* thisObject, JSValue value)
1086
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
1087
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
1090
imp->setOnselect(globalObject->createJSAttributeEventListener(value));
1093
void setJSSVGElementInstanceOnselectstart(ExecState* exec, JSObject* thisObject, JSValue value)
1096
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
1097
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
1100
imp->setOnselectstart(globalObject->createJSAttributeEventListener(value));
1103
void setJSSVGElementInstanceOnsubmit(ExecState* exec, JSObject* thisObject, JSValue value)
1106
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
1107
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
1110
imp->setOnsubmit(globalObject->createJSAttributeEventListener(value));
1113
void setJSSVGElementInstanceOnunload(ExecState* exec, JSObject* thisObject, JSValue value)
1116
SVGElementInstance* imp = static_cast<SVGElementInstance*>(static_cast<JSSVGElementInstance*>(thisObject)->impl());
1117
JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(imp->scriptExecutionContext());
1120
imp->setOnunload(globalObject->createJSAttributeEventListener(value));
1123
JSValue JSC_HOST_CALL jsSVGElementInstancePrototypeFunctionAddEventListener(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args)
1126
if (!thisValue.inherits(&JSSVGElementInstance::s_info))
985
1127
return throwError(exec, TypeError);
986
1128
JSSVGElementInstance* castedThisObj = static_cast<JSSVGElementInstance*>(asObject(thisValue));
987
1129
return castedThisObj->addEventListener(exec, args);
990
JSValuePtr jsSVGElementInstancePrototypeFunctionRemoveEventListener(ExecState* exec, JSObject*, JSValuePtr thisValue, const ArgList& args)
1132
JSValue JSC_HOST_CALL jsSVGElementInstancePrototypeFunctionRemoveEventListener(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args)
992
if (!thisValue->isObject(&JSSVGElementInstance::s_info))
1135
if (!thisValue.inherits(&JSSVGElementInstance::s_info))
993
1136
return throwError(exec, TypeError);
994
1137
JSSVGElementInstance* castedThisObj = static_cast<JSSVGElementInstance*>(asObject(thisValue));
995
1138
return castedThisObj->removeEventListener(exec, args);
998
JSValuePtr jsSVGElementInstancePrototypeFunctionDispatchEvent(ExecState* exec, JSObject*, JSValuePtr thisValue, const ArgList& args)
1141
JSValue JSC_HOST_CALL jsSVGElementInstancePrototypeFunctionDispatchEvent(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args)
1000
if (!thisValue->isObject(&JSSVGElementInstance::s_info))
1144
if (!thisValue.inherits(&JSSVGElementInstance::s_info))
1001
1145
return throwError(exec, TypeError);
1002
1146
JSSVGElementInstance* castedThisObj = static_cast<JSSVGElementInstance*>(asObject(thisValue));
1003
1147
SVGElementInstance* imp = static_cast<SVGElementInstance*>(castedThisObj->impl());
1004
1148
ExceptionCode ec = 0;
1005
Event* event = toEvent(args.at(exec, 0));
1008
JSC::JSValuePtr result = jsBoolean(imp->dispatchEvent(event, ec));
1149
Event* event = toEvent(args.at(0));
1152
JSC::JSValue result = jsBoolean(imp->dispatchEvent(event, ec));
1009
1153
setDOMException(exec, ec);
1013
JSC::JSValuePtr toJS(JSC::ExecState* exec, SVGElementInstance* object)
1015
return getDOMObjectWrapper<JSSVGElementInstance>(exec, object);
1017
SVGElementInstance* toSVGElementInstance(JSC::JSValuePtr value)
1019
return value->isObject(&JSSVGElementInstance::s_info) ? static_cast<JSSVGElementInstance*>(asObject(value))->impl() : 0;
1157
SVGElementInstance* toSVGElementInstance(JSC::JSValue value)
1159
return value.inherits(&JSSVGElementInstance::s_info) ? static_cast<JSSVGElementInstance*>(asObject(value))->impl() : 0;