public void setLinkTelAddress(Vector a, Vector t, JCheckBox cb) { if (a != null && a.size() > 0) { addressView.set((Address) a.elementAt(0)); } addressView.setEditable(false); addressView.getArchive().setEnabled(false); teleView.setLien(t); teleView.setEditable(false); gb.add(cb, 0, 1, 1, 1, GridBagHelper.WEST); cbTelAddress = cb; linkTelAddress = true; revalidate(); }
public void clear() { contact = null; personView.clear(); teleView.clear(); emailView.clear(); websiteView.clear(); addressView.clear(); if (cbTelAddress != null) { cbTelAddress.removeItemListener(this); remove(cbTelAddress); revalidate(); cbTelAddress = null; } linkTelAddress = false; note.setText(""); }
public Vector<Telephone> getTele() { if (linkTelAddress == false) { return teleView.getTels(); } return null; }
public void setTele(Vector<Telephone> t) { teleView.setTels(t); }
public void setLinkTelAddress(boolean b) { addressView.setEditable(!b); addressView.getArchive().setEnabled(!b); teleView.setEditable(!b); linkTelAddress = b; }