18 package org.turro.financials.view;
20 import java.util.HashSet;
21 import org.turro.financials.entity.RegisterView;
22 import org.turro.zkoss.input.GenericBandbox;
23 import org.zkoss.zk.ui.event.Event;
24 import org.zkoss.zk.ui.event.EventListener;
25 import org.zkoss.zk.ui.event.Events;
26 import org.zkoss.zul.Hbox;
43 viewA.setMultiple(
true);
44 viewA.setCheckmark(
true);
45 viewA.addEventListener(Events.ON_SELECT,
new EventListener() {
47 public void onEvent(Event event)
throws Exception {
54 viewB.setMultiple(
true);
55 viewB.setCheckmark(
true);
56 viewB.addEventListener(Events.ON_SELECT,
new EventListener() {
58 public void onEvent(Event event)
throws Exception {
62 Hbox hbox =
new Hbox();
63 hbox.setWidth(
"100%");
64 hbox.appendChild(viewA);
65 hbox.appendChild(viewB);
86 private void updateSets() {
ViewSets getObjectValue()
void setObjectValue(ViewSets v)
void setGroupB(Set< RegisterView > groupB)
Set< RegisterView > getGroupA()
Set< RegisterView > getGroupB()
void setGroupA(Set< RegisterView > groupA)