3 def __init__( self, controller, model=None ) :
7 self._controller = controller
10 def getModel( self ) :
12 :returns: Model -- The view's model.
16 def setModel( self, model ) :
18 Associates a model to the view.
20 :param model: Model -- The model to be associated.
26 def getController( self ) :
28 :returns: Controller -- The controller of the view.
30 return self._controller
32 def setController( self, controller ) :
34 Associates a controller to the view.
36 :param controller: Controller -- The controller to be associated.
39 self._controller = controller
44 Updates the view contents.
51 raise NotImplementedError