BrightSide Workbench Full Report + Source Code
org.turro.mail.zul.RecipientsGrid Class Reference
Inheritance diagram for org.turro.mail.zul.RecipientsGrid:
Collaboration diagram for org.turro.mail.zul.RecipientsGrid:

Public Member Functions

void initGrid ()
 
void addAssistantsByEntity (String entityPath, boolean deep)
 
void addContact (IContact contact)
 
void refresh ()
 
void removeAll ()
 
AssistantSet getAssistants ()
 
- 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 48 of file RecipientsGrid.java.

Member Function Documentation

◆ addAssistantsByEntity()

void org.turro.mail.zul.RecipientsGrid.addAssistantsByEntity ( String  entityPath,
boolean  deep 
)

Definition at line 57 of file RecipientsGrid.java.

57  {
58  Assistants.addAssistants(entityPath, deep, as, deep ? AssistantConstants.all() : null);
59  addRows();
60  Events.postEvent(new Event(Events.ON_CHANGE));
61  }
Here is the call graph for this function:

◆ addContact()

void org.turro.mail.zul.RecipientsGrid.addContact ( IContact  contact)

Definition at line 63 of file RecipientsGrid.java.

63  {
64  if(contact != null) {
65  as.addContact(contact, null);
66  addRows();
67  Events.postEvent(new Event(Events.ON_CHANGE));
68  }
69  }
void addContact(IContact contact, Object relationEntity)
Here is the call graph for this function:

◆ getAssistants()

AssistantSet org.turro.mail.zul.RecipientsGrid.getAssistants ( )

Definition at line 82 of file RecipientsGrid.java.

82  {
83  return as;
84  }
Here is the caller graph for this function:

◆ initGrid()

void org.turro.mail.zul.RecipientsGrid.initGrid ( )

Definition at line 52 of file RecipientsGrid.java.

52  {
53  addColumns();
54  addRows();
55  }

◆ refresh()

void org.turro.mail.zul.RecipientsGrid.refresh ( )

Definition at line 71 of file RecipientsGrid.java.

71  {
72  addRows();
73  }

◆ removeAll()

void org.turro.mail.zul.RecipientsGrid.removeAll ( )

Definition at line 75 of file RecipientsGrid.java.

75  {
76  Messages.confirmDeletion().show(() -> {
77  as.clear();
78  addRows();
79  });
80  }
Here is the call graph for this function:

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