19 package org.turro.dossier.zul.dossier;
21 import org.turro.contacts.zul.label.ContactInfo;
22 import org.turro.dossier.entity.Dossier;
23 import org.turro.dossier.entity.WorthValue;
24 import org.turro.elephant.util.DecimalFormats;
25 import org.turro.i18n.I_;
26 import org.turro.zkoss.grid.PagingGrid;
27 import org.zkoss.zk.ui.ext.AfterCompose;
28 import org.zkoss.zul.Column;
29 import org.zkoss.zul.Columns;
30 import org.zkoss.zul.Label;
31 import org.zkoss.zul.Row;
32 import org.zkoss.zul.Rows;
43 this.dossier = dossier;
52 private void addRows() {
53 Rows rows =
new Rows();
58 rows.appendChild(row);
59 row.appendChild(
new Label(wv.getWorthDefinition().getTitle()));
60 row.appendChild(
new ContactInfo(wv.getIdContact()));
67 private void addColumns() {
68 Columns cols =
new Columns();
71 Column col =
new Column(I_.get(
"Title"));
73 cols.appendChild(col);
75 col =
new Column(I_.get(
"Contact"));
77 cols.appendChild(col);
79 col =
new Column(I_.get(
"Value"));
81 cols.appendChild(col);
Set< WorthValue > getWorths()
void setDossier(Dossier dossier)
void setRowCount(int rows)