org.w3c.dom.events.UIEvent |
Known Indirect Subclasses
MouseEvent |
The MouseEvent interface provides specific contextual
information associated with Mouse events. |
|
Summary
Public Methods |
abstract
int
|
getDetail()
Specifies some detail information about the Event ,
depending on the type of event.
|
abstract
AbstractView
|
getView()
The view attribute identifies the AbstractView
from which the event was generated.
|
abstract
void
|
initUIEvent(String typeArg, boolean canBubbleArg, boolean cancelableArg, AbstractView viewArg, int detailArg)
The initUIEvent method is used to initialize the value of
a UIEvent created through the DocumentEvent
interface.
|
[Expand]
Inherited Methods |
From interface
org.w3c.dom.events.Event
abstract
boolean
|
getBubbles()
Used to indicate whether or not an event is a bubbling event.
|
abstract
boolean
|
getCancelable()
Used to indicate whether or not an event can have its default action
prevented.
|
abstract
EventTarget
|
getCurrentTarget()
Used to indicate the EventTarget whose
EventListeners are currently being processed.
|
abstract
short
|
getEventPhase()
Used to indicate which phase of event flow is currently being
evaluated.
|
abstract
EventTarget
|
getTarget()
Used to indicate the EventTarget to which the event was
originally dispatched.
|
abstract
long
|
getTimeStamp()
Used to specify the time (in milliseconds relative to the epoch) at
which the event was created.
|
abstract
String
|
getType()
The name of the event (case-insensitive).
|
abstract
void
|
initEvent(String eventTypeArg, boolean canBubbleArg, boolean cancelableArg)
The initEvent method is used to initialize the value of an
Event created through the DocumentEvent
interface.
|
abstract
void
|
preventDefault()
If an event is cancelable, the preventDefault method is
used to signify that the event is to be canceled, meaning any default
action normally taken by the implementation as a result of the event
will not occur.
|
abstract
void
|
stopPropagation()
The stopPropagation method is used prevent further
propagation of an event during event flow.
|
|
Public Methods
public
abstract
int
getDetail
()
Specifies some detail information about the Event
,
depending on the type of event.
public
abstract
AbstractView
getView
()
The view
attribute identifies the AbstractView
from which the event was generated.
public
abstract
void
initUIEvent
(String typeArg, boolean canBubbleArg, boolean cancelableArg, AbstractView viewArg, int detailArg)
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
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.
|