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

Public Member Functions

HTMLGenerator startReport ()
 
HTMLGenerator endReport ()
 
HTMLGenerator addSpace ()
 
HTMLGenerator startTitle ()
 
HTMLGenerator startTitleMenu ()
 
HTMLGenerator addMenuItem (String value, String ref)
 
HTMLGenerator addItemRef (String value, String ref)
 
HTMLGenerator startHeading1 ()
 
HTMLGenerator startHeading2 ()
 
HTMLGenerator startDetailGroup ()
 
HTMLGenerator startDetailHeading ()
 
HTMLGenerator startDetailSubHeading ()
 
HTMLGenerator startDetailContent ()
 
HTMLGenerator addValueLabel (String label)
 
HTMLGenerator addValue (String value)
 
- Public Member Functions inherited from org.turro.html.HTMLGenerator
 HTMLGenerator ()
 
 HTMLGenerator (Writer out)
 
String toString ()
 
void setOut (Writer out)
 
void setExtraAttributes (String extraAttributes)
 
HTMLGenerator doTag (String tag)
 
HTMLGenerator doTag (String tag, String attributes)
 
HTMLGenerator doTag (String tag, String[] attributes)
 
HTMLGenerator startTag (String tag)
 
HTMLGenerator startTag (String tag, String attributes)
 
HTMLGenerator startTag (String tag, String[] attributes)
 
HTMLGenerator startExtAnchor (String url, String hint)
 
HTMLGenerator startTargetAnchor (String url, String target, String hint)
 
HTMLGenerator startAnchor (String url, String hint)
 
HTMLGenerator startAnchor (String url, String hint, String cssClass)
 
HTMLGenerator startAnchor (String url, String hint, String cssClass, String onClick)
 
HTMLGenerator startTable (String attributes)
 
HTMLGenerator startTable (String[] attributes)
 
HTMLGenerator endTable ()
 
HTMLGenerator startTableRow (String attributes)
 
HTMLGenerator startTableRow (String[] attributes)
 
HTMLGenerator endTableRow ()
 
HTMLGenerator startTableCol (String attributes)
 
HTMLGenerator startTableCol (String[] attributes)
 
HTMLGenerator endTableCol ()
 
HTMLGenerator endTag ()
 
HTMLGenerator endTag (String tag)
 
HTMLGenerator endBeforeTag (String tag)
 
HTMLGenerator endAllTags ()
 
boolean checkTag (String tag)
 
HTMLGenerator write (String value)
 
HTMLGenerator writeNewLine ()
 
HTMLGenerator writeSeparator ()
 
HTMLGenerator writeHorizontalStrut (int pixels)
 
HTMLGenerator startJavaScript ()
 
HTMLGenerator endJavaScript ()
 
HTMLGenerator startCSS ()
 
HTMLGenerator endCSS ()
 
HTMLGenerator addCSSLink (String cssFile)
 
HTMLGenerator addJavaScriptLink (String jsFile)
 

Additional Inherited Members

- Protected Attributes inherited from org.turro.html.HTMLGenerator
Stack tags = new Stack()
 
Writer out = null
 

Detailed Description

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

Definition at line 26 of file MailReport.java.

Member Function Documentation

◆ addItemRef()

HTMLGenerator org.turro.mail.impl.MailReport.addItemRef ( String  value,
String  ref 
)

Definition at line 56 of file MailReport.java.

56  {
57  return startTag("a", "style='color:inherit' name='" + ref + "'")
58  .write(value)
59  .endTag();
60  }
HTMLGenerator write(String value)
HTMLGenerator startTag(String tag)
Here is the call graph for this function:

◆ addMenuItem()

HTMLGenerator org.turro.mail.impl.MailReport.addMenuItem ( String  value,
String  ref 
)

Definition at line 50 of file MailReport.java.

50  {
51  return startTag("a", "style='color:inherit' href='#" + ref + "'")
52  .write(value)
53  .endTag();
54  }
Here is the call graph for this function:

◆ addSpace()

HTMLGenerator org.turro.mail.impl.MailReport.addSpace ( )

Definition at line 36 of file MailReport.java.

36  {
37  return startTag("span")
38  .write(" ")
39  .endTag();
40  }
Here is the call graph for this function:

◆ addValue()

HTMLGenerator org.turro.mail.impl.MailReport.addValue ( String  value)

Definition at line 92 of file MailReport.java.

92  {
93  return startTag("span", "style='font-size:11px;font-weight:normal'")
94  .write(" " + value)
95  .endTag();
96  }
Here is the call graph for this function:

◆ addValueLabel()

HTMLGenerator org.turro.mail.impl.MailReport.addValueLabel ( String  label)

Definition at line 86 of file MailReport.java.

86  {
87  return startTag("span", "style='font-size:11px;font-weight:bold'")
88  .write(label)
89  .endTag();
90  }
Here is the call graph for this function:

◆ endReport()

HTMLGenerator org.turro.mail.impl.MailReport.endReport ( )

Definition at line 32 of file MailReport.java.

32  {
33  return endAllTags();
34  }
Here is the call graph for this function:

◆ startDetailContent()

HTMLGenerator org.turro.mail.impl.MailReport.startDetailContent ( )

Definition at line 82 of file MailReport.java.

82  {
83  return startTag("div", "style='background-color:#fff;color:#333;font-weight:normal;font-size:12px;padding:10px'");
84  }
Here is the call graph for this function:

◆ startDetailGroup()

HTMLGenerator org.turro.mail.impl.MailReport.startDetailGroup ( )

Definition at line 70 of file MailReport.java.

70  {
71  return startTag("div", "style='border:solid 1px silver;margin:2px'");
72  }
Here is the call graph for this function:

◆ startDetailHeading()

HTMLGenerator org.turro.mail.impl.MailReport.startDetailHeading ( )

Definition at line 74 of file MailReport.java.

74  {
75  return startTag("div", "style='background-color:#fff;color:#444;font-weight:bold;font-size:12px;padding:10px'");
76  }
Here is the call graph for this function:

◆ startDetailSubHeading()

HTMLGenerator org.turro.mail.impl.MailReport.startDetailSubHeading ( )

Definition at line 78 of file MailReport.java.

78  {
79  return startTag("div", "style='color:#666;font-size:11px;padding:2px'");
80  }
Here is the call graph for this function:

◆ startHeading1()

HTMLGenerator org.turro.mail.impl.MailReport.startHeading1 ( )

Definition at line 62 of file MailReport.java.

62  {
63  return startTag("div", "style='background-color:#2e8dcf;color:#fff;font-weight:bold;font-size:14px;padding:10px'");
64  }
Here is the call graph for this function:

◆ startHeading2()

HTMLGenerator org.turro.mail.impl.MailReport.startHeading2 ( )

Definition at line 66 of file MailReport.java.

66  {
67  return startTag("div", "style='background-color:#2e8dcf;color:#eee;font-weight:bold;font-size:12px;padding:10px'");
68  }
Here is the call graph for this function:

◆ startReport()

HTMLGenerator org.turro.mail.impl.MailReport.startReport ( )

Definition at line 28 of file MailReport.java.

28  {
29  return startTag("div", "style='font-size:12px;font-family:verdana'");
30  }
Here is the call graph for this function:

◆ startTitle()

HTMLGenerator org.turro.mail.impl.MailReport.startTitle ( )

Definition at line 42 of file MailReport.java.

42  {
43  return startTag("div", "style='background-color:#0c4f7d;color:#fff;font-weight:bold;font-size:18px;padding:10px'");
44  }
Here is the call graph for this function:

◆ startTitleMenu()

HTMLGenerator org.turro.mail.impl.MailReport.startTitleMenu ( )

Definition at line 46 of file MailReport.java.

46  {
47  return startTag("span", "style='font-size:14px;padding:3px'");
48  }
Here is the call graph for this function:

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