MVC-class              package:MVCClass              R Documentation

_C_l_a_s_s "_M_V_C": _A _v_i_r_t_u_a_l _c_l_a_s_s _t_o _r_e_p_r_e_s_e_n_t _a _m_o_d_e_l-_v_i_e_w-_c_o_n_t_r_o_l_l_e_r
_o_b_j_e_c_t

_D_e_s_c_r_i_p_t_i_o_n:

     MVC is a virtual class to represent a model-view-controller
     object.  The MVC class will combine these three components (model,
     view and controller) so that the MVC objects can be reused and
     linked.

_O_b_j_e_c_t_s _f_r_o_m _t_h_e _C_l_a_s_s:

     A virtual Class: No objects may be created from it.

_S_l_o_t_s:

     '_m_o_d_e_l': the model object (will inherit from the gModel virtual
          class) 

     '_v_i_e_w_L_i_s_t': a list of the view objects that visualize the model 

     '_c_o_n_t_r_o_l_l_e_r': the environment that stores information for the MVC
          object 

_M_e_t_h_o_d_s:

     _c_o_n_t_r_o_l_l_e_r<- Sets the 'controller' slot 

     _c_o_n_t_r_o_l_l_e_r Returns the 'controller' slot 

     _m_o_d_e_l<- Sets the 'model' slot 

     _m_o_d_e_l Returns the 'model' slot 

     _v_i_e_w_L_i_s_t<- Sets the 'viewList' slot 

     _v_i_e_w_L_i_s_t Returns the 'viewList' slot 

_A_u_t_h_o_r(_s):

     Elizabeth Whalen

_S_e_e _A_l_s_o:

     'gModel-class', 'genView-class', 'singleModelMVC-class',
     'linkedModelMVC-class'

_E_x_a_m_p_l_e_s:

