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

Public Member Functions

 LineTypeListbox ()
 
 LineTypeListbox (DocumentDefinition documentDefinition)
 
 LineTypeListbox (ContractDefinition contractDef, DocumentDefinition ancestor, DocumentDefinition descendant)
 
 LineTypeListbox (String regexp)
 
void setDocumentDefinition (DocumentDefinition documentDefinition)
 
void setRegexp (String regexp)
 
- 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 (LineType 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 32 of file LineTypeListbox.java.

Constructor & Destructor Documentation

◆ LineTypeListbox() [1/4]

org.turro.financials.linetype.LineTypeListbox.LineTypeListbox ( )

Definition at line 34 of file LineTypeListbox.java.

34  {
35  }

◆ LineTypeListbox() [2/4]

org.turro.financials.linetype.LineTypeListbox.LineTypeListbox ( DocumentDefinition  documentDefinition)

Definition at line 37 of file LineTypeListbox.java.

37  {
38  super(documentDefinition == null ? null : new RelatedToLineTypeAdapter(documentDefinition.getRelatedLineTypes()));
39  }
Here is the call graph for this function:

◆ LineTypeListbox() [3/4]

org.turro.financials.linetype.LineTypeListbox.LineTypeListbox ( ContractDefinition  contractDef,
DocumentDefinition  ancestor,
DocumentDefinition  descendant 
)

Definition at line 41 of file LineTypeListbox.java.

41  {
42  super(new ContractDefinitionWrapper(contractDef).getLineTypesFor(ancestor, descendant));
43  }

◆ LineTypeListbox() [4/4]

org.turro.financials.linetype.LineTypeListbox.LineTypeListbox ( String  regexp)

Definition at line 45 of file LineTypeListbox.java.

45  {
46  super(new LineTypeSet(regexp));
47  }

Member Function Documentation

◆ convertToString()

String org.turro.financials.linetype.LineTypeListbox.convertToString ( LineType  v)
protected

Definition at line 58 of file LineTypeListbox.java.

58  {
59  return v == null ? "" : v.getName();
60  }
Here is the call graph for this function:

◆ setDocumentDefinition()

void org.turro.financials.linetype.LineTypeListbox.setDocumentDefinition ( DocumentDefinition  documentDefinition)

Definition at line 49 of file LineTypeListbox.java.

49  {
50  setCollection(documentDefinition == null ? null : new RelatedToLineTypeAdapter(documentDefinition.getRelatedLineTypes()));
51  }
void setCollection(Collection< V > collection)
Here is the call graph for this function:

◆ setRegexp()

void org.turro.financials.linetype.LineTypeListbox.setRegexp ( String  regexp)

Definition at line 53 of file LineTypeListbox.java.

53  {
54  setCollection(new LineTypeSet(regexp));
55  }
Here is the call graph for this function:

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