@Override
   public void setFieldValues() {
      String[] values = getValue(VALUES_PARAM, String[].class);
      switch (getFieldtype()) {
         case TEXT:
            if (values.length > 0) {
               ((TextField) bf).setText(values[0]);
            }
            break;
         case COMBO:
            if (values.length > 0) {
               ((TextField) bf).setChoices(values);
            }
            break;
         case LIST:
            if (values.length > 0) {
               ((TextField) bf).setChoices(values);
            }
            break;
         case BUTTON:
            ((PushbuttonField) bf).setText(values[0]);
            break;
         case CHECKBOX:
            if (values.length > 0) {
               ((RadioCheckField) bf).setOnValue(values[0]);
            }
            break;
         case RADIO:
            if (values.length > 0) {
               ((RadioCheckField) bf).setOnValue(values[0]);
            }
            break;
      }
   }
@ Override public void setFieldValues ( ) { String [ ] values = getValue ( VALUES_PARAM , String [ ] . class ) ; switch ( getFieldtype ( ) ) { case TEXT : if ( values . length > 0 ) { ( ( TextField ) bf ) . setText ( values [ 0 ] ) ; } break ; case COMBO : if ( values . length > 0 ) { ( ( TextField ) bf ) . setChoices ( values ) ; } break ; case LIST : if ( values . length > 0 ) { ( ( TextField ) bf ) . setChoices ( values ) ; } break ; case BUTTON : ( ( PushbuttonField ) bf ) . setText ( values [ 0 ] ) ; break ; case CHECKBOX : if ( values . length > 0 ) { ( ( RadioCheckField ) bf ) . setOnValue ( values [ 0 ] ) ; } break ; case RADIO : if ( values . length > 0 ) { ( ( RadioCheckField ) bf ) . setOnValue ( values [ 0 ] ) ; } break ; } }
Set the value(s) for the BaseField, based on {@link FIELDTYPE}.

@see #VALUES_PARAM