19 package org.turro.contacts.zul.label;
21 import org.turro.contacts.Address;
22 import org.turro.contacts.Contact;
23 import org.turro.contacts.db.ContactsPU;
24 import org.turro.plugin.contacts.IContact;
25 import org.turro.zkoss.label.LabelTypes;
26 import org.zkoss.zk.ui.ext.AfterCompose;
27 import org.zkoss.zul.Hlayout;
28 import org.zkoss.zul.Vlayout;
34 public class AddressInfo extends Vlayout implements AfterCompose {
43 this.address = address;
48 this.address = address;
49 this.provider = provider;
60 this.provider = provider;
64 this.address = address;
67 private void setValues() {
68 getChildren().clear();
69 if((address !=
null)) {
71 Hlayout hbox =
new Hlayout();
72 hbox.setSclass(
"z-valign-middle");
73 hbox.setValign(
"middle");
74 hbox.setSpacing(
"10px");
static Label getCaptionLabel(String value)