public class DOMUIEvent extends AbstractEvent implements org.w3c.dom.events.UIEvent
Modifier and Type | Field and Description |
---|---|
private int |
detail |
private org.w3c.dom.views.AbstractView |
view |
bubbleLimit, cancelable, currentTarget, defaultActions, eventPhase, isBubbling, namespaceURI, originalEvent, preventDefault, stopImmediatePropagation, stopPropagation, target, timeStamp, type
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. |
org.w3c.dom.views.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,
org.w3c.dom.views.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,
org.w3c.dom.views.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, getStopImmediatePropagation, getStopPropagation, getTarget, getTimeStamp, getType, initEvent, initEventNS, preventDefault, preventDefault, setBubbleLimit, setCurrentTarget, setEventPhase, setTarget, stopImmediatePropagation, stopImmediatePropagation, stopPropagation, stopPropagation
public org.w3c.dom.views.AbstractView getView()
view
attribute identifies the
AbstractView
from which the event was generated.getView
in interface org.w3c.dom.events.UIEvent
public int getDetail()
Event
, depending on the type of event.getDetail
in interface org.w3c.dom.events.UIEvent
public void initUIEvent(java.lang.String typeArg, boolean canBubbleArg, boolean cancelableArg, org.w3c.dom.views.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 org.w3c.dom.events.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, org.w3c.dom.views.AbstractView viewArg, int detailArg)
protected java.lang.String[] split(java.lang.String s)