void function ( T arg0 ) { if ( arg0 != null ) { select ( arg0 ) ; } else { getSelectedItem ( ) . ifPresent ( this :: deselect ) ; } }
sets the current selection to the given item , or clears selection if given null . concode_field_sep PlaceHolder placeHolder concode_field_sep void select concode_elem_sep void select concode_elem_sep void select concode_elem_sep void deselectAll concode_elem_sep void deselectAll concode_elem_sep Registration addSelectionListener concode_elem_sep void selectItems concode_elem_sep void deselectItems concode_elem_sep Optional<T> getFirstSelectedItem concode_elem_sep Optional<T> getFirstSelectedItem concode_elem_sep Optional<T> getFirstSelectedItem concode_elem_sep boolean isDeselectAllowed concode_elem_sep void updateSelection concode_elem_sep void setDeselectAllowed concode_elem_sep void selectAll concode_elem_sep Set<T> getSelectedItems concode_elem_sep Set<T> getSelectedItems concode_elem_sep void deselect concode_elem_sep void deselect concode_elem_sep boolean isSelected concode_elem_sep Optional<T> getSelectedItem