/** * Load infos from contact in the corresponding views. * * @param c contact */ public void set(Contact c) { contact = c; setPerson(c); if (c != null) { setAddress(c.getAddress()); setTele(c.getTele()); setEmail(c.getEmail()); websiteView.setSites(c.getSites()); } }
public void setSites(List<WebSite> sites) { websiteView.setSites(new Vector<WebSite>(sites)); }