sbIServicePaneNode Interface Reference

The interface to interact with a particular node in the service pane. More...

import"sbIServicePaneService.idl";

Inheritance diagram for sbIServicePaneNode:
[legend]
Collaboration diagram for sbIServicePaneNode:
[legend]

Public Member Functions

void addEventListener (in sbIServicePaneNodeListener aListener)
 Event listeners that will be called whenever the node gets notified that the given event has occured with this node as the target. More...
 
void removeEventListener (in sbIServicePaneNodeListener aListener)
 
void dispatchEvent (in AString event)
 
void addMutationListener (in sbIServicePaneMutationListener aListener)
 Adds mutation listener that will be called whenever a node or one of its children get modified. More...
 
void removeMutationListener (in sbIServicePaneMutationListener aListener)
 Removes a previously added mutation listener. More...
 
boolean hasAttribute (in AString aName)
 
AString getAttribute (in AString aName)
 
AString setAttribute (in AString aName, in AString aValue)
 
void removeAttribute (in AString aName)
 
boolean hasAttributeNS (in aString aNamespace, in AString aName)
 
AString getAttributeNS (in AString aNamespace, in AString aName)
 
AString setAttributeNS (in AString aNamespace, in AString aName, in AString aValue)
 
void removeAttributeNS (in AString aNamespace, in AString aName)
 
sbIServicePaneNode appendChild (in sbIServicePaneNode aChild)
 
sbIServicePaneNode insertBefore (in sbIServicePaneNode aNewNode, in sbIServicePaneNode aAdjacentNode)
 
void removeChild (in sbIServicePaneNode aChild)
 
void replaceChild (in sbIServicePaneNode aNewNode, in sbIServicePaneNode aOldNode)
 

Public Attributes

attribute AString id
 
readonly attribute boolean isContainer
 
attribute AString className
 
attribute AString url
 
attribute AString contentPrefix
 A prefix for URLs associated with this node. This prefix is used to test urls when sbIServicePaneService.URL_MATCH_PREFIX is used with sbIServicePaneService.getNodeForURL. More...
 
attribute AString image
 
attribute AString name
 
readonly attribute AString displayName
 
attribute AString tooltip
 
attribute boolean hidden
 
attribute boolean editable
 
attribute boolean isOpen
 
attribute AString contractid
 
attribute AString searchtype
 
attribute AString dndDragTypes
 
attribute AString dndAcceptNear
 
attribute AString dndAcceptIn
 
attribute AString stringbundle
 
attribute AString properties
 
readonly attribute
nsIStringEnumerator 
attributes
 enumerator returning names of node attributes More...
 
readonly attribute
nsISimpleEnumerator 
childNodes
 enumerator returning node's child nodes More...
 
readonly attribute
sbIServicePaneNode 
firstChild
 
readonly attribute
sbIServicePaneNode 
lastChild
 
readonly attribute
sbIServicePaneNode 
nextSibling
 
readonly attribute
sbIServicePaneNode 
previousSibling
 
readonly attribute
sbIServicePaneNode 
parentNode
 

Detailed Description

The interface to interact with a particular node in the service pane.

Definition at line 52 of file sbIServicePaneService.idl.

Member Function Documentation

void sbIServicePaneNode::addEventListener ( in sbIServicePaneNodeListener  aListener)

Event listeners that will be called whenever the node gets notified that the given event has occured with this node as the target.

void sbIServicePaneNode::addMutationListener ( in sbIServicePaneMutationListener  aListener)

Adds mutation listener that will be called whenever a node or one of its children get modified.

Parameters
aListenerlistener to be added
sbIServicePaneNode sbIServicePaneNode::appendChild ( in sbIServicePaneNode  aChild)
void sbIServicePaneNode::dispatchEvent ( in AString  event)
AString sbIServicePaneNode::getAttribute ( in AString  aName)
AString sbIServicePaneNode::getAttributeNS ( in AString  aNamespace,
in AString  aName 
)
boolean sbIServicePaneNode::hasAttribute ( in AString  aName)
boolean sbIServicePaneNode::hasAttributeNS ( in aString  aNamespace,
in AString  aName 
)
sbIServicePaneNode sbIServicePaneNode::insertBefore ( in sbIServicePaneNode  aNewNode,
in sbIServicePaneNode  aAdjacentNode 
)
void sbIServicePaneNode::removeAttribute ( in AString  aName)
void sbIServicePaneNode::removeAttributeNS ( in AString  aNamespace,
in AString  aName 
)
void sbIServicePaneNode::removeChild ( in sbIServicePaneNode  aChild)
void sbIServicePaneNode::removeEventListener ( in sbIServicePaneNodeListener  aListener)
void sbIServicePaneNode::removeMutationListener ( in sbIServicePaneMutationListener  aListener)

Removes a previously added mutation listener.

Parameters
aListenerlistener to be removed
void sbIServicePaneNode::replaceChild ( in sbIServicePaneNode  aNewNode,
in sbIServicePaneNode  aOldNode 
)
AString sbIServicePaneNode::setAttribute ( in AString  aName,
in AString  aValue 
)
AString sbIServicePaneNode::setAttributeNS ( in AString  aNamespace,
in AString  aName,
in AString  aValue 
)

Member Data Documentation

readonly attribute nsIStringEnumerator sbIServicePaneNode::attributes

enumerator returning names of node attributes

Definition at line 148 of file sbIServicePaneService.idl.

readonly attribute nsISimpleEnumerator sbIServicePaneNode::childNodes

enumerator returning node's child nodes

Definition at line 150 of file sbIServicePaneService.idl.

attribute AString sbIServicePaneNode::className

Definition at line 61 of file sbIServicePaneService.idl.

attribute AString sbIServicePaneNode::contentPrefix

A prefix for URLs associated with this node. This prefix is used to test urls when sbIServicePaneService.URL_MATCH_PREFIX is used with sbIServicePaneService.getNodeForURL.

Definition at line 70 of file sbIServicePaneService.idl.

attribute AString sbIServicePaneNode::contractid

Definition at line 87 of file sbIServicePaneService.idl.

readonly attribute AString sbIServicePaneNode::displayName

Definition at line 77 of file sbIServicePaneService.idl.

attribute AString sbIServicePaneNode::dndAcceptIn

Definition at line 97 of file sbIServicePaneService.idl.

attribute AString sbIServicePaneNode::dndAcceptNear

Definition at line 95 of file sbIServicePaneService.idl.

attribute AString sbIServicePaneNode::dndDragTypes

Definition at line 93 of file sbIServicePaneService.idl.

attribute boolean sbIServicePaneNode::editable

Definition at line 83 of file sbIServicePaneService.idl.

readonly attribute sbIServicePaneNode sbIServicePaneNode::firstChild

Definition at line 151 of file sbIServicePaneService.idl.

attribute boolean sbIServicePaneNode::hidden

Definition at line 81 of file sbIServicePaneService.idl.

attribute AString sbIServicePaneNode::id

Definition at line 55 of file sbIServicePaneService.idl.

attribute AString sbIServicePaneNode::image

Definition at line 73 of file sbIServicePaneService.idl.

readonly attribute boolean sbIServicePaneNode::isContainer

Definition at line 58 of file sbIServicePaneService.idl.

attribute boolean sbIServicePaneNode::isOpen

Definition at line 85 of file sbIServicePaneService.idl.

readonly attribute sbIServicePaneNode sbIServicePaneNode::lastChild

Definition at line 152 of file sbIServicePaneService.idl.

attribute AString sbIServicePaneNode::name

Definition at line 75 of file sbIServicePaneService.idl.

readonly attribute sbIServicePaneNode sbIServicePaneNode::nextSibling

Definition at line 153 of file sbIServicePaneService.idl.

readonly attribute sbIServicePaneNode sbIServicePaneNode::parentNode

Definition at line 155 of file sbIServicePaneService.idl.

readonly attribute sbIServicePaneNode sbIServicePaneNode::previousSibling

Definition at line 154 of file sbIServicePaneService.idl.

attribute AString sbIServicePaneNode::properties

Definition at line 103 of file sbIServicePaneService.idl.

attribute AString sbIServicePaneNode::searchtype

Definition at line 89 of file sbIServicePaneService.idl.

attribute AString sbIServicePaneNode::stringbundle

Definition at line 100 of file sbIServicePaneService.idl.

attribute AString sbIServicePaneNode::tooltip

Definition at line 79 of file sbIServicePaneService.idl.

attribute AString sbIServicePaneNode::url

Definition at line 63 of file sbIServicePaneService.idl.


The documentation for this interface was generated from the following file: