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

Public Member Functions

 DocumentDefinitionListbox ()
 
 DocumentDefinitionListbox (ContractDefinition contractDefinition)
 
 DocumentDefinitionListbox (ContractDefinition contractDefinition, DocumentDefinition documentDefinition)
 
void setContractDefinition (ContractDefinition contractDefinition)
 
void updateContractDefinition (ContractDefinition contractDefinition)
 
- 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 (DocumentDefinition 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 31 of file DocumentDefinitionListbox.java.

Constructor & Destructor Documentation

◆ DocumentDefinitionListbox() [1/3]

org.turro.financials.document.DocumentDefinitionListbox.DocumentDefinitionListbox ( )

Definition at line 33 of file DocumentDefinitionListbox.java.

33  {
34  super(DocumentDefinitionWrapper.getDocumentDefinitions());
35  }
Here is the call graph for this function:

◆ DocumentDefinitionListbox() [2/3]

org.turro.financials.document.DocumentDefinitionListbox.DocumentDefinitionListbox ( ContractDefinition  contractDefinition)

Definition at line 37 of file DocumentDefinitionListbox.java.

37  {
38  super(contractDefinition == null ? null : new RelatedToDocumentDefinitionAdapter(contractDefinition.getRelatedDocuments()));
39  }
Here is the call graph for this function:

◆ DocumentDefinitionListbox() [3/3]

org.turro.financials.document.DocumentDefinitionListbox.DocumentDefinitionListbox ( ContractDefinition  contractDefinition,
DocumentDefinition  documentDefinition 
)

Definition at line 41 of file DocumentDefinitionListbox.java.

41  {
42  super(documentDefinition == null ? null : ContractWrapper.getExpiryDefinitions(contractDefinition, documentDefinition));
43  }
Here is the call graph for this function:

Member Function Documentation

◆ convertToString()

String org.turro.financials.document.DocumentDefinitionListbox.convertToString ( DocumentDefinition  v)
protected

Definition at line 54 of file DocumentDefinitionListbox.java.

54  {
55  return v.getName();
56  }
Here is the call graph for this function:

◆ setContractDefinition()

void org.turro.financials.document.DocumentDefinitionListbox.setContractDefinition ( ContractDefinition  contractDefinition)

Definition at line 45 of file DocumentDefinitionListbox.java.

45  {
46  setCollection(contractDefinition == null ? null : new RelatedToDocumentDefinitionAdapter(contractDefinition.getRelatedDocuments()));
47  }
void setCollection(Collection< V > collection)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateContractDefinition()

void org.turro.financials.document.DocumentDefinitionListbox.updateContractDefinition ( ContractDefinition  contractDefinition)

Definition at line 49 of file DocumentDefinitionListbox.java.

49  {
50  updateCollection(contractDefinition == null ? null : new RelatedToDocumentDefinitionAdapter(contractDefinition.getRelatedDocuments()));
51  }
Here is the call graph for this function:
Here is the caller graph for this function:

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