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

Class DockPanel

source code

UIObject --+                
           |                
      Widget --+            
               |            
           Panel --+        
                   |        
        ComplexPanel --+    
                       |    
               CellPanel --+
                           |
                          DockPanel

A panel that lays its child widgets out "docked" at its outer edges, and allows its last widget to take up the remaining space in its center.

Instance Methods [hide private]
 
__init__(self) source code
 
add(self, widget, direction) source code
 
getHorizontalAlignment(self) source code
 
getVerticalAlignment(self) source code
 
getWidgetDirection(self, widget) source code
 
remove(self, widget) source code
 
setCellHeight(self, widget, height) source code
 
setCellHorizontalAlignment(self, widget, align) source code
 
setCellVerticalAlignment(self, widget, align) source code
 
setCellWidth(self, widget, width) source code
 
setHorizontalAlignment(self, align) source code
 
setVerticalAlignment(self, align) source code
 
realizeTable(self, beingAdded) source code
 
appendAndMaybeAdopt(self, parent, child, beingAdded) source code

Inherited from CellPanel: getBody, getSpacing, getTable, getWidgetTd, setBorderWidth, setSpacing

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

Class Variables [hide private]
  CENTER = "center"
  EAST = "east"
  NORTH = "north"
  SOUTH = "south"
  WEST = "west"
Method Details [hide private]

__init__(self)
(Constructor)

source code 
Overrides: Widget.__init__

add(self, widget, direction)

source code 
Overrides: Panel.add

remove(self, widget)

source code 
Overrides: Panel.remove

setCellHeight(self, widget, height)

source code 
Overrides: CellPanel.setCellHeight

setCellHorizontalAlignment(self, widget, align)

source code 
Overrides: CellPanel.setCellHorizontalAlignment

setCellVerticalAlignment(self, widget, align)

source code 
Overrides: CellPanel.setCellVerticalAlignment

setCellWidth(self, widget, width)

source code 
Overrides: CellPanel.setCellWidth