Class Index | File Index

Classes


Class zwt.ui.popup.PopupWindowEvent


Extends zwt.event.UIEvent.

A popup window event object is emitted when a popup window event occurs on a popup window object.


Defined in: PopupWindowEvent.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
zwt.ui.popup.PopupWindowEvent(event, zwt_ui_Widget_widget, int_type)
Construct a popup window event.
Field Summary
Field Attributes Field Name and Description
<static>  
zwt.ui.popup.PopupWindowEvent.WINDOW_CLOSE
Constant used to indicate a popup window close event
<static>  
zwt.ui.popup.PopupWindowEvent.WINDOW_INIT_MOVE
Constant used to indicate a popup window init move event
<static>  
zwt.ui.popup.PopupWindowEvent.WINDOW_INIT_RESIZE
Constant used to indicate a popup window init resize event
<static>  
zwt.ui.popup.PopupWindowEvent.WINDOW_MAXIMIZE
Constant used to indicate a popup window maximize event
<static>  
zwt.ui.popup.PopupWindowEvent.WINDOW_MINIMIZE
Constant used to indicate a popup window minimize event
<static>  
zwt.ui.popup.PopupWindowEvent.WINDOW_RESTORE
Constant used to indicate a popup window restore event
Method Summary
Method Attributes Method Name and Description
 
getX()
Return the horizontal position of the cursor when the event occurs.
 
getY()
Return the vertical position of the cursor when the event occurs.
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.ui.popup.PopupWindowEvent(event, zwt_ui_Widget_widget, int_type)
Construct a popup window event.
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> zwt.ui.popup.PopupWindowEvent.WINDOW_CLOSE
Constant used to indicate a popup window close event

<static> zwt.ui.popup.PopupWindowEvent.WINDOW_INIT_MOVE
Constant used to indicate a popup window init move event

<static> zwt.ui.popup.PopupWindowEvent.WINDOW_INIT_RESIZE
Constant used to indicate a popup window init resize event

<static> zwt.ui.popup.PopupWindowEvent.WINDOW_MAXIMIZE
Constant used to indicate a popup window maximize event

<static> zwt.ui.popup.PopupWindowEvent.WINDOW_MINIMIZE
Constant used to indicate a popup window minimize event

<static> zwt.ui.popup.PopupWindowEvent.WINDOW_RESTORE
Constant used to indicate a popup window restore event
Method Detail
{Integer} getX()
Return the horizontal position of the cursor when the event occurs.
Returns:
The X position

{Integer} getY()
Return the vertical position of the cursor when the event occurs.
Returns:
The Y position

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Jan 12 2012 02:07:53 GMT+0100 (CET)