BrightSide Workbench Full Report + Source Code
org.turro.zkoss.input.ListitemValueAdapter< V > Class Template Reference
Inheritance diagram for org.turro.zkoss.input.ListitemValueAdapter< V >:
Collaboration diagram for org.turro.zkoss.input.ListitemValueAdapter< V >:

Public Member Functions

 ListitemValueAdapter (Collection collection, boolean selected)
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 28 of file ListitemValueAdapter.java.

Constructor & Destructor Documentation

◆ ListitemValueAdapter()

org.turro.zkoss.input.ListitemValueAdapter< V >.ListitemValueAdapter ( Collection  collection,
boolean  selected 
)

Definition at line 30 of file ListitemValueAdapter.java.

30  {
31  super();
32  if(collection != null) {
33  for(Object obj : collection) {
34  if(obj instanceof Listitem) {
35  if(!selected || (selected && ((Listitem) obj).isSelected())) {
36  add((V) ((Listitem) obj).getValue());
37  }
38  }
39  }
40  }
41  }

The documentation for this class was generated from the following file: