void function ( String arg0 , Object arg1 ) { if ( arg0 == null ) { throw new NullPointerException ( "srini_string" ) ; } defaultChoice = arg0 ; defaultValue = arg1 ; if ( table != null ) { table . putString ( DEFAULT , defaultChoice ) ; } addObject ( arg0 , arg1 ) ; }
add the given object to the list of options and marks it as the default . functionally , this is very close to sendablechooser #addobject java.lang.string , java.lang.object addobject ... except that it will use this as the default option if none other is explicitly selected . concode_field_sep String DEFAULT concode_elem_sep String OPTIONS concode_elem_sep StringArray choices concode_elem_sep List values concode_elem_sep Object defaultValue concode_elem_sep String defaultChoice concode_elem_sep String SELECTED concode_elem_sep ITable table concode_field_sep Object getSelected concode_elem_sep ITable getTable concode_elem_sep void addObject concode_elem_sep void initTable concode_elem_sep String getSmartDashboardType