BrightSide Workbench Full Report + Source Code
org.turro.contacts.util.MailRecipients Class Reference
Inheritance diagram for org.turro.contacts.util.MailRecipients:
Collaboration diagram for org.turro.contacts.util.MailRecipients:

Public Member Functions

 MailRecipients (Collection< IContact > recipients)
 
Collection< IContactgetRecipients ()
 
- 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)
 

Static Public Member Functions

static void selectRecipients (Collection< IContact > recipients, Command command)
 

Additional Inherited Members

- Protected Attributes inherited from org.turro.zkoss.layout.GridLayout
Row currentRow
 

Detailed Description

Constructor & Destructor Documentation

◆ MailRecipients()

org.turro.contacts.util.MailRecipients.MailRecipients ( Collection< IContact recipients)

Definition at line 47 of file BrightSide/contacts/src/main/java/org/turro/contacts/util/MailRecipients.java.

47  {
48  this.recipients.addAll(recipients);
49  setColumns("350px,40px");
50  addRecipients();
51  }
Here is the call graph for this function:
Here is the caller graph for this function:

Member Function Documentation

◆ getRecipients()

Collection<IContact> org.turro.contacts.util.MailRecipients.getRecipients ( )

Definition at line 101 of file BrightSide/contacts/src/main/java/org/turro/contacts/util/MailRecipients.java.

101  {
102  recipients = new ArrayList<>();
103  for(Object o : getRows().getChildren()) {
104  if(o instanceof Row) {
105  if(((Row) o).getValue() instanceof IContact) {
106  recipients.add((IContact) ((Row) o).getValue());
107  }
108  }
109  }
110  return recipients;
111  }
Rows getRows(boolean create)
Here is the caller graph for this function:

◆ selectRecipients()

static void org.turro.contacts.util.MailRecipients.selectRecipients ( Collection< IContact recipients,
Command  command 
)
static

Definition at line 53 of file BrightSide/contacts/src/main/java/org/turro/contacts/util/MailRecipients.java.

53  {
54  MailRecipients mr = new MailRecipients(recipients);
55  mr.setStyle("overflow:auto;");
56  SelectionDialog.getComponent(
57  Framework.getCurrent().getPage(),
58  I_.get("Recipients"),
59  mr, "425px", "350px", command);
60  }
Here is the call graph for this function:
Here is the caller graph for this function:

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