BrightSide Workbench Full Report + Source Code
org.turro.sendable.MailRecipients Class Reference
Inheritance diagram for org.turro.sendable.MailRecipients:
Collaboration diagram for org.turro.sendable.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.sendable.MailRecipients.MailRecipients ( Collection< IContact recipients)

Definition at line 48 of file Elephant/elephant-mail/src/main/java/org/turro/sendable/MailRecipients.java.

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

Member Function Documentation

◆ getRecipients()

Collection<IContact> org.turro.sendable.MailRecipients.getRecipients ( )

Definition at line 103 of file Elephant/elephant-mail/src/main/java/org/turro/sendable/MailRecipients.java.

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

◆ selectRecipients()

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

Definition at line 54 of file Elephant/elephant-mail/src/main/java/org/turro/sendable/MailRecipients.java.

54  {
55  MailRecipients mr = new MailRecipients(recipients);
56  mr.setStyle("overflow:auto;");
57  SelectionDialog.getComponent(
58  Framework.getCurrent().getPage(),
59  I_.get("Recipients"),
60  mr, "425px", "350px", command);
61  }
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: