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

Class Label

source code

UIObject --+    
           |    
      Widget --+
               |
              Label

A widget that contains arbitrary text, *not* interpreted as HTML.

Instance Methods [hide private]
 
__init__(self, text=None, wordWrap=True) source code
 
addClickListener(self, listener) source code
 
addMouseListener(self, listener) source code
 
getHorizontalAlignment(self) source code
 
getText(self) source code
 
getWordWrap(self) source code
 
onBrowserEvent(self, event) source code
 
removeClickListener(self, listener) source code
 
removeMouseListener(self, listener) source code
 
setHorizontalAlignment(self, align) source code
 
setText(self, text) source code
 
setWordWrap(self, wrap) 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, text=None, wordWrap=True)
(Constructor)

source code 
Overrides: Widget.__init__

onBrowserEvent(self, event)

source code 
Overrides: Widget.onBrowserEvent