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'

