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