Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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`

Field Summary

Fields inherited from interface org.w3c.dom.events.Event
`AT_TARGET, BUBBLING_PHASE, CAPTURING_PHASE`

Constructor Summary
`protected` | `JRexEventImpl()`

Method Summary
`void` | `dispose()` Function to explicitly disconnect from native DOM Object
`boolean` | `equals(Object obj)`
`protected void` | `finalize()`
`boolean` | `getBubbles()`
`boolean` | `getCancelable()`
`EventTarget` | `getCurrentTarget()`
`short` | `getEventPhase()`
`EventTarget` | `getExplicitOriginalTarget()` The explicit original target of the event.
`EventTarget` | `getOriginalTarget()` The original target of the event, before any retargetings.
`EventTarget` | `getTarget()`
`long` | `getTimeStamp()`
`String` | `getType()`
`int` | `hashCode()`
`void` | `initEvent(String eventTypeArg, boolean canBubbleArg, boolean cancelableArg)`
`void` | `preventDefault()`
`void` | `stopPropagation()`

Methods inherited from class java.lang.Object
`clone, getClass, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### JRexEventImpl

    protected JRexEventImpl()

Method Detail

### 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()
                     throws Throwable

  Throws:
    `Throwable`

### dispose

    public void dispose()

  Function to explicitly disconnect from native DOM Object

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004 C.N.Medappa. All Rights Reserved.