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

Public Member Functions

 TreeitemValueAdapter (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 TreeitemValueAdapter.java.

Constructor & Destructor Documentation

◆ TreeitemValueAdapter()

org.turro.zkoss.tree.TreeitemValueAdapter< V >.TreeitemValueAdapter ( Collection  collection,
boolean  selected 
)

Definition at line 30 of file TreeitemValueAdapter.java.

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

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