BrightSide Workbench Full Report + Source Code
org.turro.financials.treasury.m303.ModelGrid Class Reference
Inheritance diagram for org.turro.financials.treasury.m303.ModelGrid:
Collaboration diagram for org.turro.financials.treasury.m303.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 43 of file m303/ModelGrid.java.

Constructor & Destructor Documentation

◆ ModelGrid()

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

Definition at line 48 of file m303/ModelGrid.java.

48  {
49  }

Member Function Documentation

◆ setExercise()

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

Definition at line 51 of file m303/ModelGrid.java.

51  {
52  modelSet = new ModelSet(exercise);
53  getChildren().clear();
54  Auxhead head = new Auxhead();
55  head.appendChild(new AuxheaderAdapter("Q1", 2));
56  head.appendChild(new AuxheaderAdapter("Q2", 2));
57  head.appendChild(new AuxheaderAdapter("Q3", 2));
58  head.appendChild(new AuxheaderAdapter("Q4", 2));
59  appendChild(head);
60  setColumns("min,right-300px,min,right-300px,min,right-300px,min,right-300px");
61  setColCaptions(new String[] {
62  I_.get("Tax"),
63  I_.get("Amount"),
64  I_.get("Tax"),
65  I_.get("Amount"),
66  I_.get("Tax"),
67  I_.get("Amount"),
68  I_.get("Tax"),
69  I_.get("Amount")
70  });
71  currencyFormatter = CompanyWrapper.getCurrencyFormatter();
72  compose();
73  }
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: