SimpleW-class          package:widgetInvoke          R Documentation

_C_l_a_s_s "_S_i_m_p_l_e_W": _A _C_l_a_s_s _T_o _R_e_p_r_e_s_e_n_t _A _W_i_d_g_e_t _T_y_p_e

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

     The 'SimpleW' is a virtual class used to provide a framework for
     representing the type of widget used to display and obtain
     information in the 'widgetInvoke' package.  There are currently
     three subclasses, providing for radio buttons ('RadButtonW'), a
     drop down list ('DropDownW') or text entry ('TypeInW')

_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("SimpleW", ...)'.

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

     '_d_e_f_a_u_l_t_V_a_l_u_e': Object of class '"character"': This is the only
          slot defined by 'SimpleW' and represents the default value of
          the argument.

     '_n_I_t_e_m_s': Object of class '"numeric"': This is used by the
          'RadButtonW' and 'DropDownW' subclasses, and describes how
          many objects are to be represented in their widget.

     '_i_t_e_m_N_a_m_e_s': Object of class '"character"': This is used by the
          'RadButtonW' and 'DropDownW' subclasses, and is a character
          vector detailing the names of the objects to display in the
          widget.  The length of 'itemNames' must match the value
          stored in the 'nItems' slot.

     '_r_e_t_u_r_n_T_y_p_e': Object of class '"character"': This is used by the
          'TypeInW' subclass, and specifies the return type of this
          argument (e.g. character, numeric, logical).

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

_d_e_f_a_u_l_t_V_a_l_u_e 'signature(object = "SimpleW")': Retrieves the
     defaultValue slot.

_n_I_t_e_m_s 'signature(object = "RadButtonW")': Retrieves the nItems slot.

_n_I_t_e_m_s 'signature(object = "DropDownW")': Retrieves the nItems slot.

_r_e_t_u_r_n_T_y_p_e 'signature(object = "TypeInW")': Retrieves the returnType
     slot.

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

     Jeff Gentry

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

     'createWF', 'widgetInvoke'

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

