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

Class RowFormatter

source code

object --+    
   Applier --+

Instance Methods [hide private]
__init__(self, outer, **kwargs)
use this to apply properties as a dictionary, e.g.:
source code
addStyleName(self, row, styleName) source code
getElement(self, row) source code
getStyleName(self, row) source code
isVisible(self, row) source code
removeStyleName(self, row, styleName) source code
setStyleName(self, row, styleName) source code
setVerticalAlign(self, row, align) source code
setVisible(self, row, visible) source code
ensureElement(self, row) source code
getRow(self, element, row) source code
setStyleAttr(self, row, attrName, value) source code
setAttr(self, row, attrName, value) source code

Inherited from Applier: applyValues, retrieveValues, setDefaults, setElementProperties, updateInstance

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

Class Methods [hide private]

Inherited from Applier (private): _getElementProps, _getProps

Class Variables [hide private]

Inherited from Applier (private): _elem_props, _props

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, outer, **kwargs)

source code 

use this to apply properties as a dictionary, e.g.:

   x = klass(..., StyleName='class-name')

will do:

   x = klass(...)


   x = klass(..., Size=("100%", "20px"), Visible=False)

will do:

   x = klass(...)
   x.setSize("100%", "20px")
Overrides: object.__init__
(inherited documentation)