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

Class CellFormatter

source code

object --+    
         |    
   Applier --+
             |
            CellFormatter

Instance Methods [hide private]
 
__init__(self, outer, **kwargs)
use this to apply properties as a dictionary, e.g.
source code
 
addStyleName(self, row, column, styleName) source code
 
getElement(self, row, column) source code
 
getStyleName(self, row, column) source code
 
isVisible(self, row, column) source code
 
removeStyleName(self, row, column, styleName) source code
 
setAlignment(self, row, column, hAlign, vAlign) source code
 
setHeight(self, row, column, height) source code
 
setHorizontalAlignment(self, row, column, align) source code
 
setStyleName(self, row, column, styleName) source code
 
setVerticalAlignment(self, row, column, align) source code
 
setVisible(self, row, column, visible) source code
 
setWidth(self, row, column, width) source code
 
setWordWrap(self, row, column, wrap) source code
 
getCellElement(self, table, row, col) source code
 
getRawElement(self, row, column) source code
 
ensureElement(self, row, column) source code
 
getStyleAttr(self, row, column, attr) source code
 
setStyleAttr(self, row, column, attrName, value) source code
 
getAttr(self, row, column, attr) source code
 
setAttr(self, row, column, attrName, value) source code

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, outer, **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)