BrightSide Workbench Full Report + Source Code
org.turro.plugin.command.SummaryView Class Reference
Inheritance diagram for org.turro.plugin.command.SummaryView:
Collaboration diagram for org.turro.plugin.command.SummaryView:

Public Member Functions

void setIContact (IContact iContact)
 
void setSummary (String summary)
 
void afterCompose ()
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 34 of file SummaryView.java.

Member Function Documentation

◆ afterCompose()

void org.turro.plugin.command.SummaryView.afterCompose ( )

Definition at line 48 of file SummaryView.java.

48  {
49  if(iContact != null && iContact.isValid()) {
50  Collection comps = SummaryPlugin
51  .getSummaryFor(iContact, summary);
52  if(comps != null) {
53  setVflex("true");
54  Borderlayout bl = new Borderlayout();
55  appendChild(bl);
56  bl.setWidth("100%");
57  bl.setHeight("100%");
58  Center c = new Center();
59  bl.appendChild(c);
60  c.setBorder("none");
61  c.setAutoscroll(true);
62  Vlayout vbox = new Vlayout();
63  c.appendChild(vbox);
64  for(Object comp : comps) {
65  if(comp instanceof Component) {
66  vbox.appendChild((Component) comp);
67  }
68  }
69  }
70  }
71  }
Here is the call graph for this function:

◆ setIContact()

void org.turro.plugin.command.SummaryView.setIContact ( IContact  iContact)

Definition at line 39 of file SummaryView.java.

39  {
40  this.iContact = iContact;
41  }

◆ setSummary()

void org.turro.plugin.command.SummaryView.setSummary ( String  summary)

Definition at line 43 of file SummaryView.java.

43  {
44  this.summary = summary;
45  }

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