public void addItem(final T itemModel){
  if (itemModel == null) {
    return;
  }
  Element element=createItem(itemModel);
  element.setTabIndex(1);
  listElement.appendChild(element);
}

public void addItem ( final T itemModel ) { if ( itemModel == null ) { return ; } Element element = createItem ( itemModel ) ; element . setTabIndex ( 1 ) ; listElement . appendChild ( element ) ; }
add an item in the popup view .
