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

Public Member Functions

void doAfterCompose (Component comp) throws Exception
 
void onChange $breakdowns ()
 
void onClick $warnmatch ()
 
void onCheck $type ()
 
void onCheck $showQuantity ()
 
void onCheck $showPrice ()
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 33 of file BreakdownEdit.java.

Member Function Documentation

◆ $breakdowns()

void onChange org.turro.erp.reference.BreakdownEdit.$breakdowns ( )

Definition at line 52 of file BreakdownEdit.java.

52  {
53  double t = breakdowns.getAmount();
54  total.setValue(DecimalFormats.format(t));
55  warnmatch.setVisible(Math.abs(t - breakdowns.getOrderReference().getPrice()) > 0.001);
56  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ $showPrice()

void onCheck org.turro.erp.reference.BreakdownEdit.$showPrice ( )

Definition at line 70 of file BreakdownEdit.java.

70  {
71  breakdowns.setShowPrice(showPrice.isChecked());
72  }
Here is the call graph for this function:

◆ $showQuantity()

void onCheck org.turro.erp.reference.BreakdownEdit.$showQuantity ( )

Definition at line 66 of file BreakdownEdit.java.

66  {
67  breakdowns.setShowQuantity(showQuantity.isChecked());
68  }
Here is the call graph for this function:

◆ $type()

void onCheck org.turro.erp.reference.BreakdownEdit.$type ( )

Definition at line 62 of file BreakdownEdit.java.

62  {
63  breakdowns.setMode(type.getSelectedIndex());
64  }
Here is the call graph for this function:

◆ $warnmatch()

void onClick org.turro.erp.reference.BreakdownEdit.$warnmatch ( )

Definition at line 58 of file BreakdownEdit.java.

58  {
59  onChange$breakdowns();
60  }
Here is the call graph for this function:

◆ doAfterCompose()

void org.turro.erp.reference.BreakdownEdit.doAfterCompose ( Component  comp) throws Exception

Definition at line 42 of file BreakdownEdit.java.

42  {
43  super.doAfterCompose(comp);
44  showQuantity.setChecked(true);
45  showPrice.setChecked(false);
46  breakdowns.setAllowInsertions(!breakdowns.isReadOnly());
47  breakdowns.setAllowDeletions(!breakdowns.isReadOnly());
48  breakdowns.updateCollection(breakdowns.getOrderReference().getBreakdowns());
49  onChange$breakdowns();
50  }
void updateCollection(Collection< V > collection)
void setAllowDeletions(boolean allowDeletions)
void setAllowInsertions(boolean allowInsertions)
Here is the call graph for this function:

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