BrightSide Workbench Full Report + Source Code
org.turro.financials.contract.ContractPreferencesListbox Class Reference
Inheritance diagram for org.turro.financials.contract.ContractPreferencesListbox:
Collaboration diagram for org.turro.financials.contract.ContractPreferencesListbox:

Public Member Functions

void setContract (Contract contract)
 
void afterCompose ()
 
void updateContract ()
 
- 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 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 (ContractPreference 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 28 of file ContractPreferencesListbox.java.

Member Function Documentation

◆ afterCompose()

void org.turro.financials.contract.ContractPreferencesListbox.afterCompose ( )

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

Definition at line 42 of file ContractPreferencesListbox.java.

42  {
43  if(contract.getContractDefinition() != null) {
45  }
47  super.afterCompose();
48  }
ContractDefinition getContractDefinition()
Definition: Contract.java:125
Set< ContractPreference > getContractPreferences()
Definition: Contract.java:145
void setCollection(Collection< V > collection)
void setObjectValues(Collection< V > collection)
Here is the call graph for this function:

◆ convertToString()

String org.turro.financials.contract.ContractPreferencesListbox.convertToString ( ContractPreference  v)
protected

Definition at line 37 of file ContractPreferencesListbox.java.

37  {
38  return v.getName();
39  }
Here is the call graph for this function:

◆ setContract()

void org.turro.financials.contract.ContractPreferencesListbox.setContract ( Contract  contract)

Definition at line 32 of file ContractPreferencesListbox.java.

32  {
33  this.contract = contract;
34  }

◆ updateContract()

void org.turro.financials.contract.ContractPreferencesListbox.updateContract ( )

Definition at line 50 of file ContractPreferencesListbox.java.

50  {
51  contract.getContractPreferences().clear();
52  contract.getContractPreferences().addAll(getObjectValues());
53  }
Here is the call graph for this function:

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