Methods
|
|
__init__
controllerFactory
draw
modelChanged
|
|
__init__
|
__init__ (
self,
model,
controller=None,
)
A view must be told what it's model is, and may be told what it's
controller is, but can also look up it's controller if none specified.
|
|
controllerFactory
|
controllerFactory ( self )
Hook for subclasses to customize the controller that is associated
with the model associated with this view. Default behavior: Look up a component that implements IController
for the self.model instance.
|
|
draw
|
draw ( self )
Hook subclasses can override to implement drawing the whole view
|
|
modelChanged
|
modelChanged ( self, changed )
Dispatch changed messages to any update_* methods which
may have been defined, then pass the update notification on
to the controller.
|