Top Fields Constructors Methods
com.sun.webkit.dom

public Class UIEventImpl

extends EventImpl
implements UIEvent
Class Inheritance
All Implemented Interfaces
org.w3c.dom.events.UIEvent, org.w3c.dom.events.Event
Known Direct Subclasses
com.sun.webkit.dom.KeyboardEventImpl, com.sun.webkit.dom.MouseEventImpl
Imports
org.w3c.dom.events.UIEvent, org.w3c.dom.views.AbstractView

Field Summary

Inherited from com.sun.webkit.dom.EventImpl:
AT_TARGETBLURBUBBLING_PHASECAPTURING_PHASECHANGECLICKDBLCLICKDRAGDROPFOCUSKEYDOWNKEYPRESSKEYUPMOUSEDOWNMOUSEDRAGMOUSEMOVEMOUSEOUTMOUSEOVERMOUSEUPNONESELECT

Constructor Summary

AccessConstructor and Description
pack-priv
UIEventImpl(long peer)

Method Summary

Modifier and TypeMethod and Description
public int
pack-priv static native int
getCharCodeImpl(long peer)

public int
getDetail()

Implements org.w3c.dom.events.UIEvent.getDetail.

Specifies some detail information about the Event, depending on the type of event.

pack-priv static native int
getDetailImpl(long peer)

pack-priv static UIEvent
public int
pack-priv static native int
getKeyCodeImpl(long peer)

public int
pack-priv static native int
getLayerXImpl(long peer)

public int
pack-priv static native int
getLayerYImpl(long peer)

public int
pack-priv static native int
getPageXImpl(long peer)

public int
pack-priv static native int
getPageYImpl(long peer)

public AbstractView
getView()

Implements org.w3c.dom.events.UIEvent.getView.

The view attribute identifies the AbstractView from which the event was generated.

pack-priv static native long
getViewImpl(long peer)

public int
pack-priv static native int
getWhichImpl(long peer)

public void
initUIEvent(String
Specifies the event type.
type
,
boolean
Specifies whether or not the event can bubble.
canBubble
,
boolean
Specifies whether or not the event's default action can be prevented.
cancelable
,
AbstractView
Specifies the Event's AbstractView.
view
,
int
Specifies the Event's detail.
detail
)

Implements org.w3c.dom.events.UIEvent.initUIEvent.

The initUIEvent method is used to initialize the value of a UIEvent created through the DocumentEvent interface.

pack-priv static native void
initUIEventImpl(long peer, String type, boolean canBubble, boolean cancelable, long view, int detail)

Inherited from com.sun.webkit.dom.EventImpl:
createequalsgetBubblesgetBubblesImplgetCancelablegetCancelableImplgetCancelBubblegetCancelBubbleImplgetCurrentTargetgetCurrentTargetImplgetDefaultPreventedgetDefaultPreventedImplgetEventPhasegetEventPhaseImplgetIsTrustedgetIsTrustedImplgetPeergetPeergetReturnValuegetReturnValueImplgetSrcElementgetSrcElementImplgetTargetgetTargetImplgetTimeStampgetTimeStampImplgetTypegetTypeImplhashCodeinitEventinitEventImplpreventDefaultpreventDefaultImplsetCancelBubblesetCancelBubbleImplsetReturnValuesetReturnValueImplstopImmediatePropagationstopImmediatePropagationImplstopPropagationstopPropagationImpl

Constructor Detail

UIEventImplback to summary
pack-priv UIEventImpl(long peer)

Method Detail

getCharCodeback to summary
public int getCharCode()
getCharCodeImplback to summary
pack-priv static native int getCharCodeImpl(long peer)
getDetailback to summary
public int getDetail()

Implements org.w3c.dom.events.UIEvent.getDetail.

Doc from org.w3c.dom.events.UIEvent.getDetail.

Specifies some detail information about the Event, depending on the type of event.

getDetailImplback to summary
pack-priv static native int getDetailImpl(long peer)
getImplback to summary
pack-priv static UIEvent getImpl(long peer)

Hides com.sun.webkit.dom.EventImpl.getImpl.

getKeyCodeback to summary
public int getKeyCode()
getKeyCodeImplback to summary
pack-priv static native int getKeyCodeImpl(long peer)
getLayerXback to summary
public int getLayerX()
getLayerXImplback to summary
pack-priv static native int getLayerXImpl(long peer)
getLayerYback to summary
public int getLayerY()
getLayerYImplback to summary
pack-priv static native int getLayerYImpl(long peer)
getPageXback to summary
public int getPageX()
getPageXImplback to summary
pack-priv static native int getPageXImpl(long peer)
getPageYback to summary
public int getPageY()
getPageYImplback to summary
pack-priv static native int getPageYImpl(long peer)
getViewback to summary
public AbstractView getView()

Implements org.w3c.dom.events.UIEvent.getView.

Doc from org.w3c.dom.events.UIEvent.getView.

The view attribute identifies the AbstractView from which the event was generated.

getViewImplback to summary
pack-priv static native long getViewImpl(long peer)
getWhichback to summary
public int getWhich()
getWhichImplback to summary
pack-priv static native int getWhichImpl(long peer)
initUIEventback to summary
public void initUIEvent(String type, boolean canBubble, boolean cancelable, AbstractView view, int detail)

Implements org.w3c.dom.events.UIEvent.initUIEvent.

Doc from org.w3c.dom.events.UIEvent.initUIEvent.

The initUIEvent method is used to initialize the value of a UIEvent created through the DocumentEvent interface. This method may only be called before the UIEvent has been dispatched via the dispatchEvent method, though it may be called multiple times during that phase if necessary. If called multiple times, the final invocation takes precedence.

Parameters
type:String

Specifies the event type.

canBubble:boolean

Specifies whether or not the event can bubble.

cancelable:boolean

Specifies whether or not the event's default action can be prevented.

view:AbstractView

Specifies the Event's AbstractView.

detail:int

Specifies the Event's detail.

initUIEventImplback to summary
pack-priv static native void initUIEventImpl(long peer, String type, boolean canBubble, boolean cancelable, long view, int detail)