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

Public Member Functions

void setSendable (Sendable sendable)
 
void addAssistantsByEntity (String entityPath, boolean deep)
 
void addContact (IContact contact)
 
void refresh ()
 
void removeAll ()
 
- 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 49 of file AssistantsGrid.java.

Member Function Documentation

◆ addAssistantsByEntity()

void org.turro.sendable.AssistantsGrid.addAssistantsByEntity ( String  entityPath,
boolean  deep 
)

Definition at line 59 of file AssistantsGrid.java.

59  {
60  sendable.addAssistantsByEntity(entityPath, deep);
61  addRows();
62  Events.postEvent(new Event(Events.ON_CHANGE));
63  }
void addAssistantsByEntity(String entityPath, boolean deep)
Definition: Sendable.java:88
Here is the call graph for this function:

◆ addContact()

void org.turro.sendable.AssistantsGrid.addContact ( IContact  contact)

Definition at line 65 of file AssistantsGrid.java.

65  {
66  if(contact != null) {
67  sendable.addContact(contact);
68  addRows();
69  Events.postEvent(new Event(Events.ON_CHANGE));
70  }
71  }
void addContact(IContact contact)
Definition: Sendable.java:96
Here is the call graph for this function:

◆ refresh()

void org.turro.sendable.AssistantsGrid.refresh ( )

Definition at line 73 of file AssistantsGrid.java.

73  {
74  addRows();
75  }

◆ removeAll()

void org.turro.sendable.AssistantsGrid.removeAll ( )

Definition at line 77 of file AssistantsGrid.java.

77  {
78  Messages.confirmDeletion().show(() -> {
79  sendable.removeAssistants();
80  addRows();
81  });
82  }
Here is the call graph for this function:

◆ setSendable()

void org.turro.sendable.AssistantsGrid.setSendable ( Sendable  sendable)

Definition at line 53 of file AssistantsGrid.java.

53  {
54  this.sendable = sendable;
55  addColumns();
56  addRows();
57  }

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