widgetView-class         package:widgetTools         R Documentation

_C_l_a_s_s "_w_i_d_g_e_t_V_i_e_w", _a _c_l_a_s_s _f_o_r _a _G_U_I _t_y_p_e _w_i_d_g_e_t _h_o_l_d_i_n_g _w_i_d_g_e_t
_e_l_e_m_e_n_t_s

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

     "widgetView" renders element widgets

_O_b_j_e_c_t_s _f_r_o_m _t_h_e _C_l_a_s_s:

     Objects can be created by calls of the form 'new("widgetView",
     ...)'. This class is for internal use by class 'widget-class'.
     Users trying to create GUI type widget do not need to use this
     class.

_S_l_o_t_s:


     '_W_V_T_i_t_l_e': Object of class '"character"' - a character string that
          will be displayed as the title of the widget to be created

     '_v_N_a_m_e': Object of class '"character"' - a character string for
          the vName of the widget

     '_w_i_n_i_d': Object of class '"tkwin"' - a tkwin object for the id of
          the top window for the widget

     '_w_i_d_g_e_t_i_d_s': Object of class '"list"' - a list of tkwin ids for
          element widgets

     '_t_h_e_W_i_d_g_e_t': Object of class '"widget"' - a widget object that
          creates the widgetView

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


     _k_i_l_l_W_i_n 'signature(tkWidget = "widgetView")': destroys the window
          representing the widgetView

     _v_N_a_m_e<- 'signature(object = "widgetView")': set the value for
          vName

     _v_N_a_m_e 'signature(object = "widgetView")': get the value for vName

     _r_e_n_d_e_r_W_i_d_g_e_t_s 'signature(widgetView = "widgetView", pWidgets =
          "list")': takes a list of "basicPW" objects (pWidgets) and 
          renders them accordingly 

     _r_e_n_e_w_V_i_e_w 'signature(widgetView = "widgetView", pWidgets =
          "list")': using values contained by the "basicPW" objects of
          pWidgets to update the values of widget elements displayed

     _t_h_e_W_i_d_g_e_t<- 'signature(object = "widgetView")': set the value for
          theWidget

     _t_h_e_W_i_d_g_e_t 'signature(object = "widgetView")': get the value for
          theWidget

     _u_p_d_a_t_e_D_i_s_p_l_a_y 'signature(widgetView = "widgetView")': update the
          value of list box or text box element widgets

     _w_i_d_g_e_t_i_d_s<- 'signature(object = "widgetView")': set the value of
          widgetids

     _w_i_d_g_e_t_i_d_s 'signature(object = "widgetView")': get the value of
          widgetids

     _w_i_n_i_d<- 'signature(object = "widgetView")': set the value of winid

     _w_i_n_i_d 'signature(object = "widgetView")': set the value of winid

     _w_i_n_W_a_i_t 'signature(tkWidget = "widgetView")': make widgetView
          modal

     _W_V_T_i_t_l_e 'signature(object = "widgetView")': get the value for
          WVTitle

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

     Jianhua Zhang

_R_e_f_e_r_e_n_c_e_s:

     Programming with data

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

     'widget-class','basicPW-class'

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

     ## Not run: 
             ## These cannot be run by examples() but should be OK when pasted
             ## into an interactive R session with the widgetTools package loaded
             
             widgetView <- widgetView(WVTitle = "demo", vName = "widget1")
     ## End(Not run)

