public interface CustomEvent extends Event
CustomEvent
are events initialized by an application for any purpose. It's represented by the nsIDOMCustomEvent
interface, which extends the nsIDOMEvent
interface.AT_TARGET, BEFORECOPY, BEFORECUT, BEFOREPASTE, BLUR, BUBBLING_PHASE, CAPTURING_PHASE, CHANGE, CLICK, CONTEXTMENU, COPY, CUT, DBLCLICK, DRAG, DRAGEND, DRAGENTER, DRAGLEAVE, DRAGOVER, DRAGSTART, DROP, ERROR, FOCUS, FOCUSIN, FOCUSOUT, INPUT, INVALID, KEYDOWN, KEYPRESS, KEYUP, MOUSEDOWN, MOUSEMOVE, MOUSEOUT, MOUSEOVER, MOUSEUP, MOUSEWHEEL, NONE, PASTE, RESIZE, SCROLL, SELECTSTART, SUBMIT, TOUCHCANCEL, TOUCHEND, TOUCHMOVE, TOUCHSTART, WEBKITANIMATIONEND, WEBKITANIMATIONITERATION, WEBKITANIMATIONSTART, WEBKITTRANSITIONEND
Modifier and Type | Method and Description |
---|---|
Object |
getDetail()
The data passed when initializing the event.
|
void |
initCustomEvent(String typeArg,
boolean canBubbleArg,
boolean cancelableArg,
Object detailArg)
Initializes the event in a manner analogous to the similarly-named method in the DOM Events interfaces.
|
getClipboardData, getCurrentTarget, getEventPhase, getSrcElement, getTarget, getTimeStamp, getType, initEvent, isBubbles, isCancelable, isCancelBubble, isDefaultPrevented, isReturnValue, preventDefault, setCancelBubble, setReturnValue, stopImmediatePropagation, stopPropagation
Object getDetail()
void initCustomEvent(String typeArg, boolean canBubbleArg, boolean cancelableArg, Object detailArg)
Initializes the event in a manner analogous to the similarly-named method in the DOM Events interfaces.
type
canBubble
cancelable
detail
Copyright © 2018. All rights reserved.