public class DOMUIEvent extends AbstractEvent implements UIEvent
bubbleLimit, cancelable, currentTarget, defaultActions, eventPhase, isBubbling, namespaceURI, originalEvent, preventDefault, stopImmediatePropagation, stopPropagation, target, timeStamp, type
AT_TARGET, BUBBLING_PHASE, CAPTURING_PHASE
Constructor and Description |
---|
DOMUIEvent() |
Modifier and Type | Method and Description |
---|---|
int |
getDetail()
DOM: Specifies some detail information about the
Event , depending on the type of event. |
AbstractView |
getView()
DOM: The
view attribute identifies the
AbstractView from which the event was generated. |
void |
initUIEvent(java.lang.String typeArg,
boolean canBubbleArg,
boolean cancelableArg,
AbstractView viewArg,
int detailArg)
DOM: The
initUIEvent method is used to initialize
the value of a UIEvent created through the
DocumentEvent interface. |
void |
initUIEventNS(java.lang.String namespaceURIArg,
java.lang.String typeArg,
boolean canBubbleArg,
boolean cancelableArg,
AbstractView viewArg,
int detailArg)
DOM: Initializes this event object.
|
protected java.lang.String[] |
split(java.lang.String s)
Splits a whitespace separated string into tokens.
|
addDefaultAction, clone, cloneEvent, getBubbleLimit, getBubbles, getCancelable, getCurrentTarget, getDefaultActions, getDefaultPrevented, getEventPhase, getNamespaceURI, getOriginalEvent, getTarget, getTimeStamp, getType, initEvent, initEventNS, preventDefault, setBubbleLimit, stopImmediatePropagation, stopPropagation
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBubbles, getCancelable, getCurrentTarget, getEventPhase, getTarget, getTimeStamp, getType, initEvent, preventDefault, stopPropagation
public AbstractView getView()
view
attribute identifies the
AbstractView
from which the event was generated.public int getDetail()
Event
, depending on the type of event.public void initUIEvent(java.lang.String typeArg, boolean canBubbleArg, boolean cancelableArg, AbstractView viewArg, int detailArg)
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.initUIEvent
in interface UIEvent
typeArg
- Specifies the event type.canBubbleArg
- Specifies whether or not the event can bubble.cancelableArg
- Specifies whether or not the event's default
action can be prevented.viewArg
- Specifies the Event
's
AbstractView
.detailArg
- Specifies the Event
's detail.public void initUIEventNS(java.lang.String namespaceURIArg, java.lang.String typeArg, boolean canBubbleArg, boolean cancelableArg, AbstractView viewArg, int detailArg)
protected java.lang.String[] split(java.lang.String s)
Copyright © 2022 Apache Software Foundation. All Rights Reserved.