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'

_E_x_a_m_p_l_e_s:

