BrightSide Workbench Full Report + Source Code
org.turro.contacts.zul.organigram.OrganigramListbox Class Reference
Inheritance diagram for org.turro.contacts.zul.organigram.OrganigramListbox:
Collaboration diagram for org.turro.contacts.zul.organigram.OrganigramListbox:

Public Member Functions

void setPopulate (boolean value)
 
- Public Member Functions inherited from org.turro.zkoss.input.CollectionListbox< V >
 CollectionListbox ()
 
 CollectionListbox (Collection< V > collection)
 
void updateCollection ()
 
void updateCollection (Collection< V > collection)
 
boolean isAllowNull ()
 
void setAllowNull (boolean allowNull)
 
Collection< V > getCollection ()
 
void setCollection (Collection< V > collection)
 
boolean isNullAtBottom ()
 
void setNullAtBottom (boolean nullAtBottom)
 
String getNullLabel ()
 
void setNullLabel (String nullLabel)
 
- Public Member Functions inherited from org.turro.zkoss.input.GenericListbox< V >
 GenericListbox ()
 
void setDisabled (boolean value)
 
void afterCompose ()
 
void clearItems ()
 
void setObjectValue (V value)
 
void setObjectValues (Collection< V > collection)
 
getObjectValue ()
 
Collection< V > getObjectValues ()
 
Collection< V > getDeselectedObjectValues ()
 
boolean isSelectFirst ()
 
void setSelectFirst (boolean selectFirst)
 
Set getDeselectedItems ()
 
void sort ()
 
Object getRelatedEntity ()
 
void setRelatedEntity (Object relatedEntity)
 

Protected Member Functions

String convertToString (RelationType v)
 
void beforeAppend (Listitem li)
 
- Protected Member Functions inherited from org.turro.zkoss.input.CollectionListbox< V >
void populateList ()
 
boolean equals (V value, V obj)
 
abstract String convertToString (V v)
 

Additional Inherited Members

- Static Public Attributes inherited from org.turro.zkoss.input.CollectionListbox< V >
static final String ITEM_SEPARATOR = "|||"
 
- Protected Attributes inherited from org.turro.zkoss.input.GenericListbox< V >
boolean populated = false
 

Detailed Description

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

Definition at line 31 of file OrganigramListbox.java.

Member Function Documentation

◆ beforeAppend()

void org.turro.contacts.zul.organigram.OrganigramListbox.beforeAppend ( Listitem  li)
protected

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

Definition at line 45 of file OrganigramListbox.java.

45  {
46  super.beforeAppend(li);
47  RelationType rt = li.getValue();
48  if(rt != null) {
49  li.setImage(rt.getImage());
50  }
51  }
Here is the call graph for this function:

◆ convertToString()

String org.turro.contacts.zul.organigram.OrganigramListbox.convertToString ( RelationType  v)
protected

Definition at line 40 of file OrganigramListbox.java.

40  {
41  return I_.byKey(v.toString());
42  }
Here is the call graph for this function:

◆ setPopulate()

void org.turro.contacts.zul.organigram.OrganigramListbox.setPopulate ( boolean  value)

Definition at line 33 of file OrganigramListbox.java.

33  {
34  if(value) {
35  setCollection(EnumSet.allOf(RelationType.class));
36  }
37  }
void setCollection(Collection< V > collection)
Here is the call graph for this function:

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