public class DashboardCategory extends DashboardItem
Modifier and Type | Field and Description |
---|---|
BBjNumber |
ColSpacing
Space in pixels between columns of widgets
|
BBjNumber |
FillErrorAction
Determines how the dashboard should react after encountering an error filling a widget.
|
BBjNumber |
FixedWidgetWidth
The fixed width in pixels in of widgets.
|
BBjNumber |
MaxWidgetWidth
Maximum width in pixels of widgets
|
BBjNumber |
MinWidgetWidth
Minimum width in pixels of widgets
|
static BBjNumber |
ON_FILL_ERROR_IGNORE
A constant to define how the dashboard handles widget fill errors - This value indicates it should ignore the error and proceed as normal (note that all errors are logged to the BBjServices debug log file).
|
static BBjNumber |
ON_FILL_ERROR_STOP
A constant to define how the dashboard handles widget fill errors - This value indicates it should THROW the error which usually results in the program stopping (note that all errors are logged to the BBjServices debug log file).
|
static BBjNumber |
ON_FILL_ERROR_WARN
A constant to define how the dashboard handles widget fill errors - This value indicates it should warn the user then proceed as normal (note that all errors are logged to the BBjServices debug log file.
|
BBjNumber |
RowSpacing
Space in pixels between rows of widgets
|
static BBjNumber |
WIDGET_SIZING_DYNAMIC_SIZE
A constant used with WidgetSizingModel to define dynamic widget sizing
|
static BBjNumber |
WIDGET_SIZING_FIXED_SIZE
A constant used with WidgetSizingModel to define fixed widget sizing
|
BBjNumber |
WidgetSizingModel
Determines how the dashboard will size the widgets in a category.
|
Constructor and Description |
---|
DashboardCategory(BBjString p_name$,
BBjString p_title$)
Constructs a DashboardCategory
|
Modifier and Type | Method and Description |
---|---|
DashboardWidget |
addAreaChartDashboardWidget(BBjString p_name$,
BBjString p_title$,
BBjString p_previewText$,
BBjString p_previewImage$,
BBjString p_chartTitle$,
BBjString p_domainTitle$,
BBjString p_rangeTitle$,
BBjNumber p_orientation,
BBjNumber p_legend)
Creates and returns a area chart dashboard widget
|
DashboardWidget |
addAreaChartDashboardWidget(BBjString p_name$,
BBjString p_title$,
BBjString p_previewText$,
BBjString p_previewImage$,
BBjString p_chartTitle$,
BBjString p_domainTitle$,
BBjString p_rangeTitle$,
BBjNumber p_orientation,
BBjNumber p_legend,
BBjRecordSet p_rs!,
BBjVector p_columns!)
Creates and returns a area chart dashboard widget
|
DashboardWidget |
addAreaChartDashboardWidget(BBjString p_name$,
BBjString p_title$,
BBjString p_previewText$,
BBjString p_previewImage$,
BBjString p_chartTitle$,
BBjString p_domainTitle$,
BBjString p_rangeTitle$,
BBjNumber p_orientation,
BBjNumber p_legend,
BBjString p_connectString$,
BBjString p_sql$)
Creates and returns a area chart dashboard widget
|
DashboardWidget |
addAreaChartDashboardWidget(BBjString p_name$,
BBjString p_title$,
BBjString p_previewText$,
BBjString p_previewImage$,
BBjString p_chartTitle$,
BBjString p_domainTitle$,
BBjString p_rangeTitle$,
BBjNumber p_orientation,
BBjNumber p_legend,
BBjString p_connectString$,
BBjString p_sql$,
BBjString p_mode$)
Creates and returns a area chart dashboard widget
|
DashboardWidget |
addBarChartDashboardWidget(BBjString p_name$,
BBjString p_title$,
BBjString p_previewText$,
BBjString p_previewImage$,
BBjString p_chartTitle$,
BBjString p_domainTitle$,
BBjString p_rangeTitle$,
BBjNumber p_flat,
BBjNumber p_orientation,
BBjNumber p_legend)
Creates and returns a xy chart dashboard widget
|
DashboardWidget |
addBarChartDashboardWidget(BBjString p_name$,
BBjString p_title$,
BBjString p_previewText$,
BBjString p_previewImage$,
BBjString p_chartTitle$,
BBjString p_domainTitle$,
BBjString p_rangeTitle$,
BBjNumber p_flat,
BBjNumber p_orientation,
BBjNumber p_legend,
BBjRecordSet p_rs!,
BBjVector p_columns!)
Creates and returns a xy chart dashboard widget
|
DashboardWidget |
addBarChartDashboardWidget(BBjString p_name$,
BBjString p_title$,
BBjString p_previewText$,
BBjString p_previewImage$,
BBjString p_chartTitle$,
BBjString p_domainTitle$,
BBjString p_rangeTitle$,
BBjNumber p_flat,
BBjNumber p_orientation,
BBjNumber p_legend,
BBjString p_connectString$,
BBjString p_sql$)
Creates and returns a xy chart dashboard widget
|
DashboardWidget |
addBarChartDashboardWidget(BBjString p_name$,
BBjString p_title$,
BBjString p_previewText$,
BBjString p_previewImage$,
BBjString p_chartTitle$,
BBjString p_domainTitle$,
BBjString p_rangeTitle$,
BBjNumber p_flat,
BBjNumber p_orientation,
BBjNumber p_legend,
BBjString p_connectString$,
BBjString p_sql$,
BBjString p_mode$)
Creates and returns a xy chart dashboard widget
|
void |
addDashboardWidget(DashboardWidget p_dashboardWidget!)
Adds a dashboard widget to the end of the dashboard category
|
DashboardWidget |
addDashboardWidget(Widget p_widget!)
Creates an active DashboardWidget based on the provided widget and adds it to the current category
|
DashboardWidget |
addDashboardWidget(Widget p_widget!,
BBjNumber p_active)
Creates an active or inactive DashboardWidget based on the provided widget and adds it to the current category
|
DashboardWidget |
addGridDashboardWidget(BBjString p_name$,
BBjString p_title$,
BBjString p_previewText$,
BBjString p_previewImage$)
Creates and returns a grid dashboard widget
|
DashboardWidget |
addGridDashboardWidget(BBjString p_name$,
BBjString p_title$,
BBjString p_previewText$,
BBjString p_previewImage$,
BBjRecordSet p_rs!,
BBjVector p_columns!)
Creates and returns a grid dashboard widget
|
DashboardWidget |
addGridDashboardWidget(BBjString p_name$,
BBjString p_title$,
BBjString p_previewText$,
BBjString p_previewImage$,
BBjString p_connectString$,
BBjString p_sql$)
Creates and returns a grid dashboard widget
|
DashboardWidget |
addGridDashboardWidget(BBjString p_name$,
BBjString p_title$,
BBjString p_previewText$,
BBjString p_previewImage$,
BBjString p_connectString$,
BBjString p_sql$,
BBjString p_mode$)
Creates and returns a grid dashboard widget
|
DashboardWidget |
addGridDashboardWidget(BBjString p_name$,
BBjString p_title$,
BBjString p_previewText$,
BBjString p_previewImage$,
BBjVector p_colHeaderData!,
BBjVector p_rowData!)
Creates and returns a grid dashboard widget
|
DashboardWidget |
addGridExDashboardWidget(BBjString p_name$,
BBjString p_title$,
BBjString p_previewText$,
BBjString p_previewImage$)
Creates and returns an empty GridEx dashboard widget
|
DashboardWidget |
addGridExDashboardWidget(BBjString p_name$,
BBjString p_title$,
BBjString p_previewText$,
BBjString p_previewImage$,
BBjRecordSet p_rs!,
BBjVector p_columns!)
Creates and returns a GridEx dashboard widget using a BBjRecordSet for the row data and an (optionally null()) BBjVector for the column header data
|
DashboardWidget |
addGridExDashboardWidget(BBjString p_name$,
BBjString p_title$,
BBjString p_previewText$,
BBjString p_previewImage$,
BBjString p_connectString$,
BBjString p_sql$)
Creates and returns a GridEx dashboard widget using a connection string and SQL query
|
DashboardWidget |
addGridExDashboardWidget(BBjString p_name$,
BBjString p_title$,
BBjString p_previewText$,
BBjString p_previewImage$,
BBjString p_connectString$,
BBjString p_sql$,
BBjString p_mode$)
Creates and returns a GridEx dashboard widget using a connection string, SQL query, and mode
|
DashboardWidget |
addGridExDashboardWidget(BBjString p_name$,
BBjString p_title$,
BBjString p_previewText$,
BBjString p_previewImage$,
BBjString p_file$,
BBjString p_template$,
DataRow p_filter!)
Creates and returns a GridEx dashboard widget using the BASIS Components to build a ResultSet based off of a data file, string template, and filter
|
DashboardWidget |
addGridExDashboardWidget(BBjString p_name$,
BBjString p_title$,
BBjString p_previewText$,
BBjString p_previewImage$,
BBjVector p_colHeaderData!,
BBjVector p_rowData!)
Creates and returns a GridEx dashboard widget using BBjVectors for the column header data and row data
|
DashboardWidget |
addGridExDashboardWidget(BBjString p_name$,
BBjString p_title$,
BBjString p_previewText$,
BBjString p_previewImage$,
ResultSet p_resultSet!)
Creates and returns a GridEx dashboard widget based on a BASIS Components ResultSet that contains the data for the widget
|
DashboardWidget |
addHtmlViewDashboardWidget(BBjString p_name$,
BBjString p_title$,
BBjString p_previewText$,
BBjString p_previewImage$)
Creates and returns a html view dashboard widget
|
DashboardWidget |
addHtmlViewDashboardWidget(BBjString p_name$,
BBjString p_title$,
BBjString p_previewText$,
BBjString p_previewImage$,
BBjString p_text$)
Creates and returns a html view dashboard widget
|
DashboardWidget |
addImageDashboardWidget(BBjString p_name$,
BBjString p_title$,
BBjString p_previewText$,
BBjString p_previewImage$)
Creates and returns a image dashboard widget
|
DashboardWidget |
addImageDashboardWidget(BBjString p_name$,
BBjString p_title$,
BBjString p_previewText$,
BBjString p_previewImage$,
BBjString p_imageName$)
Creates and returns a image dashboard widget
|
DashboardWidget |
addImageDashboardWidget(BBjString p_name$,
BBjString p_title$,
BBjString p_previewText$,
BBjString p_previewImage$,
URL p_imageURL!)
Creates and returns a image dashboard widget
|
DashboardWidget |
addJasperViewerDashboardWidget(BBjString p_name$,
BBjString p_title$,
BBjString p_previewText$,
BBjString p_previewImage$,
BBJasperReport p_report!)
Creates and returns a jasper viewer dashboard widget based the provided BBJasperReport
|
DashboardWidget |
addJasperViewerDashboardWidget(BBjString p_name$,
BBjString p_title$,
BBjString p_previewText$,
BBjString p_previewImage$,
BBjString p_reportFile$,
BBjString p_connectString$,
HashMap p_params!)
Creates and returns a jasper viewer dashboard widget with parameters so that the Dashboard Utility can create and fill the report before it displays the widget
|
DashboardWidget |
addLineChartDashboardWidget(BBjString p_name$,
BBjString p_title$,
BBjString p_previewText$,
BBjString p_previewImage$,
BBjString p_chartTitle$,
BBjString p_domainTitle$,
BBjString p_rangeTitle$,
BBjNumber p_flat,
BBjNumber p_orientation,
BBjNumber p_legend)
Creates and returns a line dashboard widget
|
DashboardWidget |
addLineChartDashboardWidget(BBjString p_name$,
BBjString p_title$,
BBjString p_previewText$,
BBjString p_previewImage$,
BBjString p_chartTitle$,
BBjString p_domainTitle$,
BBjString p_rangeTitle$,
BBjNumber p_flat,
BBjNumber p_orientation,
BBjNumber p_legend,
BBjRecordSet p_rs!,
BBjVector p_columns!)
Creates and returns a line dashboard widget
|
DashboardWidget |
addLineChartDashboardWidget(BBjString p_name$,
BBjString p_title$,
BBjString p_previewText$,
BBjString p_previewImage$,
BBjString p_chartTitle$,
BBjString p_domainTitle$,
BBjString p_rangeTitle$,
BBjNumber p_flat,
BBjNumber p_orientation,
BBjNumber p_legend,
BBjString p_connectString$,
BBjString p_sql$)
Creates and returns a line dashboard widget
|
DashboardWidget |
addLineChartDashboardWidget(BBjString p_name$,
BBjString p_title$,
BBjString p_previewText$,
BBjString p_previewImage$,
BBjString p_chartTitle$,
BBjString p_domainTitle$,
BBjString p_rangeTitle$,
BBjNumber p_flat,
BBjNumber p_orientation,
BBjNumber p_legend,
BBjString p_connectString$,
BBjString p_sql$,
BBjString p_mode$)
Creates and returns a line dashboard widget
|
DashboardWidget |
addPieChartDashboardWidget(BBjString p_name$,
BBjString p_title$,
BBjString p_previewText$,
BBjString p_previewImage$,
BBjString p_chartTitle$,
BBjNumber p_flat,
BBjNumber p_legend)
Creates and returns a pie chart dashboard widget with an empty dataset
|
DashboardWidget |
addPieChartDashboardWidget(BBjString p_name$,
BBjString p_title$,
BBjString p_previewText$,
BBjString p_previewImage$,
BBjString p_chartTitle$,
BBjNumber p_flat,
BBjNumber p_legend,
BBjNumber p_numSlices)
Creates and returns a pie chart dashboard widget
|
DashboardWidget |
addPieChartDashboardWidget(BBjString p_name$,
BBjString p_title$,
BBjString p_previewText$,
BBjString p_previewImage$,
BBjString p_chartTitle$,
BBjNumber p_flat,
BBjNumber p_legend,
BBjRecordSet p_rs!,
BBjVector p_columns!)
Creates and returns a pie chart dashboard widget
|
DashboardWidget |
addPieChartDashboardWidget(BBjString p_name$,
BBjString p_title$,
BBjString p_previewText$,
BBjString p_previewImage$,
BBjString p_chartTitle$,
BBjNumber p_flat,
BBjNumber p_legend,
BBjString p_connectString$,
BBjString p_sql$)
Creates and returns a pie chart dashboard widget
|
DashboardWidget |
addPieChartDashboardWidget(BBjString p_name$,
BBjString p_title$,
BBjString p_previewText$,
BBjString p_previewImage$,
BBjString p_chartTitle$,
BBjNumber p_flat,
BBjNumber p_legend,
BBjString p_connectString$,
BBjString p_sql$,
BBjString p_mode$)
Creates and returns a pie chart dashboard widget
|
DashboardWidget |
addRingChartDashboardWidget(BBjString p_name$,
BBjString p_title$,
BBjString p_previewText$,
BBjString p_previewImage$,
BBjString p_chartTitle$,
BBjNumber p_flat,
BBjNumber p_legend)
Creates and returns a ring chart dashboard widget with an empty dataset
|
DashboardWidget |
addRingChartDashboardWidget(BBjString p_name$,
BBjString p_title$,
BBjString p_previewText$,
BBjString p_previewImage$,
BBjString p_chartTitle$,
BBjNumber p_flat,
BBjNumber p_legend,
BBjNumber p_numSlices)
Creates and returns a ring chart dashboard widget
|
DashboardWidget |
addRingChartDashboardWidget(BBjString p_name$,
BBjString p_title$,
BBjString p_previewText$,
BBjString p_previewImage$,
BBjString p_chartTitle$,
BBjNumber p_flat,
BBjNumber p_legend,
BBjRecordSet p_rs!,
BBjVector p_columns!)
Creates and returns a ring chart dashboard widget
|
DashboardWidget |
addRingChartDashboardWidget(BBjString p_name$,
BBjString p_title$,
BBjString p_previewText$,
BBjString p_previewImage$,
BBjString p_chartTitle$,
BBjNumber p_flat,
BBjNumber p_legend,
BBjString p_connectString$,
BBjString p_sql$)
Creates and returns a ring chart dashboard widget
|
DashboardWidget |
addRingChartDashboardWidget(BBjString p_name$,
BBjString p_title$,
BBjString p_previewText$,
BBjString p_previewImage$,
BBjString p_chartTitle$,
BBjNumber p_flat,
BBjNumber p_legend,
BBjString p_connectString$,
BBjString p_sql$,
BBjString p_mode$)
Creates and returns a ring chart dashboard widget
|
DashboardWidget |
addStackedAreaChartDashboardWidget(BBjString p_name$,
BBjString p_title$,
BBjString p_previewText$,
BBjString p_previewImage$,
BBjString p_chartTitle$,
BBjString p_domainTitle$,
BBjString p_rangeTitle$,
BBjNumber p_orientation,
BBjNumber p_legend)
Creates and returns a stacked area chart dashboard widget
|
DashboardWidget |
addStackedAreaChartDashboardWidget(BBjString p_name$,
BBjString p_title$,
BBjString p_previewText$,
BBjString p_previewImage$,
BBjString p_chartTitle$,
BBjString p_domainTitle$,
BBjString p_rangeTitle$,
BBjNumber p_orientation,
BBjNumber p_legend,
BBjRecordSet p_rs!,
BBjVector p_columns!)
Creates and returns a staked area chart dashboard widget
|
DashboardWidget |
addStackedAreaChartDashboardWidget(BBjString p_name$,
BBjString p_title$,
BBjString p_previewText$,
BBjString p_previewImage$,
BBjString p_chartTitle$,
BBjString p_domainTitle$,
BBjString p_rangeTitle$,
BBjNumber p_orientation,
BBjNumber p_legend,
BBjString p_connectString$,
BBjString p_sql$)
Creates and returns a stacked area chart dashboard widget
|
DashboardWidget |
addStackedAreaChartDashboardWidget(BBjString p_name$,
BBjString p_title$,
BBjString p_previewText$,
BBjString p_previewImage$,
BBjString p_chartTitle$,
BBjString p_domainTitle$,
BBjString p_rangeTitle$,
BBjNumber p_orientation,
BBjNumber p_legend,
BBjString p_connectString$,
BBjString p_sql$,
BBjString p_mode$)
Creates and returns a stacked area chart dashboard widget
|
DashboardWidget |
addStackedBarChartDashboardWidget(BBjString p_name$,
BBjString p_title$,
BBjString p_previewText$,
BBjString p_previewImage$,
BBjString p_chartTitle$,
BBjString p_domainTitle$,
BBjString p_rangeTitle$,
BBjNumber p_flat,
BBjNumber p_orientation,
BBjNumber p_legend)
Creates and returns a stacked bar chart dashboard widget
|
DashboardWidget |
addStackedBarChartDashboardWidget(BBjString p_name$,
BBjString p_title$,
BBjString p_previewText$,
BBjString p_previewImage$,
BBjString p_chartTitle$,
BBjString p_domainTitle$,
BBjString p_rangeTitle$,
BBjNumber p_flat,
BBjNumber p_orientation,
BBjNumber p_legend,
BBjRecordSet p_rs!,
BBjVector p_columns!)
Creates and returns a stacked bar chart dashboard widget
|
DashboardWidget |
addStackedBarChartDashboardWidget(BBjString p_name$,
BBjString p_title$,
BBjString p_previewText$,
BBjString p_previewImage$,
BBjString p_chartTitle$,
BBjString p_domainTitle$,
BBjString p_rangeTitle$,
BBjNumber p_flat,
BBjNumber p_orientation,
BBjNumber p_legend,
BBjString p_connectString$,
BBjString p_sql$)
Creates and returns a stacked bar chart dashboard widget
|
DashboardWidget |
addStackedBarChartDashboardWidget(BBjString p_name$,
BBjString p_title$,
BBjString p_previewText$,
BBjString p_previewImage$,
BBjString p_chartTitle$,
BBjString p_domainTitle$,
BBjString p_rangeTitle$,
BBjNumber p_flat,
BBjNumber p_orientation,
BBjNumber p_legend,
BBjString p_connectString$,
BBjString p_sql$,
BBjString p_mode$)
Creates and returns a stacked bar chart dashboard widget
|
DashboardWidget |
addStackedPercentageBarChartDashboardWidget(BBjString p_name$,
BBjString p_title$,
BBjString p_previewText$,
BBjString p_previewImage$,
BBjString p_chartTitle$,
BBjString p_domainTitle$,
BBjString p_rangeTitle$,
BBjNumber p_flat,
BBjNumber p_orientation,
BBjNumber p_legend)
Creates and returns a stacked percentage bar chart dashboard widget
|
DashboardWidget |
addStackedPercentageBarChartDashboardWidget(BBjString p_name$,
BBjString p_title$,
BBjString p_previewText$,
BBjString p_previewImage$,
BBjString p_chartTitle$,
BBjString p_domainTitle$,
BBjString p_rangeTitle$,
BBjNumber p_flat,
BBjNumber p_orientation,
BBjNumber p_legend,
BBjRecordSet p_rs!,
BBjVector p_columns!)
Creates and returns a stacked percentage bar chart dashboard widget
|
DashboardWidget |
addStackedPercentageBarChartDashboardWidget(BBjString p_name$,
BBjString p_title$,
BBjString p_previewText$,
BBjString p_previewImage$,
BBjString p_chartTitle$,
BBjString p_domainTitle$,
BBjString p_rangeTitle$,
BBjNumber p_flat,
BBjNumber p_orientation,
BBjNumber p_legend,
BBjString p_connectString$,
BBjString p_sql$)
Creates and returns a stacked percentage bar chart dashboard widget
|
DashboardWidget |
addStackedPercentageBarChartDashboardWidget(BBjString p_name$,
BBjString p_title$,
BBjString p_previewText$,
BBjString p_previewImage$,
BBjString p_chartTitle$,
BBjString p_domainTitle$,
BBjString p_rangeTitle$,
BBjNumber p_flat,
BBjNumber p_orientation,
BBjNumber p_legend,
BBjString p_connectString$,
BBjString p_sql$,
BBjString p_mode$)
Creates and returns a stacked percentage bar chart dashboard widget
|
DashboardWidget |
addXYChartDashboardWidget(BBjString p_name$,
BBjString p_title$,
BBjString p_previewText$,
BBjString p_previewImage$,
BBjString p_chartTitle$,
BBjString p_domainTitle$,
BBjString p_rangeTitle$,
BBjNumber p_orientation,
BBjNumber p_legend)
Creates and returns a xy chart dashboard widget
|
DashboardWidget |
addXYChartDashboardWidget(BBjString p_name$,
BBjString p_title$,
BBjString p_previewText$,
BBjString p_previewImage$,
BBjString p_chartTitle$,
BBjString p_domainTitle$,
BBjString p_rangeTitle$,
BBjNumber p_orientation,
BBjNumber p_legend,
BBjRecordSet p_rs!,
BBjVector p_columns!)
Creates and returns an xy chart dashboard widget
|
DashboardWidget |
addXYChartDashboardWidget(BBjString p_name$,
BBjString p_title$,
BBjString p_previewText$,
BBjString p_previewImage$,
BBjString p_chartTitle$,
BBjString p_domainTitle$,
BBjString p_rangeTitle$,
BBjNumber p_orientation,
BBjNumber p_legend,
BBjString p_connectString$,
BBjString p_sql$)
Creates and returns an xy chart dashboard widget
|
DashboardWidget |
addXYChartDashboardWidget(BBjString p_name$,
BBjString p_title$,
BBjString p_previewText$,
BBjString p_previewImage$,
BBjString p_chartTitle$,
BBjString p_domainTitle$,
BBjString p_rangeTitle$,
BBjNumber p_orientation,
BBjNumber p_legend,
BBjString p_connectString$,
BBjString p_sql$,
BBjString p_mode$)
Creates and returns an xy chart dashboard widget
|
BBjNumber |
dashboardWidgetExists(BBjString p_widgetName$)
Determines if a dashboard widget exists given its name
|
void |
destroy()
Destroys the dashboard category and destroys all dashboardWidgets contained in the category
|
DashboardWidget |
getDashboardWidget(BBjString p_widgetName$)
Returns a dashboard widget given its name
|
BBjNumber |
getDashboardWidgetPosition(DashboardWidget p_dashboardWidget!)
Returns the position of a dashboard widget
|
BBjVector |
getDashboardWidgets()
Returns the dashboard widgets in a BBjVector
|
BBjNumber |
getDefaultColSpacing()
Returns the default col spacing between widgets
|
BBjNumber |
getDefaultMaxWidgetWidth()
Returns the default maximum widget width
|
BBjNumber |
getDefaultMinWidgetWidth()
Returns the default minimum widget width
|
BBjNumber |
getDefaultRowSpacing()
Returns the default row spacing between widgets
|
BBjNumber |
getNumDashboardWidgets()
Returns the number of dashboard widgets
|
void |
removeDashboardWidget(BBjString p_widgetName$)
Removes a dashboard widget, causing all widgets with a higher position to be shifted down by one
|
void |
repositionDashboardWidget(DashboardWidget p_dashboardWidget!,
BBjNumber p_destPosition)
Repositions a dashboard widget by inserting it at the specified destination position, shifting all remaining widgets one position higher
|
void |
setWidgetBorderColor(BBjColor p_color!)
Sets the border color of the widgets
|
void |
setWidgetBorderSelectedColor(BBjColor p_color!)
Sets the border selected color of the widgets
|
void |
setWidgetTitlebarDecorationBackColor(BBjColor p_color!)
Sets the title bar decoration background color of the widgets
|
void |
setWidgetTitlebarDecorationSelectedBackColor(BBjColor p_color!)
Sets the title bar decoration selected background color of the widgets
|
void |
setWidgetTitlebarNameBackColor(BBjColor p_color!)
Sets the title bar name background color of the widgets
|
void |
setWidgetTitlebarNameFont(BBjString p_fontFile$,
BBjNumber p_style,
BBjNumber p_fontSize)
Sets the title bar font of the widgets
|
void |
setWidgetTitlebarNameFont(Font p_font!)
Sets the title bar font of the widgets
|
void |
setWidgetTitlebarNameForeColor(BBjColor p_color!)
Sets the title bar name foreground color of the widgets
|
void |
setWidgetTitlebarNameSelectedBackColor(BBjColor p_color!)
Sets the title bar name selected background color of the widgets
|
void |
setWidgetTitlebarSeparatorColor(BBjColor p_color!)
Sets the title bar separator background color of the widgets
|
void |
setWidgetTitlebarSeparatorSelectedColor(BBjColor p_color!)
Sets the title bar separator selected background color of the widgets
|
DashboardWidget |
updateDashboardWidget(BBjString p_widgetName$,
Widget p_widget!)
Updates a dashboard widget in the dashboard category
|
getBackColor, getName, getTitle, getUserData, setBackColor, setName, setTitle, setUserData
public BBjNumber MinWidgetWidth
public BBjNumber MaxWidgetWidth
public BBjNumber ColSpacing
public BBjNumber RowSpacing
public BBjNumber FixedWidgetWidth
public BBjNumber WidgetSizingModel
public static BBjNumber WIDGET_SIZING_DYNAMIC_SIZE
public static BBjNumber WIDGET_SIZING_FIXED_SIZE
public BBjNumber FillErrorAction
This numeric field variable defaults to DashboardCategory.getON_FILL_ERROR_IGNORE() (0), meaning that if an error occurs when filling the widget with data the program will silently log the error then continue to run normally. This prevents an entire dashboard application from failing when there is a problem with one widget. The behavior can be set using static field variables like DashboardCategory.getON_FILL_ERROR_IGNORE(), DashboardCategory.getON_FILL_ERROR_WARN(), or DashboardCategory.getON_FILL_ERROR_STOP().
The FillErrorAction can be set programmatically on a Widget, Dashboard Category, or Dashboard object. If you set the FillErrorAction on a Dashboard object, all added DashboardCategories and their Widgets will inherit the setting. If you set the FillErrorAction on a DashboardCategory object, all added Widgets will inherit the setting.
Here is an example showing how to set the behavior in code via a dashboard:
category!.setFillErrorAction(DashboardCategory.getON_FILL_ERROR_WARN())
Note that you may also set the "BASIS_DASHBOARD_UTILITY_FILL_ERROR_ACTION" global string entry
either via code or in a configuration file to control the behavior. If the FillErrorAction is set
via a global string it will override all default and programmatically set values for all widgets.
Here are two examples showing how to set the FillErrorAction via a global string:
1) Setting the global string entry in code, before creating any dashboards or widgets:
temp$ = STBL("BASIS_DASHBOARD_UTILITY_FILL_ERROR_ACTION", "1")
2) Setting the global string entry in the config file, without changing any code:
SET BASIS_DASHBOARD_UTILITY_FILL_ERROR_ACTION = 1
public static BBjNumber ON_FILL_ERROR_IGNORE
public static BBjNumber ON_FILL_ERROR_WARN
public static BBjNumber ON_FILL_ERROR_STOP
public DashboardCategory(BBjString p_name$, BBjString p_title$)
p_name$
- Name of the categoryp_title$
- Title of the categorypublic DashboardWidget addImageDashboardWidget(BBjString p_name$, BBjString p_title$, BBjString p_previewText$, BBjString p_previewImage$)
p_name$
- Unique name of the widgetp_title$
- Title which will display in the title barp_previewText$
- Description of the widget used for previewp_previewImage$
- Location of a image used for preview, if empty then a dynamic image will be createdpublic DashboardWidget addImageDashboardWidget(BBjString p_name$, BBjString p_title$, BBjString p_previewText$, BBjString p_previewImage$, BBjString p_imageName$)
p_name$
- Unique name of the widgetp_title$
- Title which will display in the title barp_previewText$
- Description of the widget used for previewp_previewImage$
- Location of a image used for preview, if empty then a dynamic image will be createdp_imageName$
- Location of a image for the dashboard image widgetpublic DashboardWidget addImageDashboardWidget(BBjString p_name$, BBjString p_title$, BBjString p_previewText$, BBjString p_previewImage$, URL p_imageURL!)
p_name$
- Unique name of the widgetp_title$
- Title which will display in the title barp_previewText$
- Description of the widget used for previewp_previewImage$
- Location of a image used for preview, if empty then a dynamic image will be createdp_imageURL!
- URL of a image for the dashboard image widgetpublic DashboardWidget addHtmlViewDashboardWidget(BBjString p_name$, BBjString p_title$, BBjString p_previewText$, BBjString p_previewImage$)
p_name$
- Unique name of the widgetp_title$
- Title which will display in the title barp_previewText$
- Description of the widget used for previewp_previewImage$
- Location of a image used for preview, if empty then a dynamic image will be createdpublic DashboardWidget addHtmlViewDashboardWidget(BBjString p_name$, BBjString p_title$, BBjString p_previewText$, BBjString p_previewImage$, BBjString p_text$)
p_name$
- Unique name of the widgetp_title$
- Title which will display in the title barp_previewText$
- Description of the widget used for previewp_previewImage$
- Location of a image used for preview, if empty then a dynamic image will be createdp_text$
- HTML that will be displayed in the html view dashboard widgetpublic DashboardWidget addGridDashboardWidget(BBjString p_name$, BBjString p_title$, BBjString p_previewText$, BBjString p_previewImage$)
p_name$
- Unique name of the widgetp_title$
- Title which will display in the title barp_previewText$
- Description of the widget used for previewp_previewImage$
- Location of a image used for preview, if empty then a dynamic image will be createdpublic DashboardWidget addGridDashboardWidget(BBjString p_name$, BBjString p_title$, BBjString p_previewText$, BBjString p_previewImage$, BBjString p_connectString$, BBjString p_sql$)
p_name$
- Unique name of the widgetp_title$
- Title which will display in the title barp_previewText$
- Description of the widget used for previewp_previewImage$
- Location of a image used for preview, if empty then a dynamic image will be createdp_connectString$
- JDBC connect string used to connect to the databasep_sql$
- SQL query used to provide data for the widgetpublic DashboardWidget addGridDashboardWidget(BBjString p_name$, BBjString p_title$, BBjString p_previewText$, BBjString p_previewImage$, BBjString p_connectString$, BBjString p_sql$, BBjString p_mode$)
p_name$
- Unique name of the widgetp_title$
- Title which will display in the title barp_previewText$
- Description of the widget used for previewp_previewImage$
- Location of a image used for preview, if empty then a dynamic image will be createdp_connectString$
- JDBC connect string used to connect to the databasep_sql$
- SQL query used to provide data for the widgetp_mode$
- A string comprised of a list of properties and values separated by commas that will be passed to the database or JDBC connection at connect time. For example: "USER = myusername, PWD = mypass, AUTOCOMMIT = N"
public DashboardWidget addGridDashboardWidget(BBjString p_name$, BBjString p_title$, BBjString p_previewText$, BBjString p_previewImage$, BBjRecordSet p_rs!, BBjVector p_columns!)
p_name$
- Unique name of the widgetp_title$
- Title which will display in the title barp_previewText$
- Description of the widget used for previewp_previewImage$
- Location of a image used for preview, if empty then a dynamic image will be createdp_rs!
- BBjRecordSet which contains data for the dashboard widgetp_columns!
- BBjVector which contains the column names for the data for the dashboard widgetpublic DashboardWidget addGridDashboardWidget(BBjString p_name$, BBjString p_title$, BBjString p_previewText$, BBjString p_previewImage$, BBjVector p_colHeaderData!, BBjVector p_rowData!)
p_name$
- Unique name of the widgetp_title$
- Title which will display in the title barp_previewText$
- Description of the widget used for the preview text in the Customize screen and as the tooltip text on the widget's titlep_previewImage$
- Location of a image used for preview, if empty then a dynamic image will be createdp_colHeaderData!
- BBjVector which contains the column header datap_rowData!
- BBjVector which contains the row datapublic DashboardWidget addGridExDashboardWidget(BBjString p_name$, BBjString p_title$, BBjString p_previewText$, BBjString p_previewImage$)
p_name$
- Unique name of the widgetp_title$
- Title which will display in the title barp_previewText$
- Description of the widget used for previewp_previewImage$
- Location of a image used for preview, if empty then a dynamic image will be createdpublic DashboardWidget addGridExDashboardWidget(BBjString p_name$, BBjString p_title$, BBjString p_previewText$, BBjString p_previewImage$, ResultSet p_resultSet!)
p_name$
- Unique name of the widgetp_title$
- Title which will display in the title barp_previewText$
- Description of the widget used for previewp_previewImage$
- Location of a image used for preview, if empty then a dynamic image will be createdp_resultSet!
- BASIS Components ResultSet that contains the data for the widgetpublic DashboardWidget addGridExDashboardWidget(BBjString p_name$, BBjString p_title$, BBjString p_previewText$, BBjString p_previewImage$, BBjString p_file$, BBjString p_template$, DataRow p_filter!)
p_name$
- Unique name of the widgetp_title$
- Title which will display in the title barp_previewText$
- Description of the widget used for previewp_previewImage$
- Location of a image used for preview, if empty then a dynamic image will be createdp_file$
- The the name of the MKEYED, XKEYED, or VKEYED file that contains the data for the widgetp_template$
- The string template describing the records in the filep_filter!
- The DataRow that acts as a filter when retrieving datapublic DashboardWidget addGridExDashboardWidget(BBjString p_name$, BBjString p_title$, BBjString p_previewText$, BBjString p_previewImage$, BBjString p_connectString$, BBjString p_sql$)
p_name$
- Unique name of the widgetp_title$
- Title which will display in the title barp_previewText$
- Description of the widget used for previewp_previewImage$
- Location of a image used for preview, if empty then a dynamic image will be createdp_connectString$
- JDBC connect string used to connect to the databasep_sql$
- SQL query used to provide data for the widgetpublic DashboardWidget addGridExDashboardWidget(BBjString p_name$, BBjString p_title$, BBjString p_previewText$, BBjString p_previewImage$, BBjString p_connectString$, BBjString p_sql$, BBjString p_mode$)
p_name$
- Unique name of the widgetp_title$
- Title which will display in the title barp_previewText$
- Description of the widget used for previewp_previewImage$
- Location of a image used for preview, if empty then a dynamic image will be createdp_connectString$
- JDBC connect string used to connect to the databasep_sql$
- SQL query used to provide data for the widgetp_mode$
- A string comprised of a list of properties and values separated by commas that will be passed to the database or JDBC connection at connect time. For example: "USER = myusername, PWD = mypass, AUTOCOMMIT = N"
public DashboardWidget addGridExDashboardWidget(BBjString p_name$, BBjString p_title$, BBjString p_previewText$, BBjString p_previewImage$, BBjRecordSet p_rs!, BBjVector p_columns!)
p_name$
- Unique name of the widgetp_title$
- Title which will display in the title barp_previewText$
- Description of the widget used for previewp_previewImage$
- Location of a image used for preview, if empty then a dynamic image will be createdp_rs!
- BBjRecordSet which contains data for the dashboard widgetp_columns!
- BBjVector that contains an ordered list of the columns to be used for the grid's data. The entries may be a string corresponding to a field name, or a 0-based index of the column number. If null() is passed in for the p_columns! vector then all columns of the BBjRecordSet will be used.public DashboardWidget addGridExDashboardWidget(BBjString p_name$, BBjString p_title$, BBjString p_previewText$, BBjString p_previewImage$, BBjVector p_colHeaderData!, BBjVector p_rowData!)
p_name$
- Unique name of the widgetp_title$
- Title which will display in the title barp_previewText$
- Description of the widget used for the preview text in the Customize screen and as the tooltip text on the widget's titlep_previewImage$
- Location of a image used for preview, if empty then a dynamic image will be createdp_colHeaderData!
- BBjVector which contains the column header datap_rowData!
- BBjVector which contains the row datapublic DashboardWidget addLineChartDashboardWidget(BBjString p_name$, BBjString p_title$, BBjString p_previewText$, BBjString p_previewImage$, BBjString p_chartTitle$, BBjString p_domainTitle$, BBjString p_rangeTitle$, BBjNumber p_flat, BBjNumber p_orientation, BBjNumber p_legend, BBjString p_connectString$, BBjString p_sql$)
p_name$
- Unique name of the widgetp_title$
- Title which will display in the title barp_previewText$
- Description of the widget used for the preview text in the Customize screen and as the tooltip text on the widget's titlep_previewImage$
- Location of a image used for preview, if empty then a dynamic image will be createdp_chartTitle$
- Title to be displayed above the chart (may be empty)p_domainTitle$
- Title for the domain axis (may be empty)p_rangeTitle$
- Title for the range axis (may be empty)p_flat
- Indicates whether the chart should be flat. 0 = 3D, 1 = Flatp_orientation
- Indicates whether the chart will be in portrait or landscape orientation. Example: orientation = LineChartWidget.getORIENTATION_VERTICAL()p_legend
- Indicates whether to show a legend for the chart. 0 = Do not show legend, 1 = Show legendp_connectString$
- JDBC connect string used to connect to the databasep_sql$
- SQL query used to provide data for the widgetpublic DashboardWidget addLineChartDashboardWidget(BBjString p_name$, BBjString p_title$, BBjString p_previewText$, BBjString p_previewImage$, BBjString p_chartTitle$, BBjString p_domainTitle$, BBjString p_rangeTitle$, BBjNumber p_flat, BBjNumber p_orientation, BBjNumber p_legend, BBjString p_connectString$, BBjString p_sql$, BBjString p_mode$)
p_name$
- Unique name of the widgetp_title$
- Title which will display in the title barp_previewText$
- Description of the widget used for the preview text in the Customize screen and as the tooltip text on the widget's titlep_previewImage$
- Location of a image used for preview, if empty then a dynamic image will be createdp_chartTitle$
- Title to be displayed above the chart (may be empty)p_domainTitle$
- Title for the domain axis (may be empty)p_rangeTitle$
- Title for the range axis (may be empty)p_flat
- Indicates whether the chart should be flat. 0 = 3D, 1 = Flatp_orientation
- Indicates whether the chart will be in portrait or landscape orientation. Example: orientation = LineChartWidget.getORIENTATION_VERTICAL()p_legend
- Indicates whether to show a legend for the chart. 0 = Do not show legend, 1 = Show legendp_connectString$
- JDBC connect string used to connect to the databasep_sql$
- SQL query used to provide data for the widgetp_mode$
- A string comprised of a list of properties and values separated by commas that will be passed to the database or JDBC connection at connect time. For example: "USER = myusername, PWD = mypass, AUTOCOMMIT = N"
public DashboardWidget addLineChartDashboardWidget(BBjString p_name$, BBjString p_title$, BBjString p_previewText$, BBjString p_previewImage$, BBjString p_chartTitle$, BBjString p_domainTitle$, BBjString p_rangeTitle$, BBjNumber p_flat, BBjNumber p_orientation, BBjNumber p_legend, BBjRecordSet p_rs!, BBjVector p_columns!)
p_name$
- Unique name of the widgetp_title$
- Title which will display in the title barp_previewText$
- Description of the widget used for the preview text in the Customize screen and as the tooltip text on the widget's titlep_previewImage$
- Location of a image used for preview, if empty then a dynamic image will be createdp_chartTitle$
- Title to be displayed above the chart (may be empty)p_domainTitle$
- Title for the domain axis (may be empty)p_rangeTitle$
- Title for the range axis (may be empty)p_flat
- Indicates whether the chart should be flat. 0 = 3D, 1 = Flatp_orientation
- Indicates whether the chart will be in portrait or landscape orientation. Example: orientation = LineChartWidget.getORIENTATION_VERTICAL()p_legend
- Indicates whether to show a legend for the chart. 0 = Do not show legend, 1 = Show legendp_rs!
- BBjRecordSet which contains data for the embedded widgetp_columns!
- BBjVector which contains the column names for the data for the embedded widgetpublic DashboardWidget addLineChartDashboardWidget(BBjString p_name$, BBjString p_title$, BBjString p_previewText$, BBjString p_previewImage$, BBjString p_chartTitle$, BBjString p_domainTitle$, BBjString p_rangeTitle$, BBjNumber p_flat, BBjNumber p_orientation, BBjNumber p_legend)
p_name$
- Unique name of the widgetp_title$
- Title which will display in the title barp_previewText$
- Description of the widget used for the preview text in the Customize screen and as the tooltip text on the widget's titlep_previewImage$
- Location of a image used for preview, if empty then a dynamic image will be createdp_chartTitle$
- Title to be displayed above the chart (may be empty)p_domainTitle$
- Title for the domain axis (may be empty)p_rangeTitle$
- Title for the range axis (may be empty)p_flat
- Indicates whether the chart should be flat. 0 = 3D, 1 = Flatp_orientation
- Indicates whether the chart will be in portrait or landscape orientation. Example: orientation = LineChartWidget.getORIENTATION_VERTICAL()p_legend
- Indicates whether to show a legend for the chart. 0 = Do not show legend, 1 = Show legendpublic DashboardWidget addAreaChartDashboardWidget(BBjString p_name$, BBjString p_title$, BBjString p_previewText$, BBjString p_previewImage$, BBjString p_chartTitle$, BBjString p_domainTitle$, BBjString p_rangeTitle$, BBjNumber p_orientation, BBjNumber p_legend, BBjString p_connectString$, BBjString p_sql$)
p_name$
- Unique name of the widgetp_title$
- Title which will display in the title barp_previewText$
- Description of the widget used for the preview text in the Customize screen and as the tooltip text on the widget's titlep_previewImage$
- Location of a image used for preview, if empty then a dynamic image will be createdp_chartTitle$
- Title to be displayed above the chart (may be empty)p_domainTitle$
- Title for the domain axis (may be empty)p_rangeTitle$
- Title for the range axis (may be empty)p_orientation
- Indicates whether the chart will be in portrait or landscape orientation. Example: orientation = LineChartWidget.getORIENTATION_VERTICAL()p_legend
- Indicates whether to show a legend for the chart. 0 = Do not show legend, 1 = Show legendp_connectString$
- JDBC connect string used to connect to the databasep_sql$
- SQL query used to provide data for the widgetpublic DashboardWidget addAreaChartDashboardWidget(BBjString p_name$, BBjString p_title$, BBjString p_previewText$, BBjString p_previewImage$, BBjString p_chartTitle$, BBjString p_domainTitle$, BBjString p_rangeTitle$, BBjNumber p_orientation, BBjNumber p_legend, BBjString p_connectString$, BBjString p_sql$, BBjString p_mode$)
p_name$
- Unique name of the widgetp_title$
- Title which will display in the title barp_previewText$
- Description of the widget used for the preview text in the Customize screen and as the tooltip text on the widget's titlep_previewImage$
- Location of a image used for preview, if empty then a dynamic image will be createdp_chartTitle$
- Title to be displayed above the chart (may be empty)p_domainTitle$
- Title for the domain axis (may be empty)p_rangeTitle$
- Title for the range axis (may be empty)p_orientation
- Indicates whether the chart will be in portrait or landscape orientation. Example: orientation = LineChartWidget.getORIENTATION_VERTICAL()p_legend
- Indicates whether to show a legend for the chart. 0 = Do not show legend, 1 = Show legendp_connectString$
- JDBC connect string used to connect to the databasep_sql$
- SQL query used to provide data for the widgetp_mode$
- A string comprised of a list of properties and values separated by commas that will be passed to the database or JDBC connection at connect time. For example: "USER = myusername, PWD = mypass, AUTOCOMMIT = N"
public DashboardWidget addAreaChartDashboardWidget(BBjString p_name$, BBjString p_title$, BBjString p_previewText$, BBjString p_previewImage$, BBjString p_chartTitle$, BBjString p_domainTitle$, BBjString p_rangeTitle$, BBjNumber p_orientation, BBjNumber p_legend, BBjRecordSet p_rs!, BBjVector p_columns!)
p_name$
- Unique name of the widgetp_title$
- Title which will display in the title barp_previewText$
- Description of the widget used for the preview text in the Customize screen and as the tooltip text on the widget's titlep_previewImage$
- Location of a image used for preview, if empty then a dynamic image will be createdp_chartTitle$
- Title to be displayed above the chart (may be empty)p_domainTitle$
- Title for the domain axis (may be empty)p_rangeTitle$
- Title for the range axis (may be empty)p_orientation
- Indicates whether the chart will be in portrait or landscape orientation. Example: orientation = LineChartWidget.getORIENTATION_VERTICAL()p_legend
- Indicates whether to show a legend for the chart. 0 = Do not show legend, 1 = Show legendp_rs!
- BBjRecordSet which contains data for the embedded widgetp_columns!
- BBjVector which contains the column names for the data for the embedded widgetpublic DashboardWidget addAreaChartDashboardWidget(BBjString p_name$, BBjString p_title$, BBjString p_previewText$, BBjString p_previewImage$, BBjString p_chartTitle$, BBjString p_domainTitle$, BBjString p_rangeTitle$, BBjNumber p_orientation, BBjNumber p_legend)
p_name$
- Unique name of the widgetp_title$
- Title which will display in the title barp_previewText$
- Description of the widget used for the preview text in the Customize screen and as the tooltip text on the widget's titlep_previewImage$
- Location of a image used for preview, if empty then a dynamic image will be createdp_chartTitle$
- Title to be displayed above the chart (may be empty)p_domainTitle$
- Title for the domain axis (may be empty)p_rangeTitle$
- Title for the range axis (may be empty)p_orientation
- Indicates whether the chart will be in portrait or landscape orientation. Example: orientation = LineChartWidget.getORIENTATION_VERTICAL()p_legend
- Indicates whether to show a legend for the chart. 0 = Do not show legend, 1 = Show legendpublic DashboardWidget addStackedAreaChartDashboardWidget(BBjString p_name$, BBjString p_title$, BBjString p_previewText$, BBjString p_previewImage$, BBjString p_chartTitle$, BBjString p_domainTitle$, BBjString p_rangeTitle$, BBjNumber p_orientation, BBjNumber p_legend, BBjString p_connectString$, BBjString p_sql$)
p_name$
- Unique name of the widgetp_title$
- Title which will display in the title barp_previewText$
- Description of the widget used for the preview text in the Customize screen and as the tooltip text on the widget's title and as the tooltip text on the widget's titlep_previewImage$
- Location of a image used for preview, if empty then a dynamic image will be createdp_chartTitle$
- Title to be displayed above the chart (may be empty)p_domainTitle$
- Title for the domain axis (may be empty)p_rangeTitle$
- Title for the range axis (may be empty)p_orientation
- Indicates whether the chart will be in portrait or landscape orientation. Example: orientation = LineChartWidget.getORIENTATION_VERTICAL()p_legend
- Indicates whether to show a legend for the chart. 0 = Do not show legend, 1 = Show legendp_connectString$
- JDBC connect string used to connect to the databasep_sql$
- SQL query used to provide data for the widgetpublic DashboardWidget addStackedAreaChartDashboardWidget(BBjString p_name$, BBjString p_title$, BBjString p_previewText$, BBjString p_previewImage$, BBjString p_chartTitle$, BBjString p_domainTitle$, BBjString p_rangeTitle$, BBjNumber p_orientation, BBjNumber p_legend, BBjString p_connectString$, BBjString p_sql$, BBjString p_mode$)
p_name$
- Unique name of the widgetp_title$
- Title which will display in the title barp_previewText$
- Description of the widget used for the preview text in the Customize screen and as the tooltip text on the widget's title and as the tooltip text on the widget's titlep_previewImage$
- Location of a image used for preview, if empty then a dynamic image will be createdp_chartTitle$
- Title to be displayed above the chart (may be empty)p_domainTitle$
- Title for the domain axis (may be empty)p_rangeTitle$
- Title for the range axis (may be empty)p_orientation
- Indicates whether the chart will be in portrait or landscape orientation. Example: orientation = LineChartWidget.getORIENTATION_VERTICAL()p_legend
- Indicates whether to show a legend for the chart. 0 = Do not show legend, 1 = Show legendp_connectString$
- JDBC connect string used to connect to the databasep_sql$
- SQL query used to provide data for the widgetp_mode$
- A string comprised of a list of properties and values separated by commas that will be passed to the database or JDBC connection at connect time. For example: "USER = myusername, PWD = mypass, AUTOCOMMIT = N"
public DashboardWidget addStackedAreaChartDashboardWidget(BBjString p_name$, BBjString p_title$, BBjString p_previewText$, BBjString p_previewImage$, BBjString p_chartTitle$, BBjString p_domainTitle$, BBjString p_rangeTitle$, BBjNumber p_orientation, BBjNumber p_legend, BBjRecordSet p_rs!, BBjVector p_columns!)
p_name$
- Unique name of the widgetp_title$
- Title which will display in the title barp_previewText$
- Description of the widget used for the preview text in the Customize screen and as the tooltip text on the widget's titlep_previewImage$
- Location of a image used for preview, if empty then a dynamic image will be createdp_chartTitle$
- Title to be displayed above the chart (may be empty)p_domainTitle$
- Title for the domain axis (may be empty)p_rangeTitle$
- Title for the range axis (may be empty)p_orientation
- Indicates whether the chart will be in portrait or landscape orientation. Example: orientation = LineChartWidget.getORIENTATION_VERTICAL()p_legend
- Indicates whether to show a legend for the chart. 0 = Do not show legend, 1 = Show legendp_rs!
- BBjRecordSet which contains data for the embedded widgetp_columns!
- BBjVector which contains the column names for the data for the embedded widgetpublic DashboardWidget addStackedAreaChartDashboardWidget(BBjString p_name$, BBjString p_title$, BBjString p_previewText$, BBjString p_previewImage$, BBjString p_chartTitle$, BBjString p_domainTitle$, BBjString p_rangeTitle$, BBjNumber p_orientation, BBjNumber p_legend)
p_name$
- Unique name of the widgetp_title$
- Title which will display in the title barp_previewText$
- Description of the widget used for the preview text in the Customize screen and as the tooltip text on the widget's titlep_previewImage$
- Location of a image used for preview, if empty then a dynamic image will be createdp_chartTitle$
- Title to be displayed above the chart (may be empty)p_domainTitle$
- Title for the domain axis (may be empty)p_rangeTitle$
- Title for the range axis (may be empty)p_orientation
- Indicates whether the chart will be in portrait or landscape orientation. Example: orientation = LineChartWidget.getORIENTATION_VERTICAL()p_legend
- Indicates whether to show a legend for the chart. 0 = Do not show legend, 1 = Show legendpublic DashboardWidget addXYChartDashboardWidget(BBjString p_name$, BBjString p_title$, BBjString p_previewText$, BBjString p_previewImage$, BBjString p_chartTitle$, BBjString p_domainTitle$, BBjString p_rangeTitle$, BBjNumber p_orientation, BBjNumber p_legend, BBjString p_connectString$, BBjString p_sql$)
p_name$
- Unique name of the widgetp_title$
- Title which will display in the title barp_previewText$
- Description of the widget used for the preview text in the Customize screen and as the tooltip text on the widget's titlep_previewImage$
- Location of a image used for preview, if empty then a dynamic image will be createdp_chartTitle$
- Title to be displayed above the chart (may be empty)p_domainTitle$
- Title for the domain axis (may be empty)p_rangeTitle$
- Title for the range axis (may be empty)p_orientation
- Indicates whether the chart will be in portrait or landscape orientation. Example: orientation = LineChartWidget.getORIENTATION_VERTICAL()p_legend
- Indicates whether to show a legend for the chart. 0 = Do not show legend, 1 = Show legendp_connectString$
- JDBC connect string used to connect to the databasep_sql$
- SQL query used to provide data for the widgetpublic DashboardWidget addXYChartDashboardWidget(BBjString p_name$, BBjString p_title$, BBjString p_previewText$, BBjString p_previewImage$, BBjString p_chartTitle$, BBjString p_domainTitle$, BBjString p_rangeTitle$, BBjNumber p_orientation, BBjNumber p_legend, BBjString p_connectString$, BBjString p_sql$, BBjString p_mode$)
p_name$
- Unique name of the widgetp_title$
- Title which will display in the title barp_previewText$
- Description of the widget used for the preview text in the Customize screen and as the tooltip text on the widget's titlep_previewImage$
- Location of a image used for preview, if empty then a dynamic image will be createdp_chartTitle$
- Title to be displayed above the chart (may be empty)p_domainTitle$
- Title for the domain axis (may be empty)p_rangeTitle$
- Title for the range axis (may be empty)p_orientation
- Indicates whether the chart will be in portrait or landscape orientation. Example: orientation = LineChartWidget.getORIENTATION_VERTICAL()p_legend
- Indicates whether to show a legend for the chart. 0 = Do not show legend, 1 = Show legendp_connectString$
- JDBC connect string used to connect to the databasep_sql$
- SQL query used to provide data for the widgetp_mode$
- A string comprised of a list of properties and values separated by commas that will be passed to the database or JDBC connection at connect time. For example: "USER = myusername, PWD = mypass, AUTOCOMMIT = N"
public DashboardWidget addXYChartDashboardWidget(BBjString p_name$, BBjString p_title$, BBjString p_previewText$, BBjString p_previewImage$, BBjString p_chartTitle$, BBjString p_domainTitle$, BBjString p_rangeTitle$, BBjNumber p_orientation, BBjNumber p_legend, BBjRecordSet p_rs!, BBjVector p_columns!)
p_name$
- Unique name of the widgetp_title$
- Title which will display in the title barp_previewText$
- Description of the widget used for the preview text in the Customize screen and as the tooltip text on the widget's titlep_previewImage$
- Location of a image used for preview, if empty then a dynamic image will be createdp_chartTitle$
- Title to be displayed above the chart (may be empty)p_domainTitle$
- Title for the domain axis (may be empty)p_rangeTitle$
- Title for the range axis (may be empty)p_orientation
- Indicates whether the chart will be in portrait or landscape orientation. Example: orientation = LineChartWidget.getORIENTATION_VERTICAL()p_legend
- Indicates whether to show a legend for the chart. 0 = Do not show legend, 1 = Show legendp_rs!
- BBjRecordSet which contains data for the embedded widgetp_columns!
- BBjVector which contains the column names for the data for the embedded widgetpublic DashboardWidget addXYChartDashboardWidget(BBjString p_name$, BBjString p_title$, BBjString p_previewText$, BBjString p_previewImage$, BBjString p_chartTitle$, BBjString p_domainTitle$, BBjString p_rangeTitle$, BBjNumber p_orientation, BBjNumber p_legend)
p_name$
- Unique name of the widgetp_title$
- Title which will display in the title barp_previewText$
- Description of the widget used for the preview text in the Customize screen and as the tooltip text on the widget's titlep_previewImage$
- Location of a image used for preview, if empty then a dynamic image will be createdp_chartTitle$
- Title to be displayed above the chart (may be empty)p_domainTitle$
- Title for the domain axis (may be empty)p_rangeTitle$
- Title for the range axis (may be empty)p_orientation
- Indicates whether the chart will be in portrait or landscape orientation. Example: orientation = LineChartWidget.getORIENTATION_VERTICAL()p_legend
- Indicates whether to show a legend for the chart. 0 = Do not show legend, 1 = Show legendpublic DashboardWidget addBarChartDashboardWidget(BBjString p_name$, BBjString p_title$, BBjString p_previewText$, BBjString p_previewImage$, BBjString p_chartTitle$, BBjString p_domainTitle$, BBjString p_rangeTitle$, BBjNumber p_flat, BBjNumber p_orientation, BBjNumber p_legend, BBjString p_connectString$, BBjString p_sql$)
p_name$
- Unique name of the widgetp_title$
- Title which will display in the title barp_previewText$
- Description of the widget used for the preview text in the Customize screen and as the tooltip text on the widget's titlep_previewImage$
- Location of a image used for preview, if empty then a dynamic image will be createdp_chartTitle$
- Title to be displayed above the chart (may be empty)p_domainTitle$
- Title for the domain axis (may be empty)p_rangeTitle$
- Title for the range axis (may be empty)p_flat
- Indicates whether the chart should be flat. 0 = 3D, 1 = Flatp_orientation
- Indicates whether the chart will be in portrait or landscape orientation. Example: orientation = LineChartWidget.getORIENTATION_VERTICAL()p_legend
- Indicates whether to show a legend for the chart. 0 = Do not show legend, 1 = Show legendp_connectString$
- JDBC connect string used to connect to the databasep_sql$
- SQL query used to provide data for the widgetpublic DashboardWidget addBarChartDashboardWidget(BBjString p_name$, BBjString p_title$, BBjString p_previewText$, BBjString p_previewImage$, BBjString p_chartTitle$, BBjString p_domainTitle$, BBjString p_rangeTitle$, BBjNumber p_flat, BBjNumber p_orientation, BBjNumber p_legend, BBjString p_connectString$, BBjString p_sql$, BBjString p_mode$)
p_name$
- Unique name of the widgetp_title$
- Title which will display in the title barp_previewText$
- Description of the widget used for the preview text in the Customize screen and as the tooltip text on the widget's titlep_previewImage$
- Location of a image used for preview, if empty then a dynamic image will be createdp_chartTitle$
- Title to be displayed above the chart (may be empty)p_domainTitle$
- Title for the domain axis (may be empty)p_rangeTitle$
- Title for the range axis (may be empty)p_flat
- Indicates whether the chart should be flat. 0 = 3D, 1 = Flatp_orientation
- Indicates whether the chart will be in portrait or landscape orientation. Example: orientation = LineChartWidget.getORIENTATION_VERTICAL()p_legend
- Indicates whether to show a legend for the chart. 0 = Do not show legend, 1 = Show legendp_connectString$
- JDBC connect string used to connect to the databasep_sql$
- SQL query used to provide data for the widgetp_mode$
- A string comprised of a list of properties and values separated by commas that will be passed to the database or JDBC connection at connect time. For example: "USER = myusername, PWD = mypass, AUTOCOMMIT = N"
public DashboardWidget addBarChartDashboardWidget(BBjString p_name$, BBjString p_title$, BBjString p_previewText$, BBjString p_previewImage$, BBjString p_chartTitle$, BBjString p_domainTitle$, BBjString p_rangeTitle$, BBjNumber p_flat, BBjNumber p_orientation, BBjNumber p_legend, BBjRecordSet p_rs!, BBjVector p_columns!)
p_name$
- Unique name of the widgetp_title$
- Title which will display in the title barp_previewText$
- Description of the widget used for the preview text in the Customize screen and as the tooltip text on the widget's titlep_previewImage$
- Location of a image used for preview, if empty then a dynamic image will be createdp_chartTitle$
- Title to be displayed above the chart (may be empty)p_domainTitle$
- Title for the domain axis (may be empty)p_rangeTitle$
- Title for the range axis (may be empty)p_flat
- Indicates whether the chart should be flat. 0 = 3D, 1 = Flatp_orientation
- Indicates whether the chart will be in portrait or landscape orientation. Example: orientation = LineChartWidget.getORIENTATION_VERTICAL()p_legend
- Indicates whether to show a legend for the chart. 0 = Do not show legend, 1 = Show legendp_rs!
- BBjRecordSet which contains data for the embedded widgetp_columns!
- BBjVector which contains the column names for the data for the embedded widgetpublic DashboardWidget addBarChartDashboardWidget(BBjString p_name$, BBjString p_title$, BBjString p_previewText$, BBjString p_previewImage$, BBjString p_chartTitle$, BBjString p_domainTitle$, BBjString p_rangeTitle$, BBjNumber p_flat, BBjNumber p_orientation, BBjNumber p_legend)
p_name$
- Unique name of the widgetp_title$
- Title which will display in the title barp_previewText$
- Description of the widget used for the preview text in the Customize screen and as the tooltip text on the widget's titlep_previewImage$
- Location of a image used for preview, if empty then a dynamic image will be createdp_chartTitle$
- Title to be displayed above the chart (may be empty)p_domainTitle$
- Title for the domain axis (may be empty)p_rangeTitle$
- Title for the range axis (may be empty)p_flat
- Indicates whether the chart should be flat. 0 = 3D, 1 = Flatp_orientation
- Indicates whether the chart will be in portrait or landscape orientation. Example: orientation = LineChartWidget.getORIENTATION_VERTICAL()p_legend
- Indicates whether to show a legend for the chart. 0 = Do not show legend, 1 = Show legendpublic DashboardWidget addStackedBarChartDashboardWidget(BBjString p_name$, BBjString p_title$, BBjString p_previewText$, BBjString p_previewImage$, BBjString p_chartTitle$, BBjString p_domainTitle$, BBjString p_rangeTitle$, BBjNumber p_flat, BBjNumber p_orientation, BBjNumber p_legend, BBjString p_connectString$, BBjString p_sql$)
p_name$
- Unique name of the widgetp_title$
- Title which will display in the title barp_previewText$
- Description of the widget used for the preview text in the Customize screen and as the tooltip text on the widget's titlep_previewImage$
- Location of a image used for preview, if empty then a dynamic image will be createdp_chartTitle$
- Title to be displayed above the chart (may be empty)p_domainTitle$
- Title for the domain axis (may be empty)p_rangeTitle$
- Title for the range axis (may be empty)p_flat
- Indicates whether the chart should be flat. 0 = 3D, 1 = Flatp_orientation
- Indicates whether the chart will be in portrait or landscape orientation. Example: orientation = LineChartWidget.getORIENTATION_VERTICAL()p_legend
- Indicates whether to show a legend for the chart. 0 = Do not show legend, 1 = Show legendp_connectString$
- JDBC connect string used to connect to the databasep_sql$
- SQL query used to provide data for the widgetpublic DashboardWidget addStackedBarChartDashboardWidget(BBjString p_name$, BBjString p_title$, BBjString p_previewText$, BBjString p_previewImage$, BBjString p_chartTitle$, BBjString p_domainTitle$, BBjString p_rangeTitle$, BBjNumber p_flat, BBjNumber p_orientation, BBjNumber p_legend, BBjString p_connectString$, BBjString p_sql$, BBjString p_mode$)
p_name$
- Unique name of the widgetp_title$
- Title which will display in the title barp_previewText$
- Description of the widget used for the preview text in the Customize screen and as the tooltip text on the widget's titlep_previewImage$
- Location of a image used for preview, if empty then a dynamic image will be createdp_chartTitle$
- Title to be displayed above the chart (may be empty)p_domainTitle$
- Title for the domain axis (may be empty)p_rangeTitle$
- Title for the range axis (may be empty)p_flat
- Indicates whether the chart should be flat. 0 = 3D, 1 = Flatp_orientation
- Indicates whether the chart will be in portrait or landscape orientation. Example: orientation = LineChartWidget.getORIENTATION_VERTICAL()p_legend
- Indicates whether to show a legend for the chart. 0 = Do not show legend, 1 = Show legendp_connectString$
- JDBC connect string used to connect to the databasep_sql$
- SQL query used to provide data for the widgetp_mode$
- A string comprised of a list of properties and values separated by commas that will be passed to the database or JDBC connection at connect time. For example: "USER = myusername, PWD = mypass, AUTOCOMMIT = N"
public DashboardWidget addStackedBarChartDashboardWidget(BBjString p_name$, BBjString p_title$, BBjString p_previewText$, BBjString p_previewImage$, BBjString p_chartTitle$, BBjString p_domainTitle$, BBjString p_rangeTitle$, BBjNumber p_flat, BBjNumber p_orientation, BBjNumber p_legend, BBjRecordSet p_rs!, BBjVector p_columns!)
p_name$
- Unique name of the widgetp_title$
- Title which will display in the title barp_previewText$
- Description of the widget used for the preview text in the Customize screen and as the tooltip text on the widget's titlep_previewImage$
- Location of a image used for preview, if empty then a dynamic image will be createdp_chartTitle$
- Title to be displayed above the chart (may be empty)p_domainTitle$
- Title for the domain axis (may be empty)p_rangeTitle$
- Title for the range axis (may be empty)p_flat
- Indicates whether the chart should be flat. 0 = 3D, 1 = Flatp_orientation
- Indicates whether the chart will be in portrait or landscape orientation. Example: orientation = LineChartWidget.getORIENTATION_VERTICAL()p_legend
- Indicates whether to show a legend for the chart. 0 = Do not show legend, 1 = Show legendp_rs!
- BBjRecordSet which contains data for the embedded widgetp_columns!
- BBjVector which contains the column names for the data for the embedded widgetpublic DashboardWidget addStackedBarChartDashboardWidget(BBjString p_name$, BBjString p_title$, BBjString p_previewText$, BBjString p_previewImage$, BBjString p_chartTitle$, BBjString p_domainTitle$, BBjString p_rangeTitle$, BBjNumber p_flat, BBjNumber p_orientation, BBjNumber p_legend)
p_name$
- Unique name of the widgetp_title$
- Title which will display in the title barp_previewText$
- Description of the widget used for the preview text in the Customize screen and as the tooltip text on the widget's titlep_previewImage$
- Location of a image used for preview, if empty then a dynamic image will be createdp_chartTitle$
- Title to be displayed above the chart (may be empty)p_domainTitle$
- Title for the domain axis (may be empty)p_rangeTitle$
- Title for the range axis (may be empty)p_flat
- Indicates whether the chart should be flat. 0 = 3D, 1 = Flatp_orientation
- Indicates whether the chart will be in portrait or landscape orientation. Example: orientation = LineChartWidget.getORIENTATION_VERTICAL()p_legend
- Indicates whether to show a legend for the chart. 0 = Do not show legend, 1 = Show legendpublic DashboardWidget addStackedPercentageBarChartDashboardWidget(BBjString p_name$, BBjString p_title$, BBjString p_previewText$, BBjString p_previewImage$, BBjString p_chartTitle$, BBjString p_domainTitle$, BBjString p_rangeTitle$, BBjNumber p_flat, BBjNumber p_orientation, BBjNumber p_legend, BBjString p_connectString$, BBjString p_sql$)
p_name$
- Unique name of the widgetp_title$
- Title which will display in the title barp_previewText$
- Description of the widget used for the preview text in the Customize screen and as the tooltip text on the widget's titlep_previewImage$
- Location of a image used for preview, if empty then a dynamic image will be createdp_chartTitle$
- Title to be displayed above the chart (may be empty)p_domainTitle$
- Title for the domain axis (may be empty)p_rangeTitle$
- Title for the range axis (may be empty)p_flat
- Indicates whether the chart should be flat. 0 = 3D, 1 = Flatp_orientation
- Indicates whether the chart will be in portrait or landscape orientation. Example: orientation = LineChartWidget.getORIENTATION_VERTICAL()p_legend
- Indicates whether to show a legend for the chart. 0 = Do not show legend, 1 = Show legendp_connectString$
- JDBC connect string used to connect to the databasep_sql$
- SQL query used to provide data for the widgetpublic DashboardWidget addStackedPercentageBarChartDashboardWidget(BBjString p_name$, BBjString p_title$, BBjString p_previewText$, BBjString p_previewImage$, BBjString p_chartTitle$, BBjString p_domainTitle$, BBjString p_rangeTitle$, BBjNumber p_flat, BBjNumber p_orientation, BBjNumber p_legend, BBjString p_connectString$, BBjString p_sql$, BBjString p_mode$)
p_name$
- Unique name of the widgetp_title$
- Title which will display in the title barp_previewText$
- Description of the widget used for the preview text in the Customize screen and as the tooltip text on the widget's titlep_previewImage$
- Location of a image used for preview, if empty then a dynamic image will be createdp_chartTitle$
- Title to be displayed above the chart (may be empty)p_domainTitle$
- Title for the domain axis (may be empty)p_rangeTitle$
- Title for the range axis (may be empty)p_flat
- Indicates whether the chart should be flat. 0 = 3D, 1 = Flatp_orientation
- Indicates whether the chart will be in portrait or landscape orientation. Example: orientation = LineChartWidget.getORIENTATION_VERTICAL()p_legend
- Indicates whether to show a legend for the chart. 0 = Do not show legend, 1 = Show legendp_connectString$
- JDBC connect string used to connect to the databasep_sql$
- SQL query used to provide data for the widgetp_mode$
- A string comprised of a list of properties and values separated by commas that will be passed to the database or JDBC connection at connect time. For example: "USER = myusername, PWD = mypass, AUTOCOMMIT = N"
public DashboardWidget addStackedPercentageBarChartDashboardWidget(BBjString p_name$, BBjString p_title$, BBjString p_previewText$, BBjString p_previewImage$, BBjString p_chartTitle$, BBjString p_domainTitle$, BBjString p_rangeTitle$, BBjNumber p_flat, BBjNumber p_orientation, BBjNumber p_legend, BBjRecordSet p_rs!, BBjVector p_columns!)
p_name$
- Unique name of the widgetp_title$
- Title which will display in the title barp_previewText$
- Description of the widget used for the preview text in the Customize screen and as the tooltip text on the widget's titlep_previewImage$
- Location of a image used for preview, if empty then a dynamic image will be createdp_chartTitle$
- Title to be displayed above the chart (may be empty)p_domainTitle$
- Title for the domain axis (may be empty)p_rangeTitle$
- Title for the range axis (may be empty)p_flat
- Indicates whether the chart should be flat. 0 = 3D, 1 = Flatp_orientation
- Indicates whether the chart will be in portrait or landscape orientation. Example: orientation = LineChartWidget.getORIENTATION_VERTICAL()p_legend
- Indicates whether to show a legend for the chart. 0 = Do not show legend, 1 = Show legendp_rs!
- BBjRecordSet which contains data for the embedded widgetp_columns!
- BBjVector which contains the column names for the data for the embedded widgetpublic DashboardWidget addStackedPercentageBarChartDashboardWidget(BBjString p_name$, BBjString p_title$, BBjString p_previewText$, BBjString p_previewImage$, BBjString p_chartTitle$, BBjString p_domainTitle$, BBjString p_rangeTitle$, BBjNumber p_flat, BBjNumber p_orientation, BBjNumber p_legend)
p_name$
- Unique name of the widgetp_title$
- Title which will display in the title barp_previewText$
- Description of the widget used for the preview text in the Customize screen and as the tooltip text on the widget's titlep_previewImage$
- Location of a image used for preview, if empty then a dynamic image will be createdp_chartTitle$
- Title to be displayed above the chart (may be empty)p_domainTitle$
- Title for the domain axis (may be empty)p_rangeTitle$
- Title for the range axis (may be empty)p_flat
- Indicates whether the chart should be flat. 0 = 3D, 1 = Flatp_orientation
- Indicates whether the chart will be in portrait or landscape orientation. Example: orientation = LineChartWidget.getORIENTATION_VERTICAL()p_legend
- Indicates whether to show a legend for the chart. 0 = Do not show legend, 1 = Show legendpublic DashboardWidget addPieChartDashboardWidget(BBjString p_name$, BBjString p_title$, BBjString p_previewText$, BBjString p_previewImage$, BBjString p_chartTitle$, BBjNumber p_flat, BBjNumber p_legend, BBjString p_connectString$, BBjString p_sql$)
p_name$
- Unique name of the widgetp_title$
- Title which will display in the title barp_previewText$
- Description of the widget used for the preview text in the Customize screen and as the tooltip text on the widget's titlep_previewImage$
- Location of a image used for preview, if empty then a dynamic image will be createdp_chartTitle$
- Title to be displayed above the chart (may be empty)p_domainTitle$
- Title for the domain axis (may be empty)p_rangeTitle$
- Title for the range axis (may be empty)p_flat
- Indicates whether the chart should be flat. 0 = 3D, 1 = Flatp_orientation
- Indicates whether the chart will be in portrait or landscape orientation. Example: orientation = LineChartWidget.getORIENTATION_VERTICAL()p_legend
- Indicates whether to show a legend for the chart. 0 = Do not show legend, 1 = Show legendp_connectString$
- JDBC connect string used to connect to the databasep_sql$
- SQL query used to provide data for the widgetpublic DashboardWidget addPieChartDashboardWidget(BBjString p_name$, BBjString p_title$, BBjString p_previewText$, BBjString p_previewImage$, BBjString p_chartTitle$, BBjNumber p_flat, BBjNumber p_legend, BBjString p_connectString$, BBjString p_sql$, BBjString p_mode$)
p_name$
- Unique name of the widgetp_title$
- Title which will display in the title barp_previewText$
- Description of the widget used for the preview text in the Customize screen and as the tooltip text on the widget's titlep_previewImage$
- Location of a image used for preview, if empty then a dynamic image will be createdp_chartTitle$
- Title to be displayed above the chart (may be empty)p_domainTitle$
- Title for the domain axis (may be empty)p_rangeTitle$
- Title for the range axis (may be empty)p_flat
- Indicates whether the chart should be flat. 0 = 3D, 1 = Flatp_orientation
- Indicates whether the chart will be in portrait or landscape orientation. Example: orientation = LineChartWidget.getORIENTATION_VERTICAL()p_legend
- Indicates whether to show a legend for the chart. 0 = Do not show legend, 1 = Show legendp_connectString$
- JDBC connect string used to connect to the databasep_sql$
- SQL query used to provide data for the widgetp_mode$
- A string comprised of a list of properties and values separated by commas that will be passed to the database or JDBC connection at connect time. For example: "USER = myusername, PWD = mypass, AUTOCOMMIT = N"
public DashboardWidget addPieChartDashboardWidget(BBjString p_name$, BBjString p_title$, BBjString p_previewText$, BBjString p_previewImage$, BBjString p_chartTitle$, BBjNumber p_flat, BBjNumber p_legend, BBjRecordSet p_rs!, BBjVector p_columns!)
p_name$
- Unique name of the widgetp_title$
- Title which will display in the title barp_previewText$
- Description of the widget used for the preview text in the Customize screen and as the tooltip text on the widget's titlep_previewImage$
- Location of a image used for preview, if empty then a dynamic image will be createdp_chartTitle$
- Title to be displayed above the chart (may be empty)p_domainTitle$
- Title for the domain axis (may be empty)p_rangeTitle$
- Title for the range axis (may be empty)p_flat
- Indicates whether the chart should be flat. 0 = 3D, 1 = Flatp_orientation
- Indicates whether the chart will be in portrait or landscape orientation. Example: orientation = LineChartWidget.getORIENTATION_VERTICAL()p_legend
- Indicates whether to show a legend for the chart. 0 = Do not show legend, 1 = Show legendp_rs!
- BBjRecordSet which contains data for the embedded widgetp_columns!
- BBjVector which contains the column names for the data for the embedded widgetpublic DashboardWidget addPieChartDashboardWidget(BBjString p_name$, BBjString p_title$, BBjString p_previewText$, BBjString p_previewImage$, BBjString p_chartTitle$, BBjNumber p_flat, BBjNumber p_legend, BBjNumber p_numSlices)
p_name$
- Unique name of the widgetp_title$
- Title which will display in the title barp_previewText$
- Description of the widget used for the preview text in the Customize screen and as the tooltip text on the widget's titlep_previewImage$
- Location of a image used for preview, if empty then a dynamic image will be createdp_chartTitle$
- Title to be displayed above the chart (may be empty)p_domainTitle$
- Title for the domain axis (may be empty)p_rangeTitle$
- Title for the range axis (may be empty)p_flat
- Indicates whether the chart should be flat. 0 = 3D, 1 = Flatp_orientation
- Indicates whether the chart will be in portrait or landscape orientation. Example: orientation = LineChartWidget.getORIENTATION_VERTICAL()p_legend
- Indicates whether to show a legend for the chart. 0 = Do not show legend, 1 = Show legendp_numSlices
- Number of slices that will be in the pie chartpublic DashboardWidget addPieChartDashboardWidget(BBjString p_name$, BBjString p_title$, BBjString p_previewText$, BBjString p_previewImage$, BBjString p_chartTitle$, BBjNumber p_flat, BBjNumber p_legend)
p_name$
- Unique name of the widgetp_title$
- Title which will display in the title barp_previewText$
- Description of the widget used for the preview text in the Customize screen and as the tooltip text on the widget's titlep_previewImage$
- Location of a image used for preview, if empty then a dynamic image will be createdp_chartTitle$
- Title to be displayed above the chart (may be empty)p_domainTitle$
- Title for the domain axis (may be empty)p_rangeTitle$
- Title for the range axis (may be empty)p_flat
- Indicates whether the chart should be flat. 0 = 3D, 1 = Flatp_orientation
- Indicates whether the chart will be in portrait or landscape orientation. Example: orientation = LineChartWidget.getORIENTATION_VERTICAL()p_legend
- Indicates whether to show a legend for the chart. 0 = Do not show legend, 1 = Show legendpublic DashboardWidget addRingChartDashboardWidget(BBjString p_name$, BBjString p_title$, BBjString p_previewText$, BBjString p_previewImage$, BBjString p_chartTitle$, BBjNumber p_flat, BBjNumber p_legend, BBjString p_connectString$, BBjString p_sql$)
p_name$
- Unique name of the widgetp_title$
- Title which will display in the title barp_previewText$
- Description of the widget used for the preview text in the Customize screen and as the tooltip text on the widget's titlep_previewImage$
- Location of a image used for preview, if empty then a dynamic image will be createdp_chartTitle$
- Title to be displayed above the chart (may be empty)p_domainTitle$
- Title for the domain axis (may be empty)p_rangeTitle$
- Title for the range axis (may be empty)p_flat
- Indicates whether the chart should be flat. 0 = 3D, 1 = Flatp_orientation
- Indicates whether the chart will be in portrait or landscape orientation. Example: orientation = LineChartWidget.getORIENTATION_VERTICAL()p_legend
- Indicates whether to show a legend for the chart. 0 = Do not show legend, 1 = Show legendp_connectString$
- JDBC connect string used to connect to the databasep_sql$
- SQL query used to provide data for the widgetpublic DashboardWidget addRingChartDashboardWidget(BBjString p_name$, BBjString p_title$, BBjString p_previewText$, BBjString p_previewImage$, BBjString p_chartTitle$, BBjNumber p_flat, BBjNumber p_legend, BBjString p_connectString$, BBjString p_sql$, BBjString p_mode$)
p_name$
- Unique name of the widgetp_title$
- Title which will display in the title barp_previewText$
- Description of the widget used for the preview text in the Customize screen and as the tooltip text on the widget's titlep_previewImage$
- Location of a image used for preview, if empty then a dynamic image will be createdp_chartTitle$
- Title to be displayed above the chart (may be empty)p_domainTitle$
- Title for the domain axis (may be empty)p_rangeTitle$
- Title for the range axis (may be empty)p_flat
- Indicates whether the chart should be flat. 0 = 3D, 1 = Flatp_orientation
- Indicates whether the chart will be in portrait or landscape orientation. Example: orientation = LineChartWidget.getORIENTATION_VERTICAL()p_legend
- Indicates whether to show a legend for the chart. 0 = Do not show legend, 1 = Show legendp_connectString$
- JDBC connect string used to connect to the databasep_sql$
- SQL query used to provide data for the widgetp_mode$
- A string comprised of a list of properties and values separated by commas that will be passed to the database or JDBC connection at connect time. For example: "USER = myusername, PWD = mypass, AUTOCOMMIT = N"
public DashboardWidget addRingChartDashboardWidget(BBjString p_name$, BBjString p_title$, BBjString p_previewText$, BBjString p_previewImage$, BBjString p_chartTitle$, BBjNumber p_flat, BBjNumber p_legend, BBjRecordSet p_rs!, BBjVector p_columns!)
p_name$
- Unique name of the widgetp_title$
- Title which will display in the title barp_previewText$
- Description of the widget used for the preview text in the Customize screen and as the tooltip text on the widget's titlep_previewImage$
- Location of a image used for preview, if empty then a dynamic image will be createdp_chartTitle$
- Title to be displayed above the chart (may be empty)p_domainTitle$
- Title for the domain axis (may be empty)p_rangeTitle$
- Title for the range axis (may be empty)p_flat
- Indicates whether the chart should be flat. 0 = 3D, 1 = Flatp_orientation
- Indicates whether the chart will be in portrait or landscape orientation. Example: orientation = LineChartWidget.getORIENTATION_VERTICAL()p_legend
- Indicates whether to show a legend for the chart. 0 = Do not show legend, 1 = Show legendp_rs!
- BBjRecordSet which contains data for the embedded widgetp_columns!
- BBjVector which contains the column names for the data for the embedded widgetpublic DashboardWidget addRingChartDashboardWidget(BBjString p_name$, BBjString p_title$, BBjString p_previewText$, BBjString p_previewImage$, BBjString p_chartTitle$, BBjNumber p_flat, BBjNumber p_legend, BBjNumber p_numSlices)
p_name$
- Unique name of the widgetp_title$
- Title which will display in the title barp_previewText$
- Description of the widget used for the preview text in the Customize screen and as the tooltip text on the widget's titlep_previewImage$
- Location of a image used for preview, if empty then a dynamic image will be createdp_chartTitle$
- Title to be displayed above the chart (may be empty)p_domainTitle$
- Title for the domain axis (may be empty)p_rangeTitle$
- Title for the range axis (may be empty)p_flat
- Indicates whether the chart should be flat. 0 = 3D, 1 = Flatp_orientation
- Indicates whether the chart will be in portrait or landscape orientation. Example: orientation = LineChartWidget.getORIENTATION_VERTICAL()p_legend
- Indicates whether to show a legend for the chart. 0 = Do not show legend, 1 = Show legendp_numSlices
- Number of slices that will be in the ring chartpublic DashboardWidget addRingChartDashboardWidget(BBjString p_name$, BBjString p_title$, BBjString p_previewText$, BBjString p_previewImage$, BBjString p_chartTitle$, BBjNumber p_flat, BBjNumber p_legend)
p_name$
- Unique name of the widgetp_title$
- Title which will display in the title barp_previewText$
- Description of the widget used for the preview text in the Customize screen and as the tooltip text on the widget's titlep_previewImage$
- Location of a image used for preview, if empty then a dynamic image will be createdp_chartTitle$
- Title to be displayed above the chart (may be empty)p_domainTitle$
- Title for the domain axis (may be empty)p_rangeTitle$
- Title for the range axis (may be empty)p_flat
- Indicates whether the chart should be flat. 0 = 3D, 1 = Flatp_orientation
- Indicates whether the chart will be in portrait or landscape orientation. Example: orientation = LineChartWidget.getORIENTATION_VERTICAL()p_legend
- Indicates whether to show a legend for the chart. 0 = Do not show legend, 1 = Show legendpublic DashboardWidget addJasperViewerDashboardWidget(BBjString p_name$, BBjString p_title$, BBjString p_previewText$, BBjString p_previewImage$, BBJasperReport p_report!)
This method of creating a JasperViewerWidget is less efficient than the version that takes a report file, connection string, and parameter list as your code must create and fill the report before displaying the dashboard. Creating the widget with this method also requires that you register for the refresh callback event and refill the report yourself if you want the report to be updated when the widget is refreshed.
p_name$
- Unique name of the widgetp_title$
- Title which will display in the title barp_previewText$
- Description of the widget used for the preview text in the Customize screen and as the tooltip text on the widget's titlep_previewImage$
- Location of a image used for preview, if empty then a dynamic image will be createdp_report!
- BBJasperReport to show in the jasper viewer widgetpublic DashboardWidget addJasperViewerDashboardWidget(BBjString p_name$, BBjString p_title$, BBjString p_previewText$, BBjString p_previewImage$, BBjString p_reportFile$, BBjString p_connectString$, HashMap p_params!)
This method is more efficient than the version that take a BBJasperReport object as the Dashboard Utility will create and fill the report just before displaying the widget. The other method requires that you create and fill the report before the dashboard is displayed, even if the widget is not on the first tab and will never be displayed. Additionally, creating the widget with this method will refill the report automatically whenever the widget is refreshed. Constructing the widget with the BBJasperReport object requires that you register for the refresh callback event and refill the report yourself if you want the report to be updated when the widget is refreshed.
p_name$
- Unique name of the widgetp_title$
- Title which will display in the title barp_previewText$
- Description of the widget used for the preview text in the Customize screen and as the tooltip text on the widget's titlep_previewImage$
- Location of a image used for preview, if empty then a dynamic image will be createdp_reportFile$
- The path to a jrxml or jasper report filep_connectString$
- JDBC connect string used to connect to the databasep_params!
- A HashMap containing parameters for the report which may be set to null() if the report doesn't require parameterspublic DashboardWidget addDashboardWidget(Widget p_widget!)
p_widget!
- Widget that will be used to create the dashboard widgetpublic DashboardWidget addDashboardWidget(Widget p_widget!, BBjNumber p_active)
p_widget!
- Widget that will be used to create the dashboard widgetp_active
- Indicates if the dashboard widget should be active when added. 0 = inactive, 1 = activepublic void addDashboardWidget(DashboardWidget p_dashboardWidget!)
p_dashboardWidget!
- DashboardWidget to addpublic DashboardWidget getDashboardWidget(BBjString p_widgetName$)
p_widgetName$
- Name of the dashboard wiget to obtainpublic BBjNumber dashboardWidgetExists(BBjString p_widgetName$)
p_widgetName$
- Name of the dashboard wiget to test for existancepublic void removeDashboardWidget(BBjString p_widgetName$)
p_widgetName$
- Name of the dashboard wiget to removepublic DashboardWidget updateDashboardWidget(BBjString p_widgetName$, Widget p_widget!)
p_widgetName$
- Existing name of the dashboard widget to updatep_widget!
- New widgetpublic void repositionDashboardWidget(DashboardWidget p_dashboardWidget!, BBjNumber p_destPosition)
p_dashboardWidget!
- DashboardWidget to respositionp_destPosition
- Destination positionpublic BBjNumber getDashboardWidgetPosition(DashboardWidget p_dashboardWidget!)
p_dashboardWidget!
- DashboardWidget to get the position forpublic BBjNumber getNumDashboardWidgets()
public BBjVector getDashboardWidgets()
public BBjNumber getDefaultMinWidgetWidth()
public BBjNumber getDefaultMaxWidgetWidth()
public BBjNumber getDefaultColSpacing()
public BBjNumber getDefaultRowSpacing()
public void destroy()
public void setWidgetTitlebarNameBackColor(BBjColor p_color!)
p_color!
- BBjColor that specifies the colorpublic void setWidgetTitlebarNameForeColor(BBjColor p_color!)
p_color!
- BBjColor that specifies the colorpublic void setWidgetTitlebarNameFont(Font p_font!)
p_font!
- A Font to be used for the title bar of the widgetspublic void setWidgetTitlebarNameFont(BBjString p_fontFile$, BBjNumber p_style, BBjNumber p_fontSize)
You may specify any font given a fully qualified path, a font name or path that can be found via the current PREFIX setting, or any font located in the
p_fontFile$
- A string that contains the path to the font file.public void setWidgetTitlebarNameSelectedBackColor(BBjColor p_color!)
p_color!
- BBjColor that specifies the colorpublic void setWidgetTitlebarDecorationBackColor(BBjColor p_color!)
p_color!
- BBjColor that specifies the colorpublic void setWidgetTitlebarDecorationSelectedBackColor(BBjColor p_color!)
p_color!
- BBjColor that specifies the colorpublic void setWidgetTitlebarSeparatorColor(BBjColor p_color!)
p_color!
- BBjColor that specifies the colorpublic void setWidgetTitlebarSeparatorSelectedColor(BBjColor p_color!)
p_color!
- BBjColor that specifies the colorpublic void setWidgetBorderColor(BBjColor p_color!)
p_color!
- BBjColor that specifies the colorpublic void setWidgetBorderSelectedColor(BBjColor p_color!)
p_color!
- BBjColor that specifies the color