nsIXTFElement

IID:a8b607fd-24b6-4a8c-9a89-d9b24f8e2592
Inherits From:nsISupports

Constants

PRUint32 ELEMENT_TYPE_GENERIC_ELEMENT = 0
PRUint32 ELEMENT_TYPE_SVG_VISUAL = 1
PRUint32 ELEMENT_TYPE_XML_VISUAL = 2
PRUint32 ELEMENT_TYPE_XUL_VISUAL = 3
PRUint32 ELEMENT_TYPE_BINDABLE = 4
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

Properties

readonly PRUint32 elementType

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 onDestroyed ( ) void parentChanged ( nsIDOMElement newParent ) 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 onDestroyed ( )


void parentChanged ( nsIDOMElement newParent )

Arguments:
newParent

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.

Add a note User Contributed Notes
No comments available
Add a note

Copyright © 1999 - 2005 XULPlanet.com