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

Class Image

source code

UIObject --+    
           |    
      Widget --+
               |
              Image

A widget that displays the image at a given URL.

Instance Methods [hide private]
 
__init__(self, url="") source code
 
addClickListener(self, listener) source code
 
addLoadListener(self, listener) source code
 
addMouseListener(self, listener) source code
 
getUrl(self) source code
 
onBrowserEvent(self, event) source code
 
prefetch(self, url) source code
 
setUrl(self, url) source code

Inherited from Widget: getID, getLayoutData, getParent, isAttached, onAttach, onDetach, onLoad, removeFromParent, setID, setLayoutData, setParent

Inherited from UIObject: addStyleName, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleName, getTitle, isVisible, removeStyleName, setElement, setHeight, setPixelSize, setSize, setStyleName, setTitle, setVisible, setWidth, setzIndex, sinkEvents, unsinkEvents

Method Details [hide private]

__init__(self, url="")
(Constructor)

source code 
Overrides: Widget.__init__

onBrowserEvent(self, event)

source code 
Overrides: Widget.onBrowserEvent