UIEvent.initUIEvent

void initUIEvent (String type, Boolean captures, Boolean bubbles, Object view, Number detail)

Parameters

type The event type.
captures Set to true if this event can be captured.
bubbles Set to true if the event bubbles.
view The ScriptUI element that this event relates to.
detail The click count for a mouse-click event.

Description

Initializes an event.