BrightSide Workbench Full Report + Source Code
org.turro.zul.groupit.CategoryCombobox Class Reference
Inheritance diagram for org.turro.zul.groupit.CategoryCombobox:
Collaboration diagram for org.turro.zul.groupit.CategoryCombobox:

Public Member Functions

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

Member Function Documentation

◆ getTextFromObject()

String org.turro.zul.groupit.CategoryCombobox.getTextFromObject ( String  value)

Definition at line 42 of file BrightSide/contacts/src/main/java/org/turro/zul/groupit/CategoryCombobox.java.

42  {
43  return value;
44  }

◆ populateList()

void org.turro.zul.groupit.CategoryCombobox.populateList ( String  value,
LinkedList  list,
int  nRows 
)

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

Definition at line 33 of file BrightSide/contacts/src/main/java/org/turro/zul/groupit/CategoryCombobox.java.

33  {
34  for(String s : GroupIt.categories()) {
35  if(!Strings.isBlank(s) && (s.contains(value) || Strings.isBlank(s))) {
36  list.add(s);
37  }
38  }
39  }
Here is the call graph for this function:

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