BrightSide Workbench Full Report + Source Code
org.turro.erp.reference.OrderReferencePositionListbox Class Reference
Inheritance diagram for org.turro.erp.reference.OrderReferencePositionListbox:
Collaboration diagram for org.turro.erp.reference.OrderReferencePositionListbox:

Public Member Functions

void setWorkOrder (WorkOrder workOrder)
 
Integer getObjectValue ()
 
- 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)
 
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 (Integer 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 OrderReferencePositionListbox.java.

Member Function Documentation

◆ convertToString()

String org.turro.erp.reference.OrderReferencePositionListbox.convertToString ( Integer  v)
protected

Definition at line 48 of file OrderReferencePositionListbox.java.

48  {
49  return v + "";
50  }

◆ getObjectValue()

Integer org.turro.erp.reference.OrderReferencePositionListbox.getObjectValue ( )

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

Definition at line 53 of file OrderReferencePositionListbox.java.

53  {
54  Integer orderRef = super.getObjectValue();
55 // if(orderRef == null && workOrder != null && isAllowNull()) {
56 // Collection c = Listeners.cancelListener(this, Events.ON_BLUR);
57 // OrderReference or = TaskWrapper.createQuickReference(workOrder);
58 // if(or != null) {
59 // orderRef = or.getOrderRef();
60 // }
61 // Listeners.activateListeners(this, Events.ON_BLUR, c);
62 // }
63  return orderRef;
64  }
Here is the caller graph for this function:

◆ setWorkOrder()

void org.turro.erp.reference.OrderReferencePositionListbox.setWorkOrder ( WorkOrder  workOrder)

Definition at line 38 of file OrderReferencePositionListbox.java.

38  {
39  this.workOrder = workOrder;
40  ArrayList<Integer> l = new ArrayList<Integer>();
41  for(OrderReference or : workOrder.getOrderReferences()) {
42  l.add(or.getOrderRef());
43  }
45  }
Set< OrderReference > getOrderReferences()
Definition: WorkOrder.java:124
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: