|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.homeunix.thecave.buddi.plugin.api.util.HtmlHelper
public class HtmlHelper
| Constructor Summary | |
|---|---|
HtmlHelper()
|
|
| Method Summary | |
|---|---|
static java.lang.StringBuilder |
getHtmlFooter()
Get the HTML footer, matched to the header supplied from getHtmlHeader() |
static java.lang.StringBuilder |
getHtmlHeader(java.lang.String title,
java.lang.String subtitle,
java.util.Date startDate,
java.util.Date endDate)
Get a StringBuilder with an HTML header, including some CSS for a basic printable page. |
static java.lang.StringBuilder |
getHtmlTransactionFooter()
Returns the end of a table for displaying transactions. |
static java.lang.StringBuilder |
getHtmlTransactionHeader()
Returns the start of a table for displaying transactions, including the header row. |
static java.lang.StringBuilder |
getHtmlTransactionRow(ImmutableTransaction t,
ImmutableSource source)
Returns an HTML table row consisting of information from the given transaction. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HtmlHelper()
| Method Detail |
|---|
public static java.lang.StringBuilder getHtmlHeader(java.lang.String title,
java.lang.String subtitle,
java.util.Date startDate,
java.util.Date endDate)
title - The main title - appears on the browser title, as well as on the top of the pagesubtitle - The subtitle - optional - appears right below main title. Set to null to not use.startDate - Start date. Set to null if this is not a report with date range.endDate - End date. Set to null if this is not a report with date range.
public static java.lang.StringBuilder getHtmlFooter()
public static java.lang.StringBuilder getHtmlTransactionRow(ImmutableTransaction t,
ImmutableSource source)
t - Transaction to display.source - Associated source. This would be the account which
the transaction frame is associated with, for instace. This can be null
if there is none.
public static java.lang.StringBuilder getHtmlTransactionHeader()
public static java.lang.StringBuilder getHtmlTransactionFooter()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||