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

Class FlexTable

source code

UIObject --+            
           |            
      Widget --+        
               |        
           Panel --+    
                   |    
           HTMLTable --+
                       |
                      FlexTable

FlexTable can create cells on demand. It can be jagged (that is, each row can contain a different number of cells) and individual cells can be set to span multiple rows or columns.

Instance Methods [hide private]
 
__init__(self) source code
 
addCell(self, row) source code
 
getCellCount(self, row) source code
 
getFlexCellFormatter(self) source code
 
getRowCount(self) source code
 
removeCells(self, row, column, num) source code
 
prepareCell(self, row, column) source code
 
prepareRow(self, row) source code
 
addCells(self, table, row, num) source code

Inherited from HTMLTable: __iter__, addTableListener, checkCellBounds, checkRowBounds, cleanCell, clear, clearCell, computeKey, computeKeyForElement, createCell, getBodyElement, getCellFormatter, getCellPadding, getCellSpacing, getDOMCellCount, getDOMCellCountImpl, getDOMRowCount, getDOMRowCountImpl, getEventTargetCell, getHTML, getRowFormatter, getText, getWidget, insertCell, insertCells, insertRow, internalClearCell, isCellPresent, onBrowserEvent, remove, removeCell, removeRow, removeTableListener, removeWidget, setBorderWidth, setCellFormatter, setCellPadding, setCellSpacing, setHTML, setRowFormatter, setText, setWidget

Inherited from Panel: add, adopt, disown, onAttach, onDetach

Inherited from Widget: getID, getLayoutData, getParent, isAttached, 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__

getCellCount(self, row)

source code 
Overrides: HTMLTable.getCellCount

getRowCount(self)

source code 
Overrides: HTMLTable.getRowCount

prepareCell(self, row, column)

source code 
Overrides: HTMLTable.prepareCell

prepareRow(self, row)

source code 
Overrides: HTMLTable.prepareRow