# class UIEvent

###

Module | khtml
Namespace | DOM
Class | UIEvent
Inherits | DOM::Event

### methods

- UIEvent ( )

  returns ctor

- UIEvent (other)

  returns ctor

  Argument | Type | Default
  --- | --- | ---
  other | DOM.UIEvent |

- UIEvent (other)

  returns ctor

  Argument | Type | Default
  --- | --- | ---
  other | DOM.Event |

- UIEvent (impl)

  returns ctor
  Not implemented

  Argument | Type | Default
  --- | --- | ---
  impl | UIEventImpl |

- charCode ( )

  returns int

  Non-standard extension to support IE-style charCode event property.

- detail ( )

  returns long

  Specifies some detail information about the Event, depending on the type of event.

- initUIEvent (typeArg, canBubbleArg, cancelableArg, viewArg, detailArg)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  typeArg | DOM.DOMString |
  canBubbleArg | bool |
  cancelableArg | bool |
  viewArg | DOM.AbstractView |
  detailArg | long |

  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.

  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.

- keyCode ( )

  returns int

  Non-standard extension to support IE-style keyCode event property.

- layerX ( )

  returns int

  Non-standard extensions to support Netscape-style layerX and layerY event properties.

- layerY ( )

  returns int

- pageX ( )

  returns int

  Non-standard extensions to support Netscape-style pageX and pageY event properties.

- pageY ( )

  returns int

- view ( )

  returns DOM.AbstractView

  The view attribute identifies the AbstractView from which the event was generated.

- which ( )

  returns int

  Non-standard extension to support Netscape-style "which" event property.