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

Class FlowPanel

source code

UIObject --+            
           |            
      Widget --+        
               |        
           Panel --+    
                   |    
        ComplexPanel --+
                       |
                      FlowPanel

A panel that formats its child widgets using default HTML layout behavior. Child widgets layout will therefore "flow" as the FlowPanel panel is resized. Usually this will be from left to right, followed by filling the next available vertical space, downwards, if a child widget cannot fit on the same horizontal space.

Instance Methods [hide private]
 
__init__(self) source code
 
add(self, w) source code
 
getWidget(self, index) source code
 
getWidgetCount(self) source code
 
getWidgetIndex(self, child) source code
 
remove(self, index) source code

Inherited from ComplexPanel: getChildren, insert

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

Method Details [hide private]

__init__(self)
(Constructor)

source code 
Overrides: Widget.__init__

add(self, w)

source code 
Overrides: Panel.add

remove(self, index)

source code 
Overrides: Panel.remove