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.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com