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

Class Grid

source code

UIObject --+            
           |            
      Widget --+        
               |        
           Panel --+    
                   |    
           HTMLTable --+
                       |
                      Grid

The Grid Widget is a type of HTMLTable where all of the cells are pre-loaded at the very least with some blank content.

Instance Methods [hide private]
 
__init__(self, rows=0, columns=0) source code
 
resize(self, rows, columns) source code
 
resizeColumns(self, columns) source code
 
resizeRows(self, rows) source code
 
createCell(self) source code
 
clearCell(self, row, column) source code
 
prepareCell(self, row, column) source code
 
prepareRow(self, row) source code
 
getCellCount(self, row) source code
 
getColumnCount(self) source code
 
getRowCount(self) source code
 
addRows(self, table, numRows, columns) source code

Inherited from HTMLTable: __iter__, addTableListener, checkCellBounds, checkRowBounds, cleanCell, clear, computeKey, computeKeyForElement, 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, rows=0, columns=0)
(Constructor)

source code 
Overrides: Widget.__init__

createCell(self)

source code 
Overrides: HTMLTable.createCell

clearCell(self, row, column)

source code 
Overrides: HTMLTable.clearCell

prepareCell(self, row, column)

source code 
Overrides: HTMLTable.prepareCell

prepareRow(self, row)

source code 
Overrides: HTMLTable.prepareRow

getCellCount(self, row)

source code 
Overrides: HTMLTable.getCellCount

getRowCount(self)

source code 
Overrides: HTMLTable.getRowCount