or
| function FilterTree(srcTree) { |
| this.init(srcTree); |
| } |
| FilterTree.prototype = { |
| _srcTree: null, |
| _dstTree: null, |
| init: function(srcTree){ |
| this._srcTree = srcTree; |
| this._srcTree.add_nodeChecked(this.otherFunction); |
| }, |
| srcTree_nodeChecked: function(){ |
| alert('srcTree_nodeChecked: called'); |
| this.otherFunction(); |
| }, |
| otherFunction(){ |
| alert('otherFunction called'); |
| } |
| } |

