double val = 0.0;
if ( r > 0 && r < rowCount() )
val = value( r-1, ArgColumn );
double val = 0.0;
if ( r > 0 && r < rowCount() )
val = value( r-1, ArgColumn );
double val = 1.0;
if ( r >= 0 && r < rowCount()-1 ) {
val = value( r+1, ArgColumn );
double val = 1.0;
if ( r >= 0 && r < rowCount()-1 ) {
val = value( r+1, ArgColumn );