genView-class            package:MVCClass            R Documentation

_C_l_a_s_s "_g_e_n_V_i_e_w": _A _v_i_r_t_u_a_l _c_l_a_s_s _t_o _d_e_s_c_r_i_b_e _a _v_i_e_w

_D_e_s_c_r_i_p_t_i_o_n:

     genView is a virtual class that all view classes inherit from. 
     All views will contain the information of what window (slot win)
     they are stored in,  what data (slot dataName) is shown in the
     view, and the number of the  window (slot winNum) that shows the
     view.

_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:

     '_d_a_t_a_N_a_m_e': a character string describing what data are shown in
          the view 

     '_w_i_n': an object of class '"GtkWindow"' that holds the view 

     '_w_i_n_N_u_m': a number that tells what number view this is (for
          example, the first view created will have winNum=1) 

_M_e_t_h_o_d_s:

     _d_a_t_a_N_a_m_e<- Sets the 'dataName' slot 

     _d_a_t_a_N_a_m_e Returns the 'dataName' slot 

     _w_i_n<- Sets the 'win' slot 

     _w_i_n Returns the 'win' slot 

     _w_i_n_N_u_m<- Sets the 'winNum' slot 

     _w_i_n_N_u_m Returns the 'winNum' slot 

     Also, all view objects will have two methods, redrawView and
     updateView, that will define how a view should be redrawn when the
     underlying data has changed.  The redrawView method will
     completely redraw the view, while the updateView method will only
     redraw the parts of the view that have changed. Both of these
     methods, redrawView and updateView, will be defined in packages
     that use this package, such as iSPlot and iSNetwork.  Also, all
     views will have an identifyView method that will identify an
     object (such as a point, a node, a row, etc.) on the view given
     some location on the view (such as the user coordinates).

_A_u_t_h_o_r(_s):

     Elizabeth Whalen

_S_e_e _A_l_s_o:

     'plotView-class', 'sPlotView-class', 'spreadView-class'

_E_x_a_m_p_l_e_s:

