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

Class HTMLTable

source code

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

HTMLTable is a panel with functionality of that of an HTML Table. HTMLTable is the Base for both the Grid and FlexTable classes, which provide additional functionality. The key functions for adding widgets to HTMLTable are setHTML, setText and setWidget, which add HTML, Text or Widgets at the specified row and column, respectively.

Instance Methods [hide private]
 
__init__(self) source code
 
addTableListener(self, listener) source code
 
clear(self) source code
 
clearCell(self, row, column) source code
 
getCellCount(self, row) source code
 
getCellFormatter(self) source code
 
getCellPadding(self) source code
 
getCellSpacing(self) source code
 
getHTML(self, row, column) source code
 
getRowCount(self) source code
 
getRowFormatter(self) source code
 
getText(self, row, column) source code
 
getWidget(self, row, column=None) source code
 
isCellPresent(self, row, column) source code
 
__iter__(self) source code
 
onBrowserEvent(self, event) source code
 
remove(self, widget) source code
 
removeTableListener(self, listener) source code
 
setBorderWidth(self, width) source code
 
setCellPadding(self, padding) source code
 
setCellSpacing(self, spacing) source code
 
setHTML(self, row, column, html) source code
 
setText(self, row, column, text) source code
 
setWidget(self, row, column, widget) source code
 
cleanCell(self, row, column) source code
 
computeKey(self, row, column) source code
 
computeKeyForElement(self, widgetElement) source code
 
removeWidget(self, widget) source code
 
checkCellBounds(self, row, column) source code
 
checkRowBounds(self, row) source code
 
createCell(self) source code
 
getBodyElement(self) source code
 
getDOMCellCount(self, element, row=None) source code
 
getDOMCellCountImpl(self, element, row) source code
 
getDOMRowCount(self, element=None) source code
 
getDOMRowCountImpl(self, element) source code
 
getEventTargetCell(self, event) source code
 
insertCell(self, row, column) source code
 
insertCells(self, row, column, count) source code
 
insertRow(self, beforeRow) source code
 
internalClearCell(self, td) source code
 
prepareCell(self, row, column) source code
 
prepareRow(self, row) source code
 
removeCell(self, row, column) source code
 
removeRow(self, row) source code
 
setCellFormatter(self, cellFormatter) source code
 
setRowFormatter(self, rowFormatter) source code

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__

clear(self)

source code 
Overrides: Panel.clear

__iter__(self)

source code 
Overrides: Panel.__iter__

onBrowserEvent(self, event)

source code 
Overrides: Widget.onBrowserEvent

remove(self, widget)

source code 
Overrides: Panel.remove