public class EventImpl
extends java.lang.Object
implements org.w3c.dom.events.Event
Modifier and Type | Class and Description |
---|---|
private static class |
EventImpl.SelfDisposer |
Modifier and Type | Field and Description |
---|---|
static int |
AT_TARGET |
static int |
BLUR |
static int |
BUBBLING_PHASE |
static int |
CAPTURING_PHASE |
static int |
CHANGE |
static int |
CLICK |
static int |
DBLCLICK |
static int |
DRAGDROP |
static int |
FOCUS |
static int |
KEYDOWN |
static int |
KEYPRESS |
static int |
KEYUP |
static int |
MOUSEDOWN |
static int |
MOUSEDRAG |
static int |
MOUSEMOVE |
static int |
MOUSEOUT |
static int |
MOUSEOVER |
static int |
MOUSEUP |
static int |
NONE |
private long |
peer |
static int |
SELECT |
private static int |
TYPE_KeyboardEvent |
private static int |
TYPE_MouseEvent |
private static int |
TYPE_MutationEvent |
private static int |
TYPE_UIEvent |
private static int |
TYPE_WheelEvent |
Constructor and Description |
---|
EventImpl(long peer) |
Modifier and Type | Method and Description |
---|---|
(package private) static org.w3c.dom.events.Event |
create(long peer) |
private static void |
dispose(long peer) |
boolean |
equals(java.lang.Object that) |
boolean |
getBubbles() |
(package private) static boolean |
getBubblesImpl(long peer) |
boolean |
getCancelable() |
(package private) static boolean |
getCancelableImpl(long peer) |
boolean |
getCancelBubble() |
(package private) static boolean |
getCancelBubbleImpl(long peer) |
private static int |
getCPPTypeImpl(long peer) |
org.w3c.dom.events.EventTarget |
getCurrentTarget() |
(package private) static long |
getCurrentTargetImpl(long peer) |
boolean |
getDefaultPrevented() |
(package private) static boolean |
getDefaultPreventedImpl(long peer) |
short |
getEventPhase() |
(package private) static short |
getEventPhaseImpl(long peer) |
(package private) static org.w3c.dom.events.Event |
getImpl(long peer) |
boolean |
getIsTrusted() |
(package private) static boolean |
getIsTrustedImpl(long peer) |
(package private) long |
getPeer() |
(package private) static long |
getPeer(org.w3c.dom.events.Event arg) |
boolean |
getReturnValue() |
(package private) static boolean |
getReturnValueImpl(long peer) |
org.w3c.dom.events.EventTarget |
getSrcElement() |
(package private) static long |
getSrcElementImpl(long peer) |
org.w3c.dom.events.EventTarget |
getTarget() |
(package private) static long |
getTargetImpl(long peer) |
long |
getTimeStamp() |
(package private) static long |
getTimeStampImpl(long peer) |
java.lang.String |
getType() |
(package private) static java.lang.String |
getTypeImpl(long peer) |
int |
hashCode() |
void |
initEvent(java.lang.String eventTypeArg,
boolean canBubbleArg,
boolean cancelableArg) |
(package private) static void |
initEventImpl(long peer,
java.lang.String eventTypeArg,
boolean canBubbleArg,
boolean cancelableArg) |
void |
preventDefault() |
(package private) static void |
preventDefaultImpl(long peer) |
void |
setCancelBubble(boolean value) |
(package private) static void |
setCancelBubbleImpl(long peer,
boolean value) |
void |
setReturnValue(boolean value) |
(package private) static void |
setReturnValueImpl(long peer,
boolean value) |
void |
stopImmediatePropagation() |
(package private) static void |
stopImmediatePropagationImpl(long peer) |
void |
stopPropagation() |
(package private) static void |
stopPropagationImpl(long peer) |
private final long peer
private static final int TYPE_WheelEvent
private static final int TYPE_MouseEvent
private static final int TYPE_KeyboardEvent
private static final int TYPE_UIEvent
private static final int TYPE_MutationEvent
public static final int NONE
public static final int CAPTURING_PHASE
public static final int AT_TARGET
public static final int BUBBLING_PHASE
public static final int MOUSEDOWN
public static final int MOUSEUP
public static final int MOUSEOVER
public static final int MOUSEOUT
public static final int MOUSEMOVE
public static final int MOUSEDRAG
public static final int CLICK
public static final int DBLCLICK
public static final int KEYDOWN
public static final int KEYUP
public static final int KEYPRESS
public static final int DRAGDROP
public static final int FOCUS
public static final int BLUR
public static final int SELECT
public static final int CHANGE
static org.w3c.dom.events.Event create(long peer)
long getPeer()
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
static long getPeer(org.w3c.dom.events.Event arg)
private static void dispose(long peer)
private static int getCPPTypeImpl(long peer)
static org.w3c.dom.events.Event getImpl(long peer)
public java.lang.String getType()
getType
in interface org.w3c.dom.events.Event
static java.lang.String getTypeImpl(long peer)
public org.w3c.dom.events.EventTarget getTarget()
getTarget
in interface org.w3c.dom.events.Event
static long getTargetImpl(long peer)
public org.w3c.dom.events.EventTarget getCurrentTarget()
getCurrentTarget
in interface org.w3c.dom.events.Event
static long getCurrentTargetImpl(long peer)
public short getEventPhase()
getEventPhase
in interface org.w3c.dom.events.Event
static short getEventPhaseImpl(long peer)
public boolean getBubbles()
getBubbles
in interface org.w3c.dom.events.Event
static boolean getBubblesImpl(long peer)
public boolean getCancelable()
getCancelable
in interface org.w3c.dom.events.Event
static boolean getCancelableImpl(long peer)
public long getTimeStamp()
getTimeStamp
in interface org.w3c.dom.events.Event
static long getTimeStampImpl(long peer)
public boolean getDefaultPrevented()
static boolean getDefaultPreventedImpl(long peer)
public boolean getIsTrusted()
static boolean getIsTrustedImpl(long peer)
public org.w3c.dom.events.EventTarget getSrcElement()
static long getSrcElementImpl(long peer)
public boolean getReturnValue()
static boolean getReturnValueImpl(long peer)
public void setReturnValue(boolean value)
static void setReturnValueImpl(long peer, boolean value)
public boolean getCancelBubble()
static boolean getCancelBubbleImpl(long peer)
public void setCancelBubble(boolean value)
static void setCancelBubbleImpl(long peer, boolean value)
public void stopPropagation()
stopPropagation
in interface org.w3c.dom.events.Event
static void stopPropagationImpl(long peer)
public void preventDefault()
preventDefault
in interface org.w3c.dom.events.Event
static void preventDefaultImpl(long peer)
public void initEvent(java.lang.String eventTypeArg, boolean canBubbleArg, boolean cancelableArg)
initEvent
in interface org.w3c.dom.events.Event
static void initEventImpl(long peer, java.lang.String eventTypeArg, boolean canBubbleArg, boolean cancelableArg)
public void stopImmediatePropagation()
static void stopImmediatePropagationImpl(long peer)