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

Class Panel

source code

UIObject --+    
           |    
      Widget --+
               |
              Panel

The basic 'Panel' widget class which can contain other widgets. Panel is a base class from which other Panel classes are derived: you will not need to instantiate a Panel class, but if you create your own Panel widgets, derive them from this class.

Instance Methods [hide private]
 
__init__(self) source code
 
add(self) source code
 
clear(self) source code
 
disown(self, widget) source code
 
adopt(self, widget, container) source code
 
remove(self, widget) source code
 
onAttach(self)
Called when this widget has an element, and that element is on the document's DOM tree, and we have a parent widget.
source code
 
onDetach(self)
Called when this widget is being removed from the DOM tree of the document.
source code
 
__iter__(self) source code

Inherited from Widget: getID, getLayoutData, getParent, isAttached, onBrowserEvent, 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)
(Constructor)

source code 
Overrides: Widget.__init__

onAttach(self)

source code 

Called when this widget has an element, and that element is on the document's DOM tree, and we have a parent widget.

Overrides: Widget.onAttach
(inherited documentation)

onDetach(self)

source code 

Called when this widget is being removed from the DOM tree of the document.

Overrides: Widget.onDetach
(inherited documentation)