01: //** Copyright Statement ***************************************************
02: //The Salmon Open Framework for Internet Applications (SOFIA)
03: // Copyright (C) 1999 - 2003, Salmon LLC
04: //
05: // This program is free software; you can redistribute it and/or
06: // modify it under the terms of the GNU General Public License version 2
07: // as published by the Free Software Foundation;
08: //
09: // This program is distributed in the hope that it will be useful,
10: // but WITHOUT ANY WARRANTY; without even the implied warranty of
11: // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12: // GNU General Public License for more details.
13: //
14: // You should have received a copy of the GNU General Public License
15: // along with this program; if not, write to the Free Software
16: // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17: //
18: // For more information please visit http://www.salmonllc.com
19: //** End Copyright Statement ***************************************************
20:
21: package com.salmonllc.jasperReports;
22:
23: /**
24: * Constants for the various option parameters that can be used to configure the viewer
25: */
26: public interface ReportParameterConstants {
27: // The class name of the SOFIA Remote DataStore to use to get the data for this report
28: public static String MODEL_CLASS = "modelClass";
29:
30: // The selection criteria used to initially filter the report data
31: public static String SELECTION_CRITERIA = "selectionCriteria";
32:
33: //The URL of the compiled Jasper Report object (*.jasper)
34: public static String REPORT_URL = "reportURL";
35:
36: //The session id of the web application
37: public static String SESSION_ID = "servletSessionID";
38:
39: // The Code Base for the web server launching the applet (used for application only)
40: public static String SERVER_URL = "servlerURL";
41:
42: // This is used for applets when running in the IDE, because the codeBase property is not set properly
43: public static String CODE_BASE = "codeBase";
44:
45: // The width of the application
46: public static String WIDTH = "width";
47:
48: // The height of the application
49: public static String HEIGHT = "height";
50:
51: // The x position of the application on the screen (leave out to center)
52: public static String X = "x";
53:
54: // The y position of the application on the screen (leave out to center)
55: public static String Y = "y";
56:
57: // The server directory containing the images for the viewer buttons relative to the web application name of the web app that launched it.
58: public static String IMAGE_BASE_URL = "ImageBaseURL";
59: }
|