Class jet.bean.JRDesign

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----jet.bean.JRDesign

public class JRDesign
extends Panel
implements externally

Constructor Index

 o JRDesign()
Default constructor.

Method Index

 o getReportHome()
Gets the report home path where the report.ini and other JReport system files reside.
 o getReportName()
Gets the name of report which was loaded in the design bean.
 o getStatus()
Gets the current status of the design bean
 o readExternal(ObjectInput)
กก
 o runReport()
Calling this method  is to launch the design bean.
 o setLoadReport(String)
Loads the report,  calling this method  will make the report engine run.
 o setReportHome(String)
Sets the report home path where the report.ini and other JReport system files reside.
 o setReportName(String)
Specifies the name of report which will be loaded in design bean with the UNC path format.
 o writeExternal(ObjectOutput)
กก

Constructors

 o JRDesign

 public JRDesign()
Default constructor.

Methods

 o getReportHome

 public String getReportHome()
Get the report home path where the report.ini and other JReport system files reside.
Returns:
the report home path where the report.ini and other JReport system files reside.
See Also:
setReportHome

 o setReportHome

 public void setReportHome(String reportHome)
Set the report home path where the report.ini and other JReport system files reside.
Parameters:
reportHome - the home path where the report.ini and other JReport system files reside.
See Also:
getReportHome

 o getReportName

 public String getReportName()
Get the name of report which was loaded in the design bean.
See Also:
setReportName

 o setReportName

 public void setReportName(String reportName)
Specify the name of report which will be loaded in the design bean with the UNC path format.
Parameters:
reportName - the name of the report which will be loaded in. Note: If the user perfers to create a new report or to open a report inside the design bean, he needn't  use this method.
See Also:
getReportName

 o setLoadReport

 public void setLoadReport(String loadReport)
Load the report, calling this method  will make the report engine run.
Parameters:
loadReport - indicates whether to load the report, if yes, then load.

 o getStatus

 public String getStatus()
Get the current status of the design bean"
Returns:
a string, it could be: "Ok","No Report Load",etc.

 o runReport

 public void runReport()
Calling this method  is to launch the design bean.