JavaScript API Reference for Oracle ADF Faces
org.w3c.dom.events
Class UIEvent
org.ecmascript.object.Object
|
+--org.w3c.dom.events.Event
|
+--org.w3c.dom.events.UIEvent
- Direct Known Subclasses:
- MouseEvent
public abstract class UIEvent
extends Event
The User Interface event module is composed of events listed in HTML 4.0 and additional events which are supported in DOM Level 0 browsers. A DOM application may use the hasFeature(feature, version) method of the DOMImplementation interface with parameter values "UIEvents" and "2.0" (respectively) to determine whether or not the User Interface event module is supported by the implementation. In order to fully support this module, an implementation must also support the "Events" feature defined in this specification and the "Views" feature defined in the DOM Level 2 Views specification [DOM Level 2 Views]. Please, refer to additional information about conformance in the DOM Level 2 Core specification [DOM Level 2 Core].
Note: To create an instance of the UIEvent interface, use the feature string "UIEvents" as the value of the input parameter used with the createEvent method of the DocumentEvent interface.
Introduced in DOM Level 2.
Note that this object is implemented and supported by the web browser and results of its use may vary.
Field Summary
|
public Number |
detail
-
Specifies some detail information about the Event, depending on the type of event.
|
public AbstractView |
view
-
The view attribute identifies the AbstractView from which the event was generated.
|
Method Summary
|
public void |
initUIEvent(String typeArg, Boolean canBubbleArg, Boolean cancelableArg, AbstractView viewArg, Number detailArg)
-
The initUIEvent() method is used to initialize the value of a UIEvent created through the DocumentEvent interface.
|
public Number detail
Specifies some detail information about the Event, depending on the type of event.
This is a readonly attribute
public AbstractView view
The view attribute identifies the AbstractView from which the event was generated.
This is a readonly attribute
public void initUIEvent(String typeArg,
Boolean canBubbleArg,
Boolean cancelableArg,
AbstractView viewArg,
Number 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 {@link EventTarget#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. |
- Return:
void
- null
Generated on 2014.03.27 12:59 UTC
Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.