xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cameron McCormack <...@mcc.id.au>
Subject Re: Incorporating new events
Date Wed, 13 Sep 2006 01:41:34 GMT
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:heycam@jabber.org  ▪  ICQ 26955922  ▪  MSN cam@mcc.id.au

To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org

View raw message