BrightSide Workbench Full Report + Source Code
org.turro.agreements.SignaturesListbox Class Reference
Inheritance diagram for org.turro.agreements.SignaturesListbox:
Collaboration diagram for org.turro.agreements.SignaturesListbox:

Public Member Functions

 SignaturesListbox (Agreement agreement)
 
- 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 (AgreementSignature v)
 
- Protected Member Functions inherited from org.turro.zkoss.input.CollectionListbox< V >
void populateList ()
 
boolean equals (V value, V obj)
 
abstract String convertToString (V v)
 
void beforeAppend (Listitem li)
 

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 34 of file SignaturesListbox.java.

Constructor & Destructor Documentation

◆ SignaturesListbox()

org.turro.agreements.SignaturesListbox.SignaturesListbox ( Agreement  agreement)

Definition at line 36 of file SignaturesListbox.java.

36  {
37  super(agreement.getSignatures());
38  addHeaders();
39  }
Here is the call graph for this function:

Member Function Documentation

◆ convertToString()

String org.turro.agreements.SignaturesListbox.convertToString ( AgreementSignature  v)
protected

Definition at line 42 of file SignaturesListbox.java.

42  {
43  return v.getContact().getName() + ITEM_SEPARATOR +
44  (v.isSigned()
45  ? (v.isAgreed() ? I_.get("Accepted") : I_.get("Declined"))
46  : I_.get("Not signed")) + ITEM_SEPARATOR +
47  (v.getSignedDate() != null ? DateFormats.format(v.getSignedDate(), "SHORT", "SHORT", Application.getUsedLocale()) : "");
48  }
Here is the call graph for this function:

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