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

Public Member Functions

PayrollFilter getFilter ()
 
Date getDate ()
 
void setDate (Date date)
 
boolean isNewPayrolls ()
 
void setNewPayrolls (boolean newPayrolls)
 
void save ()
 
void reload ()
 
void afterCompose ()
 
- Public Member Functions inherited from org.turro.zkoss.grid.PagingGrid
void setColumns (int columns)
 
void setColumns (String hflexs)
 
void refine ()
 
boolean isDefaultBehavior ()
 
void setDefaultBehavior (boolean defaultBehavior)
 
String getRefineValue ()
 
void setRefineValue (String value)
 
int getMaxResults ()
 
void setMaxResults (int maxResults)
 
String getPagingMold ()
 
void setPagingMold (String pagingMold)
 
int getRowCount ()
 
void setRowCount (int rows)
 
void setHeadersVisible (boolean value)
 
boolean isHeadersVisible ()
 
String getVarColumns ()
 
void setVarColumns (String varColumns)
 
Collection< String > getVarColumnsList (String defaultCols)
 
void addDetailColumn ()
 
void addDetailColumn (HtmlBasedComponent caption)
 
void openDetails ()
 
boolean isEmpty ()
 
void clearColumns ()
 
void clearRows ()
 
void clearEmptyGroups ()
 
Columns getColumns (boolean create)
 
Rows getRows (boolean create)
 
Foot getFoot (boolean create)
 
Foot createFoot ()
 
void exportToPdf ()
 

Detailed Description

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

Definition at line 44 of file PayrollGrid.java.

Member Function Documentation

◆ afterCompose()

void org.turro.financials.payroll.PayrollGrid.afterCompose ( )

Definition at line 87 of file PayrollGrid.java.

87  {
88  addColumns();
89  addRows();
90  }

◆ getDate()

Date org.turro.financials.payroll.PayrollGrid.getDate ( )

Definition at line 54 of file PayrollGrid.java.

54  {
55  return date;
56  }

◆ getFilter()

PayrollFilter org.turro.financials.payroll.PayrollGrid.getFilter ( )

Definition at line 50 of file PayrollGrid.java.

50  {
51  return filter;
52  }

◆ isNewPayrolls()

boolean org.turro.financials.payroll.PayrollGrid.isNewPayrolls ( )

Definition at line 67 of file PayrollGrid.java.

67  {
68  return newPayrolls;
69  }

◆ reload()

void org.turro.financials.payroll.PayrollGrid.reload ( )

Definition at line 82 of file PayrollGrid.java.

82  {
83  addRows();
84  }

◆ save()

void org.turro.financials.payroll.PayrollGrid.save ( )

Definition at line 75 of file PayrollGrid.java.

75  {
76  for(Component row : getRows().getChildren()) {
77  PayrollWrapper pr = (PayrollWrapper) ((Row)row).getValue();
78  pr.save();
79  }
80  }
Rows getRows(boolean create)
Here is the call graph for this function:

◆ setDate()

void org.turro.financials.payroll.PayrollGrid.setDate ( Date  date)

Definition at line 58 of file PayrollGrid.java.

58  {
59  this.date = date;
60  for(Component row : getRows().getChildren()) {
61  PayrollWrapper pr = (PayrollWrapper) ((Row)row).getValue();
62  pr.getPayroll().setDocumentDate(date);
63  pr.getPayroll().setReceiptDate(date);
64  }
65  }
Here is the call graph for this function:

◆ setNewPayrolls()

void org.turro.financials.payroll.PayrollGrid.setNewPayrolls ( boolean  newPayrolls)

Definition at line 71 of file PayrollGrid.java.

71  {
72  this.newPayrolls = newPayrolls;
73  }

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