org.mozilla.jrex.dom.events
Class JRexEventImpl
java.lang.Object
org.mozilla.jrex.dom.events.JRexEventImpl
- All Implemented Interfaces:
- Event
- Direct Known Subclasses:
- JRexMutationEventImpl, JRexUIEventImpl
- public class JRexEventImpl
- extends Object
- implements Event
A class implementing org.w3c.dom.events.Event interface.
- Version:
- 1.0
- Author:
- C.N.Medappa
- See Also:
Event
JRexEventImpl
protected JRexEventImpl()
getType
public String getType()
- Specified by:
getType
in interface Event
getTarget
public EventTarget getTarget()
- Specified by:
getTarget
in interface Event
getCurrentTarget
public EventTarget getCurrentTarget()
- Specified by:
getCurrentTarget
in interface Event
getOriginalTarget
public EventTarget getOriginalTarget()
- The original target of the event, before any retargetings.
getExplicitOriginalTarget
public EventTarget getExplicitOriginalTarget()
- The explicit original target of the event. If the event was retargeted
for some reason other than an anonymous boundary crossing, this will be set
to the target before the retargeting occurs. For example, mouse events
are retargeted to their parent node when they happen over text nodes (bug
185889), and in that case .target will show the parent and
.explicitOriginalTarget will show the text node.
.explicitOriginalTarget differs from .originalTarget in that it will never
contain anonymous content.
getEventPhase
public short getEventPhase()
- Specified by:
getEventPhase
in interface Event
getBubbles
public boolean getBubbles()
- Specified by:
getBubbles
in interface Event
getCancelable
public boolean getCancelable()
- Specified by:
getCancelable
in interface Event
getTimeStamp
public long getTimeStamp()
- Specified by:
getTimeStamp
in interface Event
stopPropagation
public void stopPropagation()
- Specified by:
stopPropagation
in interface Event
preventDefault
public void preventDefault()
- Specified by:
preventDefault
in interface Event
initEvent
public void initEvent(String eventTypeArg,
boolean canBubbleArg,
boolean cancelableArg)
- Specified by:
initEvent
in interface Event
equals
public boolean equals(Object obj)
hashCode
public int hashCode()
finalize
protected void finalize()
Copyright © 2004 C.N.Medappa. All Rights Reserved.