use of org.zkoss.zul.Treecol in project adempiere by adempiere.
the class WDeleteEntity method zkInit.
private void zkInit() throws Exception {
//Form Init()
form.appendChild(mainLayout);
mainLayout.setWidth("100%");
mainLayout.setHeight("100%");
clientLabel.setText(Msg.getElement(Env.getCtx(), "AD_Client_ID"));
tableLabel.setText(Msg.getElement(Env.getCtx(), "AD_Table_ID"));
dryRun = new Checkbox(Msg.getMsg(Env.getCtx(), "DryRun"));
dryRun.setChecked(true);
ConfirmPanel panel = new ConfirmPanel(false, false, false, false, false, false, false);
bRefresh = panel.createButton(ConfirmPanel.A_REFRESH);
bRefresh.addActionListener(this);
//
parameterPanel.appendChild(parameterLayout);
North north = new North();
north.setStyle("border: none");
mainLayout.appendChild(north);
north.appendChild(parameterPanel);
Rows rows = null;
Row row = null;
parameterLayout.setWidth("100%");
rows = parameterLayout.newRows();
row = rows.newRow();
row.appendChild(clientLabel.rightAlign());
row.appendChild(clientPick);
row.appendChild(tableLabel.rightAlign());
row.appendChild(tablePick);
// For Button
row = rows.newRow();
row.appendChild(new Hbox());
row.appendChild(dryRun);
row.appendChild(new Hbox());
row.appendChild(bRefresh);
//
centerPanel.appendChild(centerLayout);
centerLayout.setWidth("100%");
Center center = new Center();
mainLayout.appendChild(center);
center.setStyle("border: none");
center.appendChild(centerPanel);
tree = new Tree();
treeCols = new Treecols();
treeCol = new Treecol("");
treeCol2 = new Treecol();
centerPanel.appendChild(tree);
treeCols.appendChild(treeCol);
treeCols.appendChild(treeCol2);
tree.appendChild(treeCols);
center.setFlex(true);
center.setAutoscroll(true);
South south = new South();
south.appendChild(southPanel);
southPanel.appendChild(southLayout);
southPanel.setWidth("100%");
mainLayout.appendChild(south);
Rows rows2 = southLayout.newRows();
Row south_row = rows2.newRow();
south_row.appendChild(confirmPanel);
confirmPanel.addActionListener(this);
}
Aggregations