plotView-class           package:MVCClass           R Documentation

_C_l_a_s_s "_p_l_o_t_V_i_e_w": _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 _p_l_o_t _v_i_e_w

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

     plotView is a virtual class to represent a view that is a plot. 
     Any particular types of plots can inherit from this class.  For
     instance, sPlotView, is a class that inherits from plotView and
     represents a scatterplot 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:


     '_p_l_o_t_D_e_v_i_c_e': the plot device number 

     '_p_l_o_t_P_a_r': the parameter list for the plot, see par() 

     '_d_r_A_r_e_a': an object of class '"GtkDrawingArea"' 

     '_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) 

_E_x_t_e_n_d_s:

     Class '"genView"', directly.

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


     _d_r_A_r_e_a<- Sets the 'drArea' slot 

     _d_r_A_r_e_a Returns the 'drArea' slot 

     _p_l_o_t_D_e_v_i_c_e<- Sets the 'plotDevice' slot 

     _p_l_o_t_D_e_v_i_c_e Returns the 'plotDevice' slot 

     _p_l_o_t_P_a_r<- Sets the 'plotPar' slot 

     _p_l_o_t_P_a_r Returns the 'plotPar' slot 

     Also, all classes that inherit from plotView will have clickEvent
     and motionEvent methods.  The clickEvent method will be called
     whenever a user clicks on the plot and the motionEvent method will
     be called whenever a user moves the cursor over the plot.  These
     methods will be defined in packages that use this package, such as
     iSPlot and iSNetwork.  Note that the clickEvent method will also
     be defined for the spreadView class and this will correspond to a
     user selecting a row on the spreadsheet.

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

     Elizabeth Whalen

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

     'genView-class', 'sPlotView-class'

