this.__popup = new LzView(parentView, {'visible': false, 'bgcolor': 'aqua'}); new LzText(this.__popup, {'text': this.text}); this.__followDel = new LzDelegate(this, 'follow'); this.__popup.setAttribute('x', parentView.getMouse('x')); this.__popup.setAttribute('y', parentView.getMouse('y')-this.__popup.height); this.__popup.setAttribute('visible', true); this.__followDel.register(canvas, 'onmousemove'); this.__popup.setAttribute('visible', false); this.__followDel.unregisterAll(); this.__popup.setAttribute('x', parentView.getMouse('x')); this.__popup.setAttribute('y', parentView.getMouse('y')-this.__popup.height);