/** * DOM: The <code>initUIEvent</code> method is used to initialize * the value of a <code>UIEvent</code> created through the * <code>DocumentEvent</code> interface. This method may only be * called before the <code>UIEvent</code> has been dispatched via * the <code>dispatchEvent</code> method, though it may be called * multiple times during that phase if necessary. If called * multiple times, the final invocation takes precedence. * * @param typeArg Specifies the event type. * @param canBubbleArg Specifies whether or not the event can bubble. * @param cancelableArg Specifies whether or not the event's default * action can be prevented. * @param viewArg Specifies the <code>Event</code>'s * <code>AbstractView</code>. * @param detailArg Specifies the <code>Event</code>'s detail. */ public void initUIEvent(String typeArg, boolean canBubbleArg, boolean cancelableArg, AbstractView viewArg, int detailArg) { initEvent(typeArg, canBubbleArg, cancelableArg); this.view = viewArg; this.detail = detailArg; }
/** * DOM: The <code>initUIEvent</code> method is used to initialize * the value of a <code>UIEvent</code> created through the * <code>DocumentEvent</code> interface. This method may only be * called before the <code>UIEvent</code> has been dispatched via * the <code>dispatchEvent</code> method, though it may be called * multiple times during that phase if necessary. If called * multiple times, the final invocation takes precedence. * * @param typeArg Specifies the event type. * @param canBubbleArg Specifies whether or not the event can bubble. * @param cancelableArg Specifies whether or not the event's default * action can be prevented. * @param viewArg Specifies the <code>Event</code>'s * <code>AbstractView</code>. * @param detailArg Specifies the <code>Event</code>'s detail. */ public void initUIEvent(String typeArg, boolean canBubbleArg, boolean cancelableArg, AbstractView viewArg, int detailArg) { initEvent(typeArg, canBubbleArg, cancelableArg); this.view = viewArg; this.detail = detailArg; }
/** * DOM: The <code>initUIEvent</code> method is used to initialize * the value of a <code>UIEvent</code> created through the * <code>DocumentEvent</code> interface. This method may only be * called before the <code>UIEvent</code> has been dispatched via * the <code>dispatchEvent</code> method, though it may be called * multiple times during that phase if necessary. If called * multiple times, the final invocation takes precedence. * * @param typeArg Specifies the event type. * @param canBubbleArg Specifies whether or not the event can bubble. * @param cancelableArg Specifies whether or not the event's default * action can be prevented. * @param viewArg Specifies the <code>Event</code>'s * <code>AbstractView</code>. * @param detailArg Specifies the <code>Event</code>'s detail. */ public void initUIEvent(String typeArg, boolean canBubbleArg, boolean cancelableArg, AbstractView viewArg, int detailArg) { initEvent(typeArg, canBubbleArg, cancelableArg); this.view = viewArg; this.detail = detailArg; }