Package pyjamas :: Package ui :: Module HTMLLinkPanel
[hide private]
[frames] | no frames]

Source Code for Module pyjamas.ui.HTMLLinkPanel

 1  from pyjamas.ui.HTMLPanel import HTMLPanel 
 2  from pyjamas.ui.Hyperlink import Hyperlink 
 3   
 4  from pyjamas import Window 
 5  from pyjamas import DOM 
 6   
7 -class HTMLLinkPanel(HTMLPanel):
8 - def __init__(self, html="", **kwargs):
9 self.hyperlinks = [] 10 HTMLPanel.__init__(self, html, **kwargs)
11
12 - def setHTML(self, html):
13 self._clear_hyperlinks() 14 HTMLPanel.setHTML(self, html)
15 24
57