|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.homeunix.thecave.buddi.plugin.api.PreferenceAccess
org.homeunix.thecave.buddi.plugin.api.BuddiReportPlugin
org.homeunix.thecave.buddi.plugin.builtin.report.IncomeExpenseReportByCategory
public class IncomeExpenseReportByCategory
Built-in plugin. Feel free to use this as an example on how to make report plugins (although this one is kind of ugly, so you may not want to use it..)
| Field Summary | |
|---|---|
static long |
serialVersionUID
|
| Constructor Summary | |
|---|---|
IncomeExpenseReportByCategory()
|
|
| Method Summary | |
|---|---|
PluginReportDateRangeChoices |
getDateRangeChoice()
The type of plugin this should be. |
java.lang.String |
getDescription()
Returns the plugin description. |
java.lang.String |
getName()
Returns the plugin name. |
HtmlPage |
getReport(ImmutableDocument model,
MossDocumentFrame frame,
java.util.Date startDate,
java.util.Date endDate)
Returns an in-memory version of the printed page, as an HTML file. |
boolean |
isPluginActive()
Should this plugin be activated? Most people can just put true here; if there is some logic which determines if this is to be shown or not, though, you can add it here. |
| Methods inherited from class org.homeunix.thecave.buddi.plugin.api.BuddiReportPlugin |
|---|
getMaximumVersion, getMinimumVersion, getReportGUI |
| Methods inherited from class org.homeunix.thecave.buddi.plugin.api.PreferenceAccess |
|---|
getListPreference, getPreference, getSecurePreference, putListPreference, putPreference, putSecurePreference |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final long serialVersionUID
| Constructor Detail |
|---|
public IncomeExpenseReportByCategory()
| Method Detail |
|---|
public HtmlPage getReport(ImmutableDocument model,
MossDocumentFrame frame,
java.util.Date startDate,
java.util.Date endDate)
BuddiReportPlugin
getReport in class BuddiReportPluginstartDate - Start of report periodendDate - End of report period
public java.lang.String getName()
MossPlugin
public java.lang.String getDescription()
MossPlugin
public PluginReportDateRangeChoices getDateRangeChoice()
BuddiReportPlugin
getDateRangeChoice in class BuddiReportPluginpublic boolean isPluginActive()
MossPlugin
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||