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

Class TabPanel

source code

UIObject --+        
           |        
      Widget --+    
               |    
       Composite --+
                   |
                  TabPanel

A panel that represents a tabbed set of pages, each of which contains another widget. Its child widgets are shown as the user selects the various tabs associated with them. The tab text identifying each page can contain arbitrary HTML.

Note that this widget is not a panel per se, but rather a Composite that aggregates a TabBar and a DeckPanel. It does, however, implement HasWidgets.

Instance Methods [hide private]
 
__init__(self) source code
 
add(self, widget, tabText=None, asHTML=False) source code
 
addTabListener(self, listener) source code
 
clear(self) source code
 
getDeckPanel(self) source code
 
getTabBar(self) source code
 
getWidget(self, index) source code
 
getWidgetCount(self) source code
 
getWidgetIndex(self, child) source code
 
insert(self, widget, tabText, asHTML, beforeIndex=None) source code
 
__iter__(self) source code
 
onBeforeTabSelected(self, sender, tabIndex) source code
 
onTabSelected(self, sender, tabIndex) source code
 
remove(self, widget) source code
 
removeTabListener(self, listener) source code
 
selectTab(self, index) source code

Inherited from Composite: initWidget, onAttach, onDetach, setWidget

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__