Package org.w3c.dom.events
Interface UIEvent
-
- All Superinterfaces:
Event
- All Known Subinterfaces:
KeyboardEvent,MouseEvent,TextEvent
- All Known Implementing Classes:
DOMKeyboardEvent,DOMKeyEvent,DOMMouseEvent,DOMTextEvent,DOMUIEvent,SVGOMWheelEvent
public interface UIEvent extends Event
TheUIEventinterface provides specific contextual information associated with User Interface events.To create an instance of the
UIEventinterface, use theDocumentEvent.createEvent("UIEvent")method call.See also the Document Object Model (DOM) Level 3 Events Specification .
- Since:
- DOM Level 2
-
-
Field Summary
-
Fields inherited from interface org.w3c.dom.events.Event
AT_TARGET, BUBBLING_PHASE, CAPTURING_PHASE
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetDetail()Specifies some detail information about theEvent, depending on the type of event.org.w3c.dom.views.AbstractViewgetView()Theviewattribute identifies theAbstractViewfrom which the event was generated.voidinitUIEvent(java.lang.String typeArg, boolean canBubbleArg, boolean cancelableArg, org.w3c.dom.views.AbstractView viewArg, int detailArg)TheinitUIEventmethod is used to initialize the value of aUIEventobject and has the same behavior asEvent.initEvent().voidinitUIEventNS(java.lang.String namespaceURI, java.lang.String typeArg, boolean canBubbleArg, boolean cancelableArg, org.w3c.dom.views.AbstractView viewArg, int detailArg)TheinitUIEventNSmethod is used to initialize the value of aUIEventobject and has the same behavior asEvent.initEventNS().-
Methods inherited from interface org.w3c.dom.events.Event
getBubbles, getCancelable, getCurrentTarget, getDefaultPrevented, getEventPhase, getNamespaceURI, getTarget, getTimeStamp, getType, initEvent, initEventNS, preventDefault, stopImmediatePropagation, stopPropagation
-
-
-
-
Method Detail
-
getView
org.w3c.dom.views.AbstractView getView()
Theviewattribute identifies theAbstractViewfrom which the event was generated.
-
getDetail
int getDetail()
Specifies some detail information about theEvent, depending on the type of event.
-
initUIEvent
void initUIEvent(java.lang.String typeArg, boolean canBubbleArg, boolean cancelableArg, org.w3c.dom.views.AbstractView viewArg, int detailArg)TheinitUIEventmethod is used to initialize the value of aUIEventobject and has the same behavior asEvent.initEvent().- Parameters:
typeArg- Refer to theEvent.initEvent()method for a description of this parameter.canBubbleArg- Refer to theEvent.initEvent()method for a description of this parameter.cancelableArg- Refer to theEvent.initEvent()method for a description of this parameter.viewArg- SpecifiesUIEvent.view. This value may benull.detailArg- SpecifiesUIEvent.detail.
-
initUIEventNS
void initUIEventNS(java.lang.String namespaceURI, java.lang.String typeArg, boolean canBubbleArg, boolean cancelableArg, org.w3c.dom.views.AbstractView viewArg, int detailArg)TheinitUIEventNSmethod is used to initialize the value of aUIEventobject and has the same behavior asEvent.initEventNS().- Parameters:
namespaceURI- Refer to theEvent.initEventNS()method for a description of this parameter.typeArg- Refer to theEvent.initEventNS()method for a description of this parameter.canBubbleArg- Refer to theEvent.initEventNS()method for a description of this parameter.cancelableArg- Refer to theEvent.initEventNS()method for a description of this parameter.viewArg- Refer to theUIEvent.initUIEvent()method for a description of this parameter.detailArg- Refer to theUIEvent.initUIEvent()method for a description of this parameter.- Since:
- DOM Level 3
-
-