Cameron McCormack:
> You could make your event objects implement the CustomEvent interface
> (http://www.w3.org/TR/DOM-Level-3-Events/events.html#Events-CustomEvent),
> but that is really for use by ECMAScript custom event objects, where the
> extra information is stored in that 'detail' attribute.  Or, you can
> make your event objects extend Batik’s AbstractEvent class, then they
> can be dispatched properly.

Also, if you want to be able to create XForms event objects from
document.createEvent, then you can extend SVGDOMImplementation (or
SVG12DOMImplementation) to override the 'createDocumentEventSupport'
method.  You can then add some event factories into the
DocumentEventSupport object that can create your XForms event objects.

-- 
Cameron McCormack, http://mcc.id.au/
        xmpp:[EMAIL PROTECTED]  ▪  ICQ 26955922  ▪  MSN [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to