public class ReportUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
AVG |
protected String |
dscr |
static int |
GROUP_BY_DATE |
static int |
GROUP_BY_DATE_TIME |
static int |
GROUP_BY_MONTH |
static int |
GROUP_BY_MONTH_AND_YEAR |
static int |
GROUP_BY_QUARTER |
static int |
GROUP_BY_QUARTER_AND_YEAR |
static int |
GROUP_BY_YEAR |
static int |
LIST_MOUSE_X_MAX |
protected TableModel |
m |
static int |
MAX |
static int |
MIN |
protected String |
pageTitle |
protected String |
preferenceKey |
protected ApplicationPreferences |
preferences |
static String |
REPORT_NAME |
static String |
REPORT_SAVE |
static String |
REPORT_STORE |
protected ResourceBundle |
res |
static String |
STORED_REPORT_LIST |
static int |
SUM |
protected List |
templates |
protected String |
user |
| Constructor and Description |
|---|
ReportUtils(TableModel m,
String titPag,
ResourceBundle res,
List templateList,
String descr) |
ReportUtils(TableModel m,
String pageTitle,
ResourceBundle res,
List templateList,
String descr,
String user,
String preferenceKey,
ApplicationPreferences prefs) |
public static final String REPORT_NAME
public static final String REPORT_STORE
public static final String REPORT_SAVE
public static final String STORED_REPORT_LIST
public static final int MIN
public static final int MAX
public static final int SUM
public static final int AVG
public static final int GROUP_BY_DATE_TIME
public static final int GROUP_BY_DATE
public static final int GROUP_BY_MONTH
public static final int GROUP_BY_MONTH_AND_YEAR
public static final int GROUP_BY_QUARTER
public static final int GROUP_BY_QUARTER_AND_YEAR
public static final int GROUP_BY_YEAR
public static final int LIST_MOUSE_X_MAX
protected TableModel m
protected ResourceBundle res
protected List templates
protected String pageTitle
protected String dscr
protected String user
protected String preferenceKey
protected ApplicationPreferences preferences
public ReportUtils(TableModel m, String titPag, ResourceBundle res, List templateList, String descr)
public ReportUtils(TableModel m, String pageTitle, ResourceBundle res, List templateList, String descr, String user, String preferenceKey, ApplicationPreferences prefs)
public void setModel(TableModel m)
public void setResourceBundle(ResourceBundle res)
public DefaultReportDialog createDefaultDialog(Component c, String reportDescription)
public static void showDefaultReportDesigner(Frame f, ReportStore[] rs, EntityReferenceLocator referenceLocator, ResourceBundle res, List template, String tit, String descr)
public void showDefaultReportDialog(Component c, String reportDescription)
c - reportDescription - public void showDefaultReportDialog(DefaultReportDialog reportDialog, String configuration)
public void showDefaultReportDialog(Component c, String reportDescription, String configuration)
public void showDefaultReportDialog(Component c)
public static URL getDefaultBase()
public static void setCustomReportTemplates(List list)
list - a List with the list of template paths.public static String getTranslation(String sText, ResourceBundle res, Object[] args)
public static List getCustomReportTemplates()
public static PreviewDialog showPreviewDialog(Component c, String title, TableModel m, String xMLTemplate, URL base, ReportProcessor rp) throws Exception
Exceptionpublic static PreviewDialog showPreviewDialog(Component c, String title, TableModel m, String template, URL base) throws Exception
Exceptionpublic static PreviewDialog showPreviewDialog(Component c, String title, TableModel m, URL template, URL base, ReportProcessor rp) throws Exception
Exceptionpublic static PreviewDialog showPreviewDialog(Component c, String title, TableModel m, URL template, URL base) throws Exception
Exceptionpublic static PreviewDialog showPreviewDialog(Component c, String title, TableModel m, URL template, URL base, String[] order, boolean[] asc) throws Exception
Exceptionpublic static PreviewDialog showPreviewDialog(Component c, String title, TableModel m, URL template, URL base, String[] order, boolean[] asc, ReportProcessor rp) throws Exception
Exceptionpublic static PreviewDialog showPreviewDialog(Component c, String title, TableModel m, URL template, URL base, String[] order, boolean[] asc, ReportProcessor rp, PageFormat pf) throws Exception
Exceptionpublic static PreviewDialog getPreviewDialog(Component c, String title, TableModel m, URL template, URL base, ReportProcessor r) throws Exception
Exceptionpublic static PreviewDialog getPreviewDialog(Component c, String title, TableModel m, URL template, URL base) throws Exception
Exceptionpublic static PreviewDialog getPreviewDialog(Component c, String title, TableModel m, URL template, URL base, String[] order, boolean[] asc) throws Exception
Exceptionpublic static PreviewDialog getPreviewDialog(Component c, String title, TableModel m, URL template, URL base, String[] order, boolean[] asc, ReportProcessor r) throws Exception
Exceptionpublic static PreviewDialog getPreviewDialog(Component c, String title, TableModel m, URL template, URL base, String[] order, boolean[] asc, ReportProcessor r, PageFormat pf) throws Exception
ExceptionCopyright © 2016 Imatia Innovation S.L.. All rights reserved.