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

Class RootPanelCls

source code

UIObject --+                
           |                
      Widget --+            
               |            
           Panel --+        
                   |        
        ComplexPanel --+    
                       |    
           AbsolutePanel --+
                           |
                          RootPanelCls

The panel to which all other widgets must ultimately be added. RootPanels are never created directly. Rather, they are accessed via the RootPanel() function.

Most applications will add widgets to the default root panel in their EntryPoint.onModuleLoad() methods.

Instance Methods [hide private]
 
__init__(self, element=None) source code
 
getBodyElement(self) source code

Inherited from AbsolutePanel: add, checkWidgetParent, getWidgetLeft, getWidgetTop, setWidgetPosition

Inherited from ComplexPanel: getChildren, insert, remove

Inherited from Panel: __iter__, adopt, clear, disown, onAttach, onDetach

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

Class Methods [hide private]
 
get(cls, id=None) source code
 
hookWindowClosing(cls) source code
 
onWindowClosed(cls) source code
 
onWindowClosing(cls) source code
Method Details [hide private]

__init__(self, element=None)
(Constructor)

source code 
Overrides: Widget.__init__