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.

nsIHTMLObjectResizeListener

IID:27b00295-349c-429f-ad0c-87b859e77130
Inherits From:nsISupports

Methods

void onEndResizing ( nsIDOMElement element , PRInt32 oldWidth , PRInt32 oldHeight , PRInt32 newWidth , PRInt32 newHeight ) void onStartResizing ( nsIDOMElement element )

void onEndResizing ( nsIDOMElement element , PRInt32 oldWidth , PRInt32 oldHeight , PRInt32 newWidth , PRInt32 newHeight )

Listener's callback called by the editor when the user has finalized the resizing of an element

Arguments:
element: [IN] the element that was resized
oldWidth: [IN] the width of the element before resizing
oldHeight: [IN] the height of the element before resizing
newWidth: [IN] the width of the element after resizing
newHeight: [IN] the height of the element after resizing

void onStartResizing ( nsIDOMElement element )

Listener's callback called by the editor when the user starts resizing an element

Arguments:
element: [IN] the element

References

This interface is passed as an argument to the following methods:

nsIHTMLObjectResizer.addObjectResizeEventListener, nsIHTMLObjectResizer.removeObjectResizeEventListener

Reference documentation is generated from Mozilla's source.