|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjimm.datavision.DataVision
public class DataVision
This is the DataVision application class. It opens a design window for each report specified on the command line. If none are specified, it openes a new design window on a new, empty report.
| Field Summary | |
|---|---|
(package private) java.lang.String |
charSepFile
|
(package private) java.lang.String |
dbPassword
|
protected static java.lang.String |
DEFAULT_CHARACTER_SEPARATOR
|
(package private) char |
layoutEngineChoice
|
(package private) java.lang.String |
layoutEngineFileName
|
(package private) int |
numReports
|
(package private) java.lang.String |
outputDir
|
(package private) java.lang.String |
paramXMLFile
|
(package private) java.lang.String |
reportDir
|
(package private) char |
sepChar
|
(package private) boolean |
usesGUI
|
| Constructor Summary | |
|---|---|
DataVision()
|
|
| Method Summary | |
|---|---|
(package private) LayoutEngine |
createLayoutEngine(java.io.File f,
Getopts g)
|
protected void |
dataSourceFromOptions(Getopts g)
Use the options related to the data source defined in the report XML file. |
(package private) void |
designReport(Getopts g,
java.io.File reportXMLFile)
|
(package private) char |
getLayoutEngineChoice()
|
(package private) boolean |
hasLayoutEngine()
|
(package private) void |
layoutEngineChoiceFromOptions(Getopts g)
|
static void |
main(java.lang.String[] args)
This main application method opens a design window for each report specified on the command line. |
(package private) void |
runReport(Getopts g,
java.io.File reportXMLFile)
|
(package private) static boolean |
startupDialog()
Shows startup dialog and returns true if we should exit
the application. |
protected void |
swingLayoutEngineClosed()
We arrange this method to be called by a Swing layout engine when it closes. |
java.lang.String |
toString()
|
static void |
usage(java.lang.String errMsg)
Prints a usage message and an optional extra error message to System.err and exits. |
(package private) boolean |
usesGUI()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected static final java.lang.String DEFAULT_CHARACTER_SEPARATOR
char layoutEngineChoice
java.lang.String layoutEngineFileName
java.lang.String dbPassword
java.lang.String paramXMLFile
int numReports
boolean usesGUI
java.lang.String charSepFile
char sepChar
java.lang.String reportDir
java.lang.String outputDir
| Constructor Detail |
|---|
public DataVision()
| Method Detail |
|---|
public static void main(java.lang.String[] args)
args - command line array; each element is assumed to be a report
file name.
void designReport(Getopts g,
java.io.File reportXMLFile)
throws java.io.FileNotFoundException
java.io.FileNotFoundExceptionstatic boolean startupDialog()
true if we should exit
the application.
true if we should exit the application
void runReport(Getopts g,
java.io.File reportXMLFile)
throws java.lang.Exception
java.lang.Exceptionboolean hasLayoutEngine()
char getLayoutEngineChoice()
boolean usesGUI()
void layoutEngineChoiceFromOptions(Getopts g)
LayoutEngine createLayoutEngine(java.io.File f,
Getopts g)
throws java.io.IOException
java.io.IOExceptionprotected void swingLayoutEngineClosed()
protected void dataSourceFromOptions(Getopts g)
public java.lang.String toString()
toString in class java.lang.Objectpublic static void usage(java.lang.String errMsg)
errMsg - string to print; may be null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||