|
| | sbDataRemoteWrapper () |
| |
| nsresult | InitWrapper () |
| |
NS_DECL_ISUPPORTS
NS_DECL_NSICLASSINFO
NS_DECL_NSIOBSERVER
NS_SCRIPTABLE NS_IMETHOD | Init (const nsAString &aKey, const nsAString &aRoot) |
| |
| NS_SCRIPTABLE NS_IMETHOD | BindProperty (nsIDOMElement *aElement, const nsAString &aProperty, PRBool aIsBool, PRBool aIsNot, const nsAString &aEvalString) |
| |
| NS_SCRIPTABLE NS_IMETHOD | BindAttribute (nsIDOMElement *aElement, const nsAString &aProperty, PRBool aIsBool, PRBool aIsNot, const nsAString &aEvalString) |
| |
| NS_SCRIPTABLE NS_IMETHOD | DeleteBranch () |
| |
| NS_SCRIPTABLE NS_IMETHOD | Unbind (void) |
| |
| NS_SCRIPTABLE NS_IMETHOD | BindObserver (nsIObserver *aObserver, PRBool aSuppressFirst) |
| |
| NS_SCRIPTABLE NS_IMETHOD | BindRemoteObserver (sbIRemoteObserver *aObserver, PRBool aSuppressFirst) |
| |
| NS_SCRIPTABLE NS_IMETHOD | GetStringValue (nsAString &aStringValue) |
| |
| NS_SCRIPTABLE NS_IMETHOD | SetStringValue (const nsAString &aStringValue) |
| |
| NS_SCRIPTABLE NS_IMETHOD | GetBoolValue (PRBool *aBoolValue) |
| |
| NS_SCRIPTABLE NS_IMETHOD | SetBoolValue (PRBool aBoolValue) |
| |
| NS_SCRIPTABLE NS_IMETHOD | GetIntValue (PRInt64 *aIntValue) |
| |
| NS_SCRIPTABLE NS_IMETHOD | SetIntValue (PRInt64 aIntValue) |
| |
| void | init (in AString aKey, [optional] in AString aRoot) |
| | Initialize the DataRemote Sets internal state, MUST be called before any other methods. All other calls will throw exceptions if init has not been called. More...
|
| |
| void | unbind () |
| | Disconnect the DataRemote If this DataRemote has been bound via a call to bindObserver(), bindAttribute() or bindProperty() it must be disconnected to prevent calls back to objects that may no longer be around. More...
|
| |
| void | bindObserver (in nsIObserver aObserver, [optional] in boolean aSuppressFirst) |
| | When the key associated with the sbDataRemote changes the observer will get a callback to observe() with the new value for the data, a handle to the sbDataRemote and the key to which the data belongs. More...
|
| |
| void | bindRemoteObserver (in sbIRemoteObserver aObserver, [optional] in boolean aSuppressFirst) |
| | When the key associated with the sbDataRemote changes the observer will get a callback to observe() with the new value for the data, and the key to which the data belongs. More...
|
| |
| void | bindProperty (in nsIDOMElement aElement, in AString aProperty, [optional] in boolean aIsBool, [optional] in boolean aIsNot, [optional] in AString aEvalString) |
| | When the key associated with the sbDataRemote changes the property of the element will be modified appropriately. More...
|
| |
| void | bindAttribute (in nsIDOMElement aElement, in AString aProperty, [optional] in boolean aIsBool, [optional] in boolean aIsNot, [optional] in AString aEvalString) |
| | When the key associated with the sbDataRemote changes the attribute of the element will be modified appropriately. More...
|
| |
| void | deleteBranch () |
| | Called to remove the data remote and all its children. More...
|
| |
Definition at line 78 of file sbDataRemoteWrapper.h.