/**
* Creates an DocumentEventSupport object suitable for use with
* this implementation.
*/
public DocumentEventSupport createDocumentEventSupport() {
DocumentEventSupport result = super.createDocumentEventSupport();
result.registerEventFactory("WheelEvent",
new DocumentEventSupport.EventFactory() {
public Event createEvent() {
return new SVGOMWheelEvent();
}
});
result.registerEventFactory("ShadowTreeEvent",
new DocumentEventSupport.EventFactory() {
public Event createEvent() {
return new XBLOMShadowTreeEvent();
}
});