WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.
@mozilla.org/layout/xul-boxobject-popup;1
This component implements the following interfaces:
Constants
Properties
PRBool nsIPopupBoxObject.autoPosition
Allow the popup to automatically position itself.
readonly AString nsIPopupBoxObject.popupState
Returns the state of the popup: closed - the popup is closed open - the popup is open showing - the popup is in the process of being shown hiding - the popup is in the process of being hidden
Methods
| Interface | Method |
|---|---|
| nsIPopupBoxObject |
void enableKeyboardNavigator ( PRBool enableKeyboardNavigator )
|
| nsIPopupBoxObject |
void enableRollup ( PRBool enableRollup )
|
| nsIPopupBoxObject |
void hidePopup ( )
|
| nsIPopupBoxObject |
void moveTo ( PRInt32 left , PRInt32 top )
|
| nsIPopupBoxObject |
void openPopup ( nsIDOMElement anchorElement , AString position , PRInt32 x , PRInt32 y , PRBool isContextMenu , PRBool attributesOverride )
|
| nsIPopupBoxObject |
void openPopupAtScreen ( PRInt32 x , PRInt32 y , PRBool isContextMenu )
|
| nsIPopupBoxObject |
void setConsumeRollupEvent ( PRUint32 consume )
|
| nsIPopupBoxObject |
void showPopup ( nsIDOMElement srcContent , nsIDOMElement popupContent , PRInt32 xpos , PRInt32 ypos , PRUnichar* popupType , PRUnichar* anchorAlignment , PRUnichar* popupAlignment )
|
| nsIPopupBoxObject |
void sizeTo ( PRInt32 width , PRInt32 height )
|
Reference documentation is generated from Mozilla's source.
