BrightSide Workbench Full Report + Source Code
org.turro.zkoss.filter.FilterNameCombobox Class Reference
Inheritance diagram for org.turro.zkoss.filter.FilterNameCombobox:
Collaboration diagram for org.turro.zkoss.filter.FilterNameCombobox:

Public Member Functions

 FilterNameCombobox (ConfigurationSet cs)
 
void populateList (String value, LinkedList list, int nRows)
 
String getTextFromObject (String value)
 
- Public Member Functions inherited from org.turro.zkoss.input.GenericCombobox< V >
 GenericCombobox ()
 
getObjectValue ()
 
void setObjectValue (V value)
 
boolean isAllowNotInModelValues ()
 
void setAllowNotInModelValues (boolean allowNotInModelValues)
 
void refreshModel ()
 
abstract String getTextFromObject (V value)
 
Object getRelatedEntity ()
 
void setRelatedEntity (Object relatedEntity)
 
void render (Comboitem item, Object data, int index) throws Exception
 

Detailed Description

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

Definition at line 29 of file FilterNameCombobox.java.

Constructor & Destructor Documentation

◆ FilterNameCombobox()

org.turro.zkoss.filter.FilterNameCombobox.FilterNameCombobox ( ConfigurationSet  cs)

Definition at line 33 of file FilterNameCombobox.java.

33  {
34  this.cs = cs;
35  }

Member Function Documentation

◆ getTextFromObject()

String org.turro.zkoss.filter.FilterNameCombobox.getTextFromObject ( String  value)

Definition at line 48 of file FilterNameCombobox.java.

48  {
49  return value;
50  }

◆ populateList()

void org.turro.zkoss.filter.FilterNameCombobox.populateList ( String  value,
LinkedList  list,
int  nRows 
)

Reimplemented from org.turro.zkoss.input.GenericCombobox< V >.

Definition at line 38 of file FilterNameCombobox.java.

38  {
39  List<String> l = cs.getChildrenValue(new FilterNamePath(), "filter", "name");
40  for(String s : l) {
41  if(s.contains(value)) {
42  list.add(s);
43  }
44  }
45  }
List< String > getChildrenValue(Path path, String element, String name)
Here is the call graph for this function:

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