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

Class HTMLTable

source code

   object --+                
            |                
      Applier --+            
                |            
UIObject.UIObject --+        
                    |        
        Widget.Widget --+    
                        |    
              Panel.Panel --+
                            |
                           HTMLTable

Instance Methods [hide private]
 
__init__(self, **kwargs)
use this to apply properties as a dictionary, e.g.
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.Panel: add, adopt, disown, doAttachChildren, doDetachChildren

Inherited from Widget.Widget: getID, getLayoutData, getParent, isAttached, onAttach, onDetach, onLoad, removeFromParent, setContextMenu, setID, setLayoutData, setParent

Inherited from UIObject.UIObject: addStyleDependentName, addStyleName, getAbsoluteLeft, getAbsoluteTop, getElement, getHeight, getOffsetHeight, getOffsetWidth, getStyleName, getStylePrimaryName, getTitle, getWidth, isVisible, removeStyleDependentName, removeStyleName, setElement, setHeight, setPixelSize, setSize, setStyleName, setTitle, setVisible, setWidth, setzIndex, sinkEvents, unsinkEvents

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, **kwargs)
(Constructor)

source code 
use this to apply properties as a dictionary, e.g.
    x = klass(..., StyleName='class-name')
will do:
    x = klass(...)
    x.setStyleName('class-name')

and:
    x = klass(..., Size=("100%", "20px"), Visible=False)
will do:
    x = klass(...)
    x.setSize("100%", "20px")
    x.setVisible(False)

Overrides: object.__init__
(inherited documentation)

clear(self)

source code 
Overrides: Panel.Panel.clear

__iter__(self)

source code 
Overrides: Panel.Panel.__iter__

onBrowserEvent(self, event)

source code 
Overrides: Widget.Widget.onBrowserEvent

remove(self, widget)

source code 
Overrides: Panel.Panel.remove