AbstractView

Kind of class:class
Inherits from:none
Implements:
Classpath:com.bourre.mvc.AbstractView
File last modified:Wednesday, 31 October 2007, 07:35:29
AbstractView is the base

Instance methods

getController

function getController (
Returns IController associated with this view.
Returns:
IController instance
Specified by:

getViewContainer

function getViewContainer (
) : MovieClip
Returns visual container for current view.
Returns:
MovieClip instance

registerWithModel

function registerWithModel (
oModel:IModel) : Void
Registers passed-in oModel model with current view.
Parameters:
oModel:
an IModel instance

setController

function setController (
oController:IController) : Void
Associates passed-in IController controller with this view.
Parameters:
oController:
a IController instance
Specified by:

setModel

function setModel (
oModel:IModel) : Void
Registers passed-in oModel with current view.
Parameters:
oModel:
IModel instance
Specified by:

setViewContainer

function setViewContainer (
mcContainer:MovieClip) : Void
Defines passed-in mcContainer MovieClip as
visual container.
Parameters:
mcContainer:
MovieClip instance (default : _root)

toString

function toString (
) : String
Returns the string representation of this instance.
Returns:
the string representation of this instance