BrightSide Workbench Full Report + Source Code
org.turro.financials.treasury.m303m.ModelGrid Class Reference
Inheritance diagram for org.turro.financials.treasury.m303m.ModelGrid:
Collaboration diagram for org.turro.financials.treasury.m303m.ModelGrid:

Public Member Functions

 ModelGrid ()
 
void setExercise (int exercise)
 
- Public Member Functions inherited from org.turro.zkoss.layout.GridLayout
 GridLayout ()
 
 GridLayout (int columns)
 
 GridLayout (String hflexs)
 
void setColumns (int columns)
 
void setColumns (String hflexs)
 
void setColCaptions (String captions)
 
void setColCaptions (String[] captions)
 
void clearRows ()
 
GridLayout addGroup (String title, boolean open)
 
GridLayout addRow ()
 
GridLayout insertBeforeRow (Row row)
 
GridLayout addCaption (String label)
 
GridLayout addValue (String value)
 
GridLayout addBoldValue (String value)
 
GridLayout addComponent (HtmlBasedComponent comp)
 
GridLayout addSpannedComponent (HtmlBasedComponent comp, int cols)
 
GridLayout addRowSpannedComponent (HtmlBasedComponent comp, int rows)
 
GridLayout addSpace ()
 
Row getCurrentRow ()
 
Rows getRows (boolean create)
 
Object getData ()
 
void setData (Object data)
 

Additional Inherited Members

- Protected Attributes inherited from org.turro.zkoss.layout.GridLayout
Row currentRow
 

Detailed Description

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

Definition at line 49 of file m303m/ModelGrid.java.

Constructor & Destructor Documentation

◆ ModelGrid()

org.turro.financials.treasury.m303m.ModelGrid.ModelGrid ( )

Definition at line 54 of file m303m/ModelGrid.java.

54  {
55  }

Member Function Documentation

◆ setExercise()

void org.turro.financials.treasury.m303m.ModelGrid.setExercise ( int  exercise)

Definition at line 57 of file m303m/ModelGrid.java.

57  {
58  modelSet = new ModelSet(exercise);
59  getChildren().clear();
60  Auxhead head = new Auxhead();
61  head.appendChild(new AuxheaderAdapter("M1", 2));
62  head.appendChild(new AuxheaderAdapter("M2", 2));
63  head.appendChild(new AuxheaderAdapter("M3", 2));
64  head.appendChild(new AuxheaderAdapter("M4", 2));
65  head.appendChild(new AuxheaderAdapter("M5", 2));
66  head.appendChild(new AuxheaderAdapter("M6", 2));
67  head.appendChild(new AuxheaderAdapter("M7", 2));
68  head.appendChild(new AuxheaderAdapter("M8", 2));
69  head.appendChild(new AuxheaderAdapter("M9", 2));
70  head.appendChild(new AuxheaderAdapter("M10", 2));
71  head.appendChild(new AuxheaderAdapter("M11", 2));
72  head.appendChild(new AuxheaderAdapter("M12", 2));
73  appendChild(head);
74  setColumns("min,right-300px,min,right-300px,min,right-300px,min,right-300px," +
75  "min,right-300px,min,right-300px,min,right-300px,min,right-300px," +
76  "min,right-300px,min,right-300px,min,right-300px,min,right-300px,");
77  setColCaptions(new String[] {
78  I_.get("Tax"),
79  I_.get("Amount"),
80  I_.get("Tax"),
81  I_.get("Amount"),
82  I_.get("Tax"),
83  I_.get("Amount"),
84  I_.get("Tax"),
85  I_.get("Amount"),
86  I_.get("Tax"),
87  I_.get("Amount"),
88  I_.get("Tax"),
89  I_.get("Amount"),
90  I_.get("Tax"),
91  I_.get("Amount"),
92  I_.get("Tax"),
93  I_.get("Amount"),
94  I_.get("Tax"),
95  I_.get("Amount"),
96  I_.get("Tax"),
97  I_.get("Amount"),
98  I_.get("Tax"),
99  I_.get("Amount"),
100  I_.get("Tax"),
101  I_.get("Amount")
102  });
103  currencyFormatter = CompanyWrapper.getCurrencyFormatter();
104  compose();
105  }
void setColCaptions(String captions)
Definition: GridLayout.java:94
Here is the call graph for this function:

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