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

Class FlexCellFormatter

source code

             object --+        
                Applier --+    
CellFormatter.CellFormatter --+

Instance Methods [hide private]
__init__(self, outer, **kwargs)
use this to apply properties as a dictionary, e.g.:
source code
getColSpan(self, row, column) source code
getRowSpan(self, row, column) source code
setColSpan(self, row, column, colSpan) source code
setRowSpan(self, row, column, rowSpan) source code

Inherited from CellFormatter.CellFormatter: addStyleName, ensureElement, getAttr, getCellElement, getElement, getRawElement, getStyleAttr, getStyleName, getVisible, isVisible, removeStyleName, setAlignment, setAttr, setHeight, setHorizontalAlignment, setStyleAttr, setStyleName, setVerticalAlignment, setVisible, setWidth, setWordWrap

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): _getProps

Class Variables [hide private]

Inherited from CellFormatter.CellFormatter (private): _elem_props

Inherited from Applier (private): _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)