support of latest w3c dom spec changes
git-svn-id: svn://10.0.0.236/trunk@72132 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
5ff71dac06
commit
0c33004b05
@ -67,7 +67,7 @@ public class EventImpl implements Event {
|
||||
* whose <code>EventListener</code>s are currently being processed. This
|
||||
* is particularly useful during capturing and bubbling.
|
||||
*/
|
||||
public native Node getCurrentNode();
|
||||
public native EventTarget getCurrentTarget();
|
||||
|
||||
/**
|
||||
* The <code>eventPhase</code> property indicates which phase of event flow
|
||||
|
||||
@ -24,6 +24,7 @@ package org.mozilla.dom.events;
|
||||
import org.w3c.dom.Node;
|
||||
import org.w3c.dom.views.AbstractView;
|
||||
import org.w3c.dom.events.MouseEvent;
|
||||
import org.w3c.dom.events.EventTarget;
|
||||
|
||||
/**
|
||||
* The <code>MouseEvent</code> interface provides specific contextual
|
||||
@ -114,7 +115,7 @@ public class MouseEventImpl extends UIEventImpl implements MouseEvent {
|
||||
* <code>relatedNode</code> is used to identify a secondary node related to
|
||||
* a UI event.
|
||||
*/
|
||||
public native Node getRelatedNode();
|
||||
public native EventTarget getRelatedTarget();
|
||||
|
||||
/**
|
||||
*
|
||||
@ -154,6 +155,6 @@ public class MouseEventImpl extends UIEventImpl implements MouseEvent {
|
||||
boolean shiftKeyArg,
|
||||
boolean metaKeyArg,
|
||||
short buttonArg,
|
||||
Node relatedNodeArg);
|
||||
EventTarget relatedTargetArg);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user