Logo Search packages:      
Sourcecode: xulrunner-1.9 version File versions  Download package

virtual void nsIContent::SetFocus ( nsPresContext *  aPresContext  )  [inline, virtual, inherited]

Set the focus on this content. This is generally something for the event state manager to do, not ordinary people. Ordinary people should do something like nsGenericHTMLElement::SetElementFocus(). This method is the end result, the point where the content finds out it has been focused.

All content elements are potentially focusable.

aPresContext the pres context
See also:

Reimplemented in nsGenericElement, and nsHTMLSelectElement.

Definition at line 457 of file nsIContent.h.


Generated by  Doxygen 1.6.0   Back to index