aafSigned-class           package:annaffy           R Documentation

_C_l_a_s_s _a_a_f_S_i_g_n_e_d, _a _c_l_a_s_s _f_o_r _s_i_g_n_e_d _n_u_m_e_r_i_c_a_l _d_a_t_a

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

     A class for displaying signed numerical data with different styles
     depending on the sign.

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

     Objects are generally created by the 'aafTable' constructor. 
     Objects can also be created manually by calls of the form
     'new("aafSigned", signedval)'.

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

     '._D_a_t_a': Object of class 'numeric'

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

     Class 'numeric', from data part.

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

     _g_e_t_T_D (aafSigned): Returns an HTML table cell with class
          differentially set based on sign.  'aafSignedPos' is used for
          positive values. 'aafSignedNeg' is used for negative values.
          'aafSignedZero' is used for zero values.

     _g_e_t_C_S_S (aafSigned): Returns two lines of CSS that set the cell
          background of positive values light blue and negative values
          light red.

     See generic implementations of 'getText', 'getURL', and 'getHTML'.

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

     Colin A. Smith, annaffy@colinsmith.org

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

     aafTable

