| Home | Trees | Index | Help |
|
|---|
|
|
object --+
|
CellAttr
CellAttr
A descriptor which auto-vivifies a new Cell in each instance of a Model, and which does the hiding ofCell.get() and Cell.set().
|
|||
|
__init__(self,
rule=None,
value=None,
unchanged_if=None,
celltype=None)
Sets the parameters which will be used as defaults to build a Cell when the time comes. |
|||
|
__set__(self,
owner,
value)
Runs on the Cell
in owner.
|
|||
|
__get__(self,
owner,
ownertype)
Runs on the Cell in
owner, if owner is passed.
|
|||
|
getcell(owner)
Return the instance of this CellAttr's Cell in owner.
|
|||
|
buildcell(self,
owner,
rule=None,
value=None,
celltype=None,
unchanged_if=None)
Builds an instance of a Cell into owner.
|
|||
|
Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
|
on the Cell in
owner.
|
on the Cell in
owner, if owner is passed. Otherwise, return
self.
|
owner. If
an instance of the CellAttr's Cell doesn't exist in owner,
first insert an instance into owner, then return it. To
build it, first examine the owner for runtime overrides of
this cell, and use those (if they exist) as parameters to buildcell.
|
owner. Will
automatically create the right type of Cell given the keyword arguments
if celltype is not passed
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 3.0alpha2 on Sun Aug 20 15:38:10 2006 | http://epydoc.sf.net |