BrightSide Workbench Full Report + Source Code
org.turro.activity.ParticipationGrid Class Reference
Inheritance diagram for org.turro.activity.ParticipationGrid:
Collaboration diagram for org.turro.activity.ParticipationGrid:

Public Member Functions

 ParticipationGrid ()
 
void setContact (Contact contact)
 
boolean isOnlyEntities ()
 
void setOnlyEntities (boolean onlyEntities)
 
boolean isCanDelete ()
 
boolean doDelete ()
 
- 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

Constructor & Destructor Documentation

◆ ParticipationGrid()

org.turro.activity.ParticipationGrid.ParticipationGrid ( )

Definition at line 40 of file contacts/src/main/java/org/turro/activity/ParticipationGrid.java.

40  {
41  addColumns();
42  }

Member Function Documentation

◆ doDelete()

boolean org.turro.activity.ParticipationGrid.doDelete ( )

Definition at line 60 of file contacts/src/main/java/org/turro/activity/ParticipationGrid.java.

60  {
61  if(canDelete) {
62  for(Object o : rows.getChildren()) {
63  if(o instanceof Row) {
64  IParticipation ia = (IParticipation) ((Row) o).getValue();
65  if(ia != null) ia.doDelete();
66  }
67  }
68  }
69  return canDelete;
70  }
Here is the call graph for this function:

◆ isCanDelete()

boolean org.turro.activity.ParticipationGrid.isCanDelete ( )

Definition at line 56 of file contacts/src/main/java/org/turro/activity/ParticipationGrid.java.

56  {
57  return canDelete;
58  }

◆ isOnlyEntities()

boolean org.turro.activity.ParticipationGrid.isOnlyEntities ( )

Definition at line 48 of file contacts/src/main/java/org/turro/activity/ParticipationGrid.java.

48  {
49  return onlyEntities;
50  }

◆ setContact()

void org.turro.activity.ParticipationGrid.setContact ( Contact  contact)

Definition at line 44 of file contacts/src/main/java/org/turro/activity/ParticipationGrid.java.

44  {
45  addRows(contact);
46  }

◆ setOnlyEntities()

void org.turro.activity.ParticipationGrid.setOnlyEntities ( boolean  onlyEntities)

Definition at line 52 of file contacts/src/main/java/org/turro/activity/ParticipationGrid.java.

52  {
53  this.onlyEntities = onlyEntities;
54  }

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