PopupBoxObject
This object is available to unprivileged JavaScript. It implements the following interfaces:
Properties
boolean autoPosition
Allow the popup to automatically position itself.
Methods
void enableKeyboardNavigator ( boolean enableKeyboardNavigator )
void enableRollup ( boolean enableRollup )
void hidePopup ( )
void moveTo ( PRInt32 left , PRInt32 top )
void showPopup ( Element srcContent , Element popupContent , PRInt32 xpos , PRInt32 ypos , PRUnichar* popupType , PRUnichar* anchorAlignment , PRUnichar* popupAlignment )
void sizeTo ( PRInt32 width , PRInt32 height )
void enableKeyboardNavigator ( boolean enableKeyboardNavigator )
Allow the popup to eat all key events
- Arguments:
- enableKeyboardNavigator
void showPopup ( Element srcContent , Element popupContent , PRInt32 xpos , PRInt32 ypos , PRUnichar* popupType , PRUnichar* anchorAlignment , PRUnichar* popupAlignment )
- Arguments:
- srcContent
- popupContent
- xpos
- ypos
- popupType
- anchorAlignment
- popupAlignment
void sizeTo ( PRInt32 width , PRInt32 height )
Size the popup to the given dimensions
- Arguments:
- width
- height
Reference documentation is generated from Mozilla's source.
