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.

nsIXTFElement

IID:4f144387-796d-4baf-8641-5db45dba1808
Inherits From:nsISupports

Constants

PRUint32 NOTIFY_WILL_CHANGE_DOCUMENT = 1
PRUint32 NOTIFY_DOCUMENT_CHANGED = 2
PRUint32 NOTIFY_WILL_CHANGE_PARENT = 4
PRUint32 NOTIFY_PARENT_CHANGED = 8
PRUint32 NOTIFY_WILL_INSERT_CHILD = 16
PRUint32 NOTIFY_CHILD_INSERTED = 32
PRUint32 NOTIFY_WILL_APPEND_CHILD = 64
PRUint32 NOTIFY_CHILD_APPENDED = 128
PRUint32 NOTIFY_WILL_REMOVE_CHILD = 256
PRUint32 NOTIFY_CHILD_REMOVED = 512
PRUint32 NOTIFY_WILL_SET_ATTRIBUTE = 1024
PRUint32 NOTIFY_ATTRIBUTE_SET = 2048
PRUint32 NOTIFY_WILL_REMOVE_ATTRIBUTE = 4096
PRUint32 NOTIFY_ATTRIBUTE_REMOVED = 8192
PRUint32 NOTIFY_BEGIN_ADDING_CHILDREN = 16384
PRUint32 NOTIFY_DONE_ADDING_CHILDREN = 32768
PRUint32 NOTIFY_HANDLE_DEFAULT = 65536
PRUint32 NOTIFY_PERFORM_ACCESSKEY = 131072

Properties

readonly nsIDOMAttr accesskeyNode

Returns accesskey attribute node.

readonly PRBool isAttributeHandler


Methods

void attributeRemoved ( nsIAtom name ) void attributeSet ( nsIAtom name , AString newValue ) void beginAddingChildren ( ) void childAppended ( nsIDOMNode child ) void childInserted ( nsIDOMNode child , PRUint32 index ) void childRemoved ( PRUint32 index ) void cloneState ( nsIDOMElement element ) void documentChanged ( nsIDOMDocument newDoc ) void doneAddingChildren ( ) void getScriptingInterfaces ( out PRUint32 count , out nsIIDPtr array ) PRBool handleDefault ( nsIDOMEvent event ) void onCreated ( nsIXTFElementWrapper wrapper ) void onDestroyed ( ) void parentChanged ( nsIDOMElement newParent ) void performAccesskey ( ) void willAppendChild ( nsIDOMNode child ) void willChangeDocument ( nsIDOMDocument newDoc ) void willChangeParent ( nsIDOMElement newParent ) void willInsertChild ( nsIDOMNode child , PRUint32 index ) void willRemoveAttribute ( nsIAtom name ) void willRemoveChild ( PRUint32 index ) void willSetAttribute ( nsIAtom name , AString newValue )

void attributeRemoved ( nsIAtom name )

Arguments:
name

void attributeSet ( nsIAtom name , AString newValue )

Arguments:
name
newValue

void beginAddingChildren ( )


void childAppended ( nsIDOMNode child )

Arguments:
child

void childInserted ( nsIDOMNode child , PRUint32 index )

Arguments:
child
index

void childRemoved ( PRUint32 index )

Arguments:
index

void cloneState ( nsIDOMElement element )

Arguments:
element

void documentChanged ( nsIDOMDocument newDoc )

Arguments:
newDoc

void doneAddingChildren ( )


void getScriptingInterfaces ( out PRUint32 count , out nsIIDPtr array )

Arguments:
count
array

PRBool handleDefault ( nsIDOMEvent event )

Arguments:
event

void onCreated ( nsIXTFElementWrapper wrapper )

Arguments:
wrapper

void onDestroyed ( )


void parentChanged ( nsIDOMElement newParent )

Arguments:
newParent

void performAccesskey ( )

Performs accesskey. The method is called when accesskey is activated.


void willAppendChild ( nsIDOMNode child )

Arguments:
child

void willChangeDocument ( nsIDOMDocument newDoc )

Arguments:
newDoc

void willChangeParent ( nsIDOMElement newParent )

Arguments:
newParent

void willInsertChild ( nsIDOMNode child , PRUint32 index )

Arguments:
child
index

void willRemoveAttribute ( nsIAtom name )

Arguments:
name

void willRemoveChild ( PRUint32 index )

Arguments:
index

void willSetAttribute ( nsIAtom name , AString newValue )

Arguments:
name
newValue

References

This interface is returned from the following methods:

nsIXTFElementFactory.createElement

Reference documentation is generated from Mozilla's source.