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.

nsISelectionListener

IID:A6CF90E2-15B3-11d2-932E-00805F8ADD32
Inherits From:nsISupports

This interface is implemented by the following components:


Constants

PRInt16 NO_REASON = 0
PRInt16 DRAG_REASON = 1
PRInt16 MOUSEDOWN_REASON = 2
PRInt16 MOUSEUP_REASON = 4
PRInt16 KEYPRESS_REASON = 8
PRInt16 SELECTALL_REASON = 16

Methods

void notifySelectionChanged ( nsIDOMDocument doc , nsISelection sel , PRInt16 reason )

void notifySelectionChanged ( nsIDOMDocument doc , nsISelection sel , PRInt16 reason )

Arguments:
doc
sel
reason

References

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

nsISelectionPrivate.addSelectionListener, nsISelectionPrivate.removeSelectionListener

Reference documentation is generated from Mozilla's source.

Copyright © 1999-2006 XULPlanet.com