Class zwt.event.WindowEvent
Extends
zwt.event.UIEvent.
A WindowEvent object is emitted when a window event occurs.
Defined in: WindowEvent.js.
Constructor Attributes | Constructor Name and Description |
---|---|
zwt.event.WindowEvent(event, zwt_ui_Widget_widget, int_type)
Construct a WindowEvent object.
|
Field Attributes | Field Name and Description |
---|---|
<static> |
zwt.event.WindowEvent.ABORT
Constant used to indicate an abort event.
|
<static> |
zwt.event.WindowEvent.ERROR
Constant used to indicate an error event.
|
<static> |
zwt.event.WindowEvent.LOAD
Constant used to indicate a load event.
|
<static> |
zwt.event.WindowEvent.RESIZE
Constant used to indicate an abort event.
|
<static> |
zwt.event.WindowEvent.UNLOAD
Constant used to indicate an unload event.
|
- Methods borrowed from class zwt.event.UIEvent:
- getBrowserEvent, getBrowserEventTarget, getReturn, getWidget, setReturn
- Methods borrowed from class zwt.event.Event:
- getType, isCancelBubble, setCancelBubble, touch
Class Detail
zwt.event.WindowEvent(event, zwt_ui_Widget_widget, int_type)
Construct a WindowEvent object.
Author: Jeremy KUHN.
Author: Jeremy KUHN.
- Parameters:
- {Event} event
- The javaScript event object
- {zwt.ui.Widget} zwt_ui_Widget_widget
- The widget linked to the event
- {Integer} int_type
- The event type
Field Detail
<static>
{Integer}
zwt.event.WindowEvent.ABORT
Constant used to indicate an abort event.
<static>
{Integer}
zwt.event.WindowEvent.ERROR
Constant used to indicate an error event.
<static>
{Integer}
zwt.event.WindowEvent.LOAD
Constant used to indicate a load event.
<static>
{Integer}
zwt.event.WindowEvent.RESIZE
Constant used to indicate an abort event.
<static>
{Integer}
zwt.event.WindowEvent.UNLOAD
Constant used to indicate an unload event.