public class WidgetWizard
Wizard uses to create widgets and dashboards
| Modifier and Type | Field and Description |
|---|---|
static BBjString | AREA_CHART$ |
static BBjString | BAR_CHART$ |
static BBjString | GRID$ |
static BBjString | HTML_VIEW$ |
static BBjString | IMAGE$ |
static BBjString | JASPER_VIEWER$ |
static BBjString | LINE_CHART$ |
static BBjString | PIE_CHART$ |
static BBjString | RING_CHART$ |
static BBjString | STACKED_AREA_CHART$ |
static BBjString | STACKED_BAR_CHART$ |
static BBjString | STACKED_PERCENTAGE_BAR_CHART$ |
static BBjString | XY_CHART$ |
| Constructor and Description |
|---|
WidgetWizard()Constructor WidgetWizard |
| Modifier and Type | Method and Description |
|---|---|
void | addBuildItemCategory(BBjString p_categoryName$, BBjString p_categoryTitle$) |
void | addBuildItemWidget(BBjString p_widgetCategory$, BBjString p_widgetType$, BBjString p_widgetName$, BBjString p_widgetTitle$, BBjString p_widgetDescription$) |
void | createBuildItem(BBjNumber p_buildItemType)Method createBuildItem: Creates the build item |
void | createBuildItemPreview(BBjChildWindow p_frameChildWindow!)Method getDashboardControl: Creates and returns a dashboard control |
BBjNumber | doFinish()Method doFinish: Finish work |
void | doModal()Runs the widget wizard modally. Control will return when the widget wizard is closed |
BBjString | generateBuildItemProgramCode()Method generateBuildItemProgramCode: Generates and returns BBj program code |
BuildItem | getBuildItem()Method getBuildItem Returns the BuildItem |
BBjVector | getBuildItemCategoryNames() |
BBjVector | getBuildItemCategoryTitles() |
BBjString | getBuildItemEmbeddedCode()Method getBuildItemEmbeddedCode: Returns the BBj program code necessary to embed the build item |
BBjNumber | getBuildItemType()Method getBuildItemType: Returns the build type |
BBjString | getBuildItemWidgetConnectString(BBjString p_widgetCategory$, BBjString p_widgetName$) |
BBjString | getBuildItemWidgetDescription(BBjString p_widgetCategory$, BBjString p_widgetName$) |
BBjNumber | getBuildItemWidgetExists(BBjString p_categoryName$, BBjString p_widgetName$) |
BBjString | getBuildItemWidgetHtmlText(BBjString p_widgetCategory$, BBjString p_widgetName$) |
BBjString | getBuildItemWidgetHtmlUrl(BBjString p_widgetCategory$, BBjString p_widgetName$) |
BBjString | getBuildItemWidgetImageFile(BBjString p_widgetCategory$, BBjString p_widgetName$) |
BBjString | getBuildItemWidgetImageUrl(BBjString p_widgetCategory$, BBjString p_widgetName$) |
BBjVector | getBuildItemWidgetNames(BBjString p_widgetCategory$) |
BBjVector | getBuildItemWidgetRecordsetColumns(BBjString p_widgetCategory$, BBjString p_widgetName$) |
BBjString | getBuildItemWidgetRecordsetFile(BBjString p_widgetCategory$, BBjString p_widgetName$) |
BBjString | getBuildItemWidgetRecordsetTemplate(BBjString p_widgetCategory$, BBjString p_widgetName$) |
BBjString | getBuildItemWidgetReportConnectString(BBjString p_widgetCategory$, BBjString p_widgetName$) |
BBjString | getBuildItemWidgetReportFile(BBjString p_widgetCategory$, BBjString p_widgetName$) |
BBjString | getBuildItemWidgetSeriesConnectString(BBjString p_widgetCategory$, BBjString p_widgetName$, BBjString p_seriesName$) |
BBjVector | getBuildItemWidgetSeriesNames(BBjString p_widgetCategory$, BBjString p_widgetName$) |
BBjVector | getBuildItemWidgetSeriesRecordsetColumns(BBjString p_widgetCategory$, BBjString p_widgetName$, BBjString p_seriesName$) |
BBjString | getBuildItemWidgetSeriesRecordsetFile(BBjString p_widgetCategory$, BBjString p_widgetName$, BBjString p_seriesName$) |
BBjString | getBuildItemWidgetSeriesRecordsetTemplate(BBjString p_widgetCategory$, BBjString p_widgetName$, BBjString p_seriesName$) |
BBjString | getBuildItemWidgetSeriesSQL(BBjString p_widgetCategory$, BBjString p_widgetName$, BBjString p_seriesName$) |
BBjString | getBuildItemWidgetSQL(BBjString p_widgetCategory$, BBjString p_widgetName$) |
BBjVector | getBuildItemWidgetTitles(BBjString p_widgetCategory$) |
BBjNumber | getBuildItemWidgetType(BBjString p_widgetCategory$, BBjString p_widgetName$) |
BBjNumber | getContainer()Method getContainer Returns the container type |
static BBjString | getFormattedName(BBjString p_name!) |
static BBjString | getInitalLowerCaseName(BBjString p_name!) |
BBjString | getSourceFile()Method getSourceFile: Returns the source file |
static BBjString | getWidgetTypeDisplayString(BBjNumber p_widgetType) |
static BBjString | getWidgetTypeString(BBjNumber p_widgetType) |
BBjNumber | isControlContainer()Method isControlContainer: Returns if the container is a control |
BBjNumber | isWidgetBuildType()Method isWidgetBuildType: Returns if the build type is a widget |
BBjNumber | isWidgetDashboardBuildType()Method isWidgetDashboardBuildType: Returns if the build type is a widget dashboard |
BBjNumber | isWidgetSetBuildType()Method isWidgetSetBuildType: Returns if the build type is a widget set |
BBjNumber | isWindowContainer()Method isWindowContainer: Returns if the container is a window |
void | OnBackButton(BBjButtonPushEvent p_event!)Method OnBackButton: Button push event handler for the "Back" button |
void | OnFinishButton(BBjButtonPushEvent p_event!)Method OnFinishButton: Button push event handler for the "Finish" button |
void | OnNextButton(BBjButtonPushEvent p_event!)Method OnNextButton: Button push event handler for the "Next" button |
void | refreshBuildItemWidget(BBjString p_widgetCategory$, BBjString p_widgetName$) |
void | removeBuildItemCategory(BBjString p_categoryName$) |
void | removeBuildItemWidget(BBjString p_widgetCategory$, BBjString p_widgetName$)Removes a widget |
void | removeBuildItemWidgetSeries(BBjString p_widgetCategory$, BBjString p_widgetName$, BBjString p_seriesName$) |
void | selectBuildItemCategory(BBjString p_categoryName$) |
void | selectBuildItemWidget(BBjString p_widgetCategory$, BBjString p_widgetName$) |
void | setBuildItemCallback(BBjString p_event$, CustomObject p_callbackObject!, BBjString p_callbackRoutine$) |
void | setBuildItemName(BBjString p_buildName$) |
void | setBuildItemTitle(BBjString p_buildTitle$) |
void | setBuildItemWidgetHtmlText(BBjString p_widgetCategory$, BBjString p_widgetName$, BBjString p_htmlText$) |
void | setBuildItemWidgetHtmlUrl(BBjString p_widgetCategory$, BBjString p_widgetName$, BBjString p_htmlUrl$) |
void | setBuildItemWidgetImageFile(BBjString p_widgetCategory$, BBjString p_widgetName$, BBjString p_imageFile$) |
void | setBuildItemWidgetImageUrl(BBjString p_widgetCategory$, BBjString p_widgetName$, URL p_imageURL!) |
void | setBuildItemWidgetRecordsetData(BBjString p_widgetCategory$, BBjString p_widgetName$, BBjString p_rsFileName$, BBjString p_rsMode$, BBjString p_rsTemplate$, BBjVector p_rsCols!) |
void | setBuildItemWidgetReportSQLData(BBjString p_widgetCategory$, BBjString p_widgetName$, BBjString p_connectString$, BBjString p_sql$) |
void | setBuildItemWidgetSeriesRecordsetData(BBjString p_widgetCategory$, BBjString p_widgetName$, BBjString p_seriesName$, BBjString p_rsFileName$, BBjString p_rsMode$, BBjString p_rsTemplate$, BBjVector p_rsCols!) |
void | setBuildItemWidgetSeriesSQLData(BBjString p_widgetCategory$, BBjString p_widgetName$, BBjString p_seriesName$, BBjString p_connectString$, BBjString p_sql$) |
void | setBuildItemWidgetSQLData(BBjString p_widgetCategory$, BBjString p_widgetName$, BBjString p_connectString$, BBjString p_sql$) |
void | setContainer(BBjNumber p_container)Method setContainter Sets the build container |
void | setSourceFile(BBjString p_sourceFile$)Method setSourceFile: Sets the source file |
void | setWizardWindowEnabled(BBjNumber p_enabled)Method setWizardWindowEnabled: Sets the Wizard Window enabled or not |
void | skipFrame(BBjNumber p_frame, BBjNumber p_skip)Method skipFrame: Skips a frame param@ p_frame The frame number to skip param@ p_skip Indicates if the frame is to be skipped or not. 0=Do not skip, 1=Skip |
void | updateBuildItemCategory(BBjString p_curCategoryName$, BBjString p_newCategoryName$, BBjString p_newCategoryTitle$) |
void | updateBuildItemWidget(BBjString p_widgetCategory$, BBjString p_widgetType$, BBjString p_widgetName$, BBjString p_widgetTitle$, BBjString p_widgetDescription$) |
public static BBjString AREA_CHART$public static BBjString BAR_CHART$public static BBjString GRID$public static BBjString HTML_VIEW$public static BBjString IMAGE$public static BBjString JASPER_VIEWER$public static BBjString LINE_CHART$public static BBjString PIE_CHART$public static BBjString RING_CHART$public static BBjString STACKED_AREA_CHART$public static BBjString STACKED_BAR_CHART$public static BBjString STACKED_PERCENTAGE_BAR_CHART$public static BBjString XY_CHART$public void addBuildItemCategory(BBjString p_categoryName$, BBjString p_categoryTitle$)
public void addBuildItemWidget(BBjString p_widgetCategory$, BBjString p_widgetType$, BBjString p_widgetName$, BBjString p_widgetTitle$, BBjString p_widgetDescription$)
public void createBuildItem(BBjNumber p_buildItemType)
Method createBuildItem: Creates the build item
p_buildItemType Type of build item to createpublic void createBuildItemPreview(BBjChildWindow p_frameChildWindow!)
Method getDashboardControl: Creates and returns a dashboard control
p_dashboard! Dashboard to create the dashboard control forpublic BBjNumber doFinish()Method doFinish: Finish work
public void doModal()
Runs the widget wizard modally. Control will return when the widget wizard is closed
public BBjString generateBuildItemProgramCode()Method generateBuildItemProgramCode: Generates and returns BBj program code
public BuildItem getBuildItem()Method getBuildItem Returns the BuildItem
public BBjVector getBuildItemCategoryNames()public BBjVector getBuildItemCategoryTitles()public BBjString getBuildItemEmbeddedCode()Method getBuildItemEmbeddedCode: Returns the BBj program code necessary to embed the build item
public BBjNumber getBuildItemType()Method getBuildItemType: Returns the build type
public BBjString getBuildItemWidgetConnectString(BBjString p_widgetCategory$, BBjString p_widgetName$)public BBjString getBuildItemWidgetDescription(BBjString p_widgetCategory$, BBjString p_widgetName$)public BBjNumber getBuildItemWidgetExists(BBjString p_categoryName$, BBjString p_widgetName$)public BBjString getBuildItemWidgetHtmlText(BBjString p_widgetCategory$, BBjString p_widgetName$)public BBjString getBuildItemWidgetHtmlUrl(BBjString p_widgetCategory$, BBjString p_widgetName$)public BBjString getBuildItemWidgetImageFile(BBjString p_widgetCategory$, BBjString p_widgetName$)public BBjString getBuildItemWidgetImageUrl(BBjString p_widgetCategory$, BBjString p_widgetName$)public BBjVector getBuildItemWidgetNames(BBjString p_widgetCategory$)public BBjVector getBuildItemWidgetRecordsetColumns(BBjString p_widgetCategory$, BBjString p_widgetName$)public BBjString getBuildItemWidgetRecordsetFile(BBjString p_widgetCategory$, BBjString p_widgetName$)public BBjString getBuildItemWidgetRecordsetTemplate(BBjString p_widgetCategory$, BBjString p_widgetName$)public BBjString getBuildItemWidgetReportConnectString(BBjString p_widgetCategory$, BBjString p_widgetName$)public BBjString getBuildItemWidgetReportFile(BBjString p_widgetCategory$, BBjString p_widgetName$)public BBjString getBuildItemWidgetSeriesConnectString(BBjString p_widgetCategory$, BBjString p_widgetName$, BBjString p_seriesName$)public BBjVector getBuildItemWidgetSeriesNames(BBjString p_widgetCategory$, BBjString p_widgetName$)public BBjVector getBuildItemWidgetSeriesRecordsetColumns(BBjString p_widgetCategory$, BBjString p_widgetName$, BBjString p_seriesName$)public BBjString getBuildItemWidgetSeriesRecordsetFile(BBjString p_widgetCategory$, BBjString p_widgetName$, BBjString p_seriesName$)public BBjString getBuildItemWidgetSeriesRecordsetTemplate(BBjString p_widgetCategory$, BBjString p_widgetName$, BBjString p_seriesName$)public BBjString getBuildItemWidgetSeriesSQL(BBjString p_widgetCategory$, BBjString p_widgetName$, BBjString p_seriesName$)public BBjString getBuildItemWidgetSQL(BBjString p_widgetCategory$, BBjString p_widgetName$)public BBjVector getBuildItemWidgetTitles(BBjString p_widgetCategory$)public BBjNumber getBuildItemWidgetType(BBjString p_widgetCategory$, BBjString p_widgetName$)public BBjNumber getContainer()Method getContainer Returns the container type
public static BBjString getFormattedName(BBjString p_name!)public static BBjString getInitalLowerCaseName(BBjString p_name!)public BBjString getSourceFile()Method getSourceFile: Returns the source file
public static BBjString getWidgetTypeDisplayString(BBjNumber p_widgetType)public static BBjString getWidgetTypeString(BBjNumber p_widgetType)public BBjNumber isControlContainer()Method isControlContainer: Returns if the container is a control
public BBjNumber isWidgetBuildType()Method isWidgetBuildType: Returns if the build type is a widget
public BBjNumber isWidgetDashboardBuildType()Method isWidgetDashboardBuildType: Returns if the build type is a widget dashboard
public BBjNumber isWidgetSetBuildType()Method isWidgetSetBuildType: Returns if the build type is a widget set
public BBjNumber isWindowContainer()Method isWindowContainer: Returns if the container is a window
public void OnBackButton(BBjButtonPushEvent p_event!)Method OnBackButton: Button push event handler for the "Back" button
BBjButtonPushEvent Button Push Event setWizardControls()public void OnFinishButton(BBjButtonPushEvent p_event!)Method OnFinishButton: Button push event handler for the "Finish" button
BBjButtonPushEvent Button Push Event doFinish()public void OnNextButton(BBjButtonPushEvent p_event!)Method OnNextButton: Button push event handler for the "Next" button
BBjButtonPushEvent Button Push Event setWizardControls()public void refreshBuildItemWidget(BBjString p_widgetCategory$, BBjString p_widgetName$)
public void removeBuildItemCategory(BBjString p_categoryName$)
public void removeBuildItemWidget(BBjString p_widgetCategory$, BBjString p_widgetName$)
Removes a widget
p_categoryName$ Category of widgetp_widgetName$ Name of the widgetpublic void removeBuildItemWidgetSeries(BBjString p_widgetCategory$, BBjString p_widgetName$, BBjString p_seriesName$)
public void selectBuildItemCategory(BBjString p_categoryName$)
public void selectBuildItemWidget(BBjString p_widgetCategory$, BBjString p_widgetName$)
public void setBuildItemCallback(BBjString p_event$, CustomObject p_callbackObject!, BBjString p_callbackRoutine$)
public void setBuildItemName(BBjString p_buildName$)
public void setBuildItemTitle(BBjString p_buildTitle$)
public void setBuildItemWidgetHtmlText(BBjString p_widgetCategory$, BBjString p_widgetName$, BBjString p_htmlText$)
public void setBuildItemWidgetHtmlUrl(BBjString p_widgetCategory$, BBjString p_widgetName$, BBjString p_htmlUrl$)
public void setBuildItemWidgetImageFile(BBjString p_widgetCategory$, BBjString p_widgetName$, BBjString p_imageFile$)
public void setBuildItemWidgetImageUrl(BBjString p_widgetCategory$, BBjString p_widgetName$, URL p_imageURL!)
public void setBuildItemWidgetRecordsetData(BBjString p_widgetCategory$, BBjString p_widgetName$, BBjString p_rsFileName$, BBjString p_rsMode$, BBjString p_rsTemplate$, BBjVector p_rsCols!)
public void setBuildItemWidgetReportSQLData(BBjString p_widgetCategory$, BBjString p_widgetName$, BBjString p_connectString$, BBjString p_sql$)
public void setBuildItemWidgetSeriesRecordsetData(BBjString p_widgetCategory$, BBjString p_widgetName$, BBjString p_seriesName$, BBjString p_rsFileName$, BBjString p_rsMode$, BBjString p_rsTemplate$, BBjVector p_rsCols!)
public void setBuildItemWidgetSeriesSQLData(BBjString p_widgetCategory$, BBjString p_widgetName$, BBjString p_seriesName$, BBjString p_connectString$, BBjString p_sql$)
public void setBuildItemWidgetSQLData(BBjString p_widgetCategory$, BBjString p_widgetName$, BBjString p_connectString$, BBjString p_sql$)
public void setContainer(BBjNumber p_container)
Method setContainter Sets the build container
The container of the build itempublic void setSourceFile(BBjString p_sourceFile$)
Method setSourceFile: Sets the source file
p_sourceFile$ Name of BBj source filepublic void setWizardWindowEnabled(BBjNumber p_enabled)
Method setWizardWindowEnabled: Sets the Wizard Window enabled or not
p_enabled Specify 1 (TRUE) to enabled the Wizard window, otherwise 0 (FALSE)public void skipFrame(BBjNumber p_frame, BBjNumber p_skip)
Method skipFrame: Skips a frame param@ p_frame The frame number to skip param@ p_skip Indicates if the frame is to be skipped or not. 0=Do not skip, 1=Skip
public void updateBuildItemCategory(BBjString p_curCategoryName$, BBjString p_newCategoryName$, BBjString p_newCategoryTitle$)
public void updateBuildItemWidget(BBjString p_widgetCategory$, BBjString p_widgetType$, BBjString p_widgetName$, BBjString p_widgetTitle$, BBjString p_widgetDescription$)