18 package org.turro.financials.model;
20 import org.turro.auth.Authentication;
21 import org.turro.financials.entity.Account;
22 import org.turro.financials.entity.Contract;
23 import org.turro.financials.entity.ContractDefinition;
24 import org.turro.financials.entity.Document;
25 import org.turro.financials.entity.RelatedDocument;
26 import org.turro.financials.entity.RelatedLineType;
27 import org.turro.financials.entity.RelatedStoreDefinition;
28 import org.turro.zkoss.grid.PagingGrid;
29 import org.zkoss.zul.Hbox;
30 import org.zkoss.zul.Label;
31 import org.zkoss.zul.Row;
32 import org.zkoss.zul.Rows;
43 this.contractDefinition = contractDefinition;
44 setSizedByContent(
true);
49 private void addRows() {
50 Rows rows =
new Rows();
78 for(Account acc : accs) {
80 rows.appendChild(row);
82 Hbox hbox =
new Hbox();
83 hbox.setSpacing(
"20px");
84 hbox.appendChild(
new Label(acc.getId()));
85 hbox.appendChild(
new Label(acc.getDescription()));
86 row.appendChild(hbox);
static IContact getIContact()
Set< RelatedDocument > getRelatedDocuments()
void setContractor(String contractor)
void setGlobalId(String globalId)
void setContractDefinition(ContractDefinition contractDefinition)
Set< RelatedStoreDefinition > getRelatedStoreDefinitions()
Set< RelatedLineType > getRelatedLineTypes()
void setContract(Contract contract)
void setDocumentDefinition(DocumentDefinition documentDefinition)
Set< Account > getAccounts()
void setRowCount(int rows)
void setDefaultBehavior(boolean defaultBehavior)