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

Public Member Functions

 ValueTreeitemAdapter (Tree listbox, Collection collection)
 

Protected Member Functions

abstract boolean equals (V value, V obj)
 

Detailed Description

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

Definition at line 29 of file ValueTreeitemAdapter.java.

Constructor & Destructor Documentation

◆ ValueTreeitemAdapter()

org.turro.zkoss.tree.ValueTreeitemAdapter< V >.ValueTreeitemAdapter ( Tree  listbox,
Collection  collection 
)

Definition at line 31 of file ValueTreeitemAdapter.java.

31  {
32  super();
33  if(listbox != null && collection != null) {
34  for(Object item : listbox.getItems()) {
35  for(Object obj : collection) {
36  if(item instanceof Treeitem) {
37  if(((Treeitem) item).getValue() != null) {
38  if(equals((V) ((Treeitem) item).getValue(), (V) obj)) {
39  add((Treeitem) item);
40  }
41  }
42  }
43  }
44  }
45  }
46  }
abstract boolean equals(V value, V obj)
Here is the call graph for this function:

Member Function Documentation

◆ equals()

abstract boolean org.turro.zkoss.tree.ValueTreeitemAdapter< V >.equals ( value,
obj 
)
abstractprotected
Here is the caller graph for this function:

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