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

Public Member Functions

 ValueListitemAdapter (Listbox 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 ValueListitemAdapter.java.

Constructor & Destructor Documentation

◆ ValueListitemAdapter()

org.turro.zkoss.input.ValueListitemAdapter< V >.ValueListitemAdapter ( Listbox  listbox,
Collection  collection 
)

Definition at line 31 of file ValueListitemAdapter.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 Listitem) {
37  if(equals((V) ((Listitem) item).getValue(), (V) obj)) {
38  add((Listitem) item);
39  }
40  }
41  }
42  }
43  }
44  }
abstract boolean equals(V value, V obj)
Here is the call graph for this function:

Member Function Documentation

◆ equals()

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

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