KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > pentaho > plugin > jfreereport > AbstractJFreeReportComponent


1 /*
2  * Copyright 2006 Pentaho Corporation. All rights reserved.
3  * This software was developed by Pentaho Corporation and is provided under the terms
4  * of the Mozilla Public License, Version 1.1, or any later version. You may not use
5  * this file except in compliance with the license. If you need a copy of the license,
6  * please go to http://www.mozilla.org/MPL/MPL-1.1.txt. The Original Code is the Pentaho
7  * BI Platform. The Initial Developer is Pentaho Corporation.
8  *
9  * Software distributed under the Mozilla Public License is distributed on an "AS IS"
10  * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. Please refer to
11  * the license for the specific language governing your rights and limitations.
12 */

13 package org.pentaho.plugin.jfreereport;
14
15 import org.pentaho.plugin.ComponentBase;
16
17 public abstract class AbstractJFreeReportComponent extends ComponentBase {
18
19   /*
20    * These are the inputs and component settings that are known by the various
21    * JFreeReport components.
22    */

23   // Data Component
24
public static final String JavaDoc DATACOMPONENT_SOURCE = "source"; //$NON-NLS-1$
25
public static final String JavaDoc DATACOMPONENT_SQLSOURCE = "sql"; //$NON-NLS-1$
26
public static final String JavaDoc DATACOMPONENT_SQLCLASS = "org.pentaho.plugin.sql.SQLDataComponent"; //$NON-NLS-1$
27
public static final String JavaDoc DATACOMPONENT_MDXSOURCE = "mdx"; //$NON-NLS-1$
28
public static final String JavaDoc DATACOMPONENT_MDXCLASS = "org.pentaho.plugin.mdx.MDXDataComponent"; //$NON-NLS-1$
29
public static final String JavaDoc DATACOMPONENT_DATAINPUT = "data"; //$NON-NLS-1$
30
public static final String JavaDoc DATACOMPONENT_JARINPUT = "report-jar"; //$NON-NLS-1$
31
public static final String JavaDoc DATACOMPONENT_CLASSLOCINPUT = "class-location"; //$NON-NLS-1$
32
// Report Generate Definition Component
33
public static final String JavaDoc REPORTGENERATEDEFN_REPORTSPECINPUT = "report-spec"; //$NON-NLS-1$
34
public static final String JavaDoc REPORTGENERATEDEFN_REPORTDEFN = "report-definition"; //$NON-NLS-1$
35
// Load Component
36
public static final String JavaDoc REPORTLOAD_RESOURCENAME = "resource-name"; //$NON-NLS-1$
37
public static final String JavaDoc REPORTLOAD_REPORTLOC = "report-location"; //$NON-NLS-1$
38
public static final String JavaDoc REPORTLOAD_RESURL = "res-url"; //$NON-NLS-1$
39
public static final String JavaDoc REPORTGENERATE_YIELDRATE = "yield-rate"; //$NON-NLS-1$
40
public static final String JavaDoc REPORTGENERATE_PRIORITYINPUT = "report-priority"; //$NON-NLS-1$
41
public static final String JavaDoc REPORTGENERATE_PRIORITYNORMAL = "normal"; //$NON-NLS-1$
42
public static final String JavaDoc REPORTGENERATE_PRIORITYLOWER = "lower"; //$NON-NLS-1$
43
public static final String JavaDoc REPORTGENERATE_PRIORITYLOWEST = "lowest"; //$NON-NLS-1$
44
// All Content Component
45
public static final String JavaDoc REPORTALLCONTENT_OUTPUTTYPE = "output-type"; //$NON-NLS-1$
46
public static final String JavaDoc REPORTALLCONTENT_OUTPUTTYPE_HTML = "html"; //$NON-NLS-1$
47
public static final String JavaDoc REPORTALLCONTENT_OUTPUTTYPE_PDF = "pdf"; //$NON-NLS-1$
48
public static final String JavaDoc REPORTALLCONTENT_OUTPUTTYPE_CSV = "csv"; //$NON-NLS-1$
49
public static final String JavaDoc REPORTALLCONTENT_OUTPUTTYPE_XML = "xml"; //$NON-NLS-1$
50
public static final String JavaDoc REPORTALLCONTENT_OUTPUTTYPE_RTF = "rtf"; //$NON-NLS-1$
51
public static final String JavaDoc REPORTALLCONTENT_OUTPUTTYPE_XLS = "xls"; //$NON-NLS-1$
52
// Directory Html Component
53
public static final String JavaDoc REPORTDIRECTORYHTML_TARGETFILE = "target-file"; //$NON-NLS-1$
54
public static final String JavaDoc REPORTDIRECTORYHTML_DATADIR = "data-directory"; //$NON-NLS-1$
55
// Report Excel Component
56
public static final String JavaDoc WORKBOOK_PARAM = "workbook"; //$NON-NLS-1$
57
// Report HTML Component
58
public static final String JavaDoc REPORTHTML_CONTENTHANDLER = "content-handler"; //$NON-NLS-1$
59
// Report Preview Swing Component
60
public static final String JavaDoc REPORTSWING_PROGRESSBAR = "progress-bar"; //$NON-NLS-1$
61
public static final String JavaDoc REPORTSWING_PROGRESSDIALOG = "progress-dialog"; //$NON-NLS-1$
62
public static final String JavaDoc REPORTSWING_REPORTCONTROLLER = "report-controler"; //$NON-NLS-1$
63
public static final String JavaDoc REPORTSWING_MODAL = "modal"; //$NON-NLS-1$
64
public static final String JavaDoc REPORTSWING_PARENTDIALOG = "parent-dialog"; //$NON-NLS-1$
65
// Report Parameter Component
66
public static final String JavaDoc REPORTPARAMCOMPONENT_PRIVATEREPORT_OUTPUT = "create_private_report"; //$NON-NLS-1$
67
// Generate Stream Component
68
public static final String JavaDoc REPORTGENERATESTREAM_REPORT_OUTPUT = "report-output"; //$NON-NLS-1$
69

70   /*
71    * These are created by the component for communication to the other
72    * JFreeReport components. These are named such that they can't occur in the
73    * action sequence
74    * (sbarkdull: these must be valid XML element names)
75    */

76   public static final String JavaDoc DATACOMPONENT_REPORTTEMP_OBJINPUT = "_REPORT.OBJECT"; //$NON-NLS-1$
77
public static final String JavaDoc DATACOMPONENT_REPORTTEMP_DATAINPUT = "_REPORT.DATA"; //$NON-NLS-1$
78
public static final String JavaDoc REPORTGENERATEDEFN_REPORTTEMP_PERFQRY = "_PERFORM.QUERY"; //$NON-NLS-1$
79
public static final String JavaDoc REPORTVALIDATECOMPONENT_REPORTTEMP_UI_NEEDED = "_PARAMETER.UI.NEEDED"; //$NON-NLS-1$
80

81 }
82
Popular Tags