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

PRInt32 nsIContent::IntrinsicState (  )  const [virtual, inherited]

Method to get the _intrinsic_ content state of this content node. This is the state that is independent of the node's presentation. To get the full content state, use nsIEventStateManager. Also see nsIEventStateManager for the possible bits that could be set here.

Reimplemented in nsGenConImageContent, nsGenericHTMLFormElement, nsHTMLOptGroupElement, and nsHTMLOptionElement.

Definition at line 417 of file nsGenericElement.cpp.

Referenced by nsHTMLOptGroupElement::IntrinsicState(), and nsHTMLOptionElement::IntrinsicState().

{
  return IsEditable() ? NS_EVENT_STATE_MOZ_READWRITE :
                        NS_EVENT_STATE_MOZ_READONLY;
}


Generated by  Doxygen 1.6.0   Back to index