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

JRDesign
public JRDesign()
- Default constructor.

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

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

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

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

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.

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

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