Package twisted :: Package web :: Package woven :: Module widgets :: Class Cell
[show private | hide private]
[frames | no frames]

Class Cell

Collection --+                        
             |                        
   Constrained --+                    
                 |                    
  ConfigCollection --+                
                     |                
              Resource --+            
                         |            
               DOMTemplate --+        
                             |        
                          View --+    
                                 |    
                            Widget --+
                                     |
                                    Cell


Method Summary
  __init__(self, model, submodel, setup, controller, viewStack, *args, **kwargs)
(inherited from Widget)
  __getitem__(self, item)
Convenience syntax for getting an attribute from the resultant DOM Node of this widget. (inherited from Widget)
  __setitem__(self, item, value)
Convenience syntax for adding attributes to the resultant DOM Node of this widget. (inherited from Widget)
  add(self, item)
Add `item' to the children of the resultant DOM Node of this widget. (inherited from Widget)
  addEventHandler(self, eventName, handler, *args)
Add an event handler to this widget. (inherited from Widget)
  addUpdateMethod(self, updateMethod)
Add a method to this widget that will be called when the widget is being rendered. (inherited from Widget)
  cleanNode(self, node)
Do your part, prevent infinite recursion! (inherited from Widget)
  delEntity(self, name)
Remove a static reference for 'name'. (inherited from Resource)
  dispatchResult(self, request, node, result)
Check a given result from handling a node and hand it to a process* method which will convert the result into a node and insert it into the DOM tree. (inherited from DOMTemplate)
  dispatchResultCallback(self, result, request, node)
Deal with a callback from a deferred, dispatching the result and recursing children. (inherited from DOMTemplate)
  entityConstraint(self, entity)
A method that determines whether an entity may be added to me. (inherited from ConfigCollection)
  generate(self, request, node)
Allow a view to be used like a widget. (inherited from Widget)
  generateDOM(self, request, node)
Return a DOM Node to replace the Node in the template that this Widget handles. (inherited from Widget)
  getChild(self, path, request)
Retrieve a 'child' resource from me. (inherited from Resource)
  getChildForRequest(self, request)
(internal) Get a child of mine dependant on a particular request. (inherited from Resource)
  getChildWithDefault(self, path, request)
(internal) Retrieve a static or dynamically generated child resource from me. (inherited from Resource)
  getData(self)
I have a model; however since I am a widget I am only responsible for a portion of that model. (inherited from Widget)
  getDynamicEntity(self, name, request)
Subclass this to generate an entity on demand. (inherited from Resource)
  getEntity(self, name, request)
Retrieve an entity from me. (inherited from Collection)
  getEntityType(self)
(inherited from ConfigCollection)
  getNameType(self)
(inherited from ConfigCollection)
  getNodeController(self, request, node, submodel, model)
Get a controller object to handle this node. (inherited from View)
  getNodeModel(self, request, node, submodel)
Get the model object associated with this node. (inherited from View)
  getNodeView(self, request, node, submodel, model)
(inherited from View)
  getPattern(self, name, default, clone)
Get a named slot from the incoming template node. (inherited from Widget)
  getStaticEntity(self, name)
Get an entity that was added to me using putEntity. (inherited from Resource)
  getSubview(self, request, node, model, viewName)
Get a sub-view from me. (inherited from View)
  getTemplate(self, request)
Override this if you want to have your subclass look up its template using a different method. (inherited from DOMTemplate)
  handleControllerResults(self, controllerResult, request, node, controller, view, success)
(inherited from View)
  handleDocument(self, request, document)
Handle the root node, and send the page if there are no outstanding callbacks when it returns. (inherited from DOMTemplate)
  handleModel(self, model, request, node, submodelName)
(inherited from View)
  handleModelLater(self, model, request, node, submodelName)
(inherited from View)
  handleNewNode(self, request, returnNode)
(inherited from View)
  handleNode(self, request, node)
Handle a single node by looking up a method for it, calling the method and dispatching the result. (inherited from View)
  importViewLibrary(self, namespace)
(inherited from View)
  initialize(self, *args, **kwargs)
Use this method instead of __init__ to initialize your Widget, so you don't have to deal with calling the __init__ of the superclass. (inherited from Widget)
  insert(self, index, item)
Insert `item' at `index' in the children list of the resultant DOM Node of this widget. (inherited from Widget)
  listDynamicEntities(self, request)
A list of all name, entity that I can generate on demand. (inherited from Resource)
  listDynamicNames(self)
Retrieve a list of the names of entities that I store references to. (inherited from Resource)
  listEntities(self)
Retrieve a list of all name, entity pairs that I store references to. (inherited from Resource)
  listNames(self)
Retrieve a list of the names of entities that I store references to. (inherited from Resource)
  listStaticEntities(self)
Retrieve a list of all name, entity pairs that I store references to. (inherited from Resource)
  listStaticNames(self)
Retrieve a list of the names of entities that I store references to. (inherited from Resource)
  lookupTemplate(self, request)
Use acquisition to look up the template named by self.templateFile, located anywhere above this object in the heirarchy, and use it as the template. (inherited from DOMTemplate)
  modelChanged(self, payload)
(inherited from Widget)
  nameConstraint(self, name)
A method that determines whether an entity may be added to me with a given name. (inherited from Constrained)
  onEvent(self, request, eventName, *args)
Dispatch a client-side event to an event handler that was registered using addEventHandler. (inherited from Widget)
  putChild(self, path, child)
Register a child with me. (inherited from Resource)
  putEntity(self, name, entity)
Store an entity if it meets both constraints. (inherited from Constrained)
  reallyPutEntity(self, name, entity)
(inherited from Resource)
  recurseChildren(self, request, node)
If this node has children, handle them. (inherited from DOMTemplate)
  removeEntity(self, name, request)
Remove an entity for 'name', based on the content of 'request'. (inherited from Collection)
  render(self, request)
Render a given resource. (inherited from View)
  renderFailure(self, failure, request)
(inherited from DOMTemplate)
  sendPage(self, request)
Check to see if handlers recorded any errors before sending the page (inherited from View)
  setController(self, controller)
(inherited from View)
  setData(self, data)
If the return value of getDatais a Deferred, I am called when the result of the Deferred is available. (inherited from Widget)
  setDataCallback(self, result, request, node)
(inherited from Widget)
  setError(self, request, message)
Convenience method for allowing a Controller to report an error to the user. (inherited from Widget)
  setNode(self, node)
Set a node for this widget to use instead of creating one programatically. (inherited from Widget)
  setSubmodel(self, submodel)
I use the submodel to know which attribute in self.model I am responsible for (inherited from Widget)
  setSubviewFactory(self, name, factory, setup, *args, **kwargs)
(inherited from View)
  setUp(self, request, node, data)
Override this method to set up your Widget prior to generateDOM. (inherited from Widget)
  setupViewStack(self)
(inherited from View)
  storeEntity(self, name, request)
Store an entity for 'name', based on the content of 'request'. (inherited from Collection)
  unlinkViews(self)
(inherited from View)
  _regenerate(self, request, node, data)
(inherited from Widget)
  _reset(self)
(inherited from Widget)

Class Variable Summary
str tagName

Class Variable Details

tagName

Type:
str
Value:
'td'                                                                   

Generated by Epydoc 1.2 prerelease on Wed Jan 29 06:29:24 2003 http://epydoc.sf.net