public class BBJasperDesigner extends Object
Modifier and Type | Field and Description |
---|---|
BBjString |
Host$ |
BBjString |
Password$ |
BBjNumber |
Port |
BBjNumber |
ReleaseOnClose |
BBjString |
User$ |
Constructor and Description |
---|
BBJasperDesigner()
Constructs a BBJasperDesigner
|
BBJasperDesigner(BBjString p_host$,
BBjNumber p_port,
BBjString p_user$,
BBjString p_password$)
Constructs a BBJasperDesigner using the given host, post, user name and password
|
BBJasperDesigner(BBjString p_user$,
BBjString p_password$)
Constructs a BBJasperDesigner using the given user name and password.
|
Modifier and Type | Method and Description |
---|---|
BBjTopLevelWindow |
getWindow()
Returns the wizard window
|
void |
OnAppClose(BBjCloseEvent p_event!)
Closes the application
|
void |
OnBrowse(BBjToolButtonPushEvent p_event!)
Browse for a report file
|
void |
OnConnectButtonPush(BBjButtonPushEvent p_event!)
Loads databases from selected host
|
void |
OnDesignTreeSelect(BBjTreeNodeSelectedEvent p_event!)
Called when a node in the design tree is selected
|
void |
OnGetFields(BBjToolButtonPushEvent p_event!)
Gets the fields
|
void |
OnPreview(BBjToolButtonPushEvent p_event!)
Previews the report
|
void |
OnQueryModify(BBjEditModifyEvent p_event!)
Called when the SQL query is modified
|
void |
OnReportNameModify(BBjEditModifyEvent p_event!)
Report name modification
|
BBjNumber |
OnSave(BBjToolButtonPushEvent p_event!)
Saves the design
|
void |
OnTableCheckOff(BBjGridCheckOffEvent p_event!)
Called when a check box in the table contents grid is unchecked
|
void |
OnTableCheckOn(BBjGridCheckOnEvent p_event!)
Called when a check box in the table contents grid is checked
|
void |
refreshFields()
Refreshes the fields in the fields grid
|
void |
refreshProcedure()
Refreshes the procedure window
|
void |
run()
Runs the BBJasperDesigner
|
static void |
runDemo()
Run a quick demo of BBJasperDesigner
|
BBjNumber |
validateForm()
Validates the form data
|
public BBjNumber ReleaseOnClose
public BBjString Host$
public BBjNumber Port
public BBjString User$
public BBjString Password$
public BBJasperDesigner()
p_reportFile$
- Jrxml or jasper report filep_connectString$
- JDBC connect stringpublic BBJasperDesigner(BBjString p_user$, BBjString p_password$)
p_user$
- User namep_password$
- Passwordpublic BBJasperDesigner(BBjString p_host$, BBjNumber p_port, BBjString p_user$, BBjString p_password$)
p_host$
- Host name or IP addressp_port
- Port numberp_user$
- User namep_password$
- Passwordpublic void OnConnectButtonPush(BBjButtonPushEvent p_event!)
p_event!
- BBjButtonPushEventpublic static void runDemo()
public void run()
public void OnAppClose(BBjCloseEvent p_event!)
p_event!
- BBjCloseEventpublic void OnReportNameModify(BBjEditModifyEvent p_event!)
p_event!
- BBjEditModifyEventpublic void OnBrowse(BBjToolButtonPushEvent p_event!)
p_event!
- BBjToolButtonPushEventpublic void OnTableCheckOn(BBjGridCheckOnEvent p_event!)
p_event!
- BBjGridCheckOnEventpublic void OnTableCheckOff(BBjGridCheckOffEvent p_event!)
p_event!
- BBjGridCheckOffEventpublic void OnDesignTreeSelect(BBjTreeNodeSelectedEvent p_event!)
p_event!
- BBjTreeNodeSelectedEventpublic void OnQueryModify(BBjEditModifyEvent p_event!)
p_event!
- BBjEditModifyEventpublic BBjNumber OnSave(BBjToolButtonPushEvent p_event!)
p_event!
- BBjToolButtonPushEventpublic void OnPreview(BBjToolButtonPushEvent p_event!)
p_event!
- BBjToolButtonPushEventpublic void OnGetFields(BBjToolButtonPushEvent p_event!)
p_event!
- BBjToolButtonPushEventpublic void refreshFields()
public void refreshProcedure()
public BBjNumber validateForm()
public BBjTopLevelWindow getWindow()