public class DashboardWindow
DashboardWindow UI class that displays a dashboard in a BBjTopLevelWindow
Modifier and Type | Field and Description |
---|---|
static BBjString | DASHBOARD_EXIT_BUTTON_NAME$="dashboardExitButton" Dashboard exit button name |
static BBjString | DASHBOARD_WINDOW_NAME$="dashboardWindow" Dashboard window name |
BBjNumber | ExitMenuButtonWidth=80 Width of the exit button |
BBjNumber | MinHeight=400 Minimum height of the window |
BBjNumber | MinWidth=320 Minimum width of the window |
Constructor and Description |
---|
DashboardWindow(Dashboard p_dashboard!) Constructs a DashboardWindow |
Modifier and Type | Method and Description |
---|---|
void | destroy() Destroys the dashboard window |
void | doModal() Shows the dashboard window modally, returns when the dashboard window is closed |
BBjColor | getBackColor() Returns the background color of the dashboard window |
BBjControl | getBBjControl(BBjString p_controlName$) Returns a dashboard window BBj control |
Dashboard | getDashboard() Returns the encapsualted dashboard |
DashboardControl | getDashboardControl() Returns the encapsualted dashboard control |
BBjString | getTitle() Gets the dashboard window's title |
void | OnResize(BBjResizeEvent p_event!) Called when the window is resized by the user |
void | OnResizeTimer(BBjTimerEvent p_event!) Called when the resize timer is triggered |
void | setBackColor(BBjColor p_backColor!) Sets the window background color |
void | setBuiBusyIndicatorText(BBjString p_BuiBusyIndicatorText$) Sets the specified text to be displayed in the BUI BBjBusyIndicator when loading widgets into the DashboardCategory Note that this is a convenience method on the DashboardWindow to access the DashboardControl's related public field variables. |
void | setBusyText(BBjString p_busyText$) Sets the specified text to be displayed when loading widgets into the DashboardCategory Note that this is a convenience method on the DashboardWindow to access the DashboardControl's setBusyText() method. |
void | setShowBuiBusyOnLoad(BBjNumber p_showBuiBusyOnLoad) Sets whether to show a BUI BBjBusyIndicator when loading widgets into the DashboardCategory Note that this is a convenience method to access the DashboardControl's related public field variables. |
void | setSize(BBjNumber p_width, BBjNumber p_height) Sets the window size |
void | setTitle(BBjString p_title$) Sets the dashboard window's title |
void | setVisible(BBjNumber p_visible) Sets the window visibility |
public static BBjString DASHBOARD_EXIT_BUTTON_NAME$="dashboardExitButton"
Dashboard exit button name
public static BBjString DASHBOARD_WINDOW_NAME$="dashboardWindow"
Dashboard window name
public BBjNumber ExitMenuButtonWidth=80
Width of the exit button
public BBjNumber MinHeight=400
Minimum height of the window
public BBjNumber MinWidth=320
Minimum width of the window
public DashboardWindow(Dashboard p_dashboard!)
Constructs a DashboardWindow
p_dashboard!
Dashboard to display in the dashboard windowpublic void destroy()
Destroys the dashboard window
public void doModal()
Shows the dashboard window modally, returns when the dashboard window is closed
public BBjColor getBackColor()
Returns the background color of the dashboard window
public BBjControl getBBjControl(BBjString p_controlName$)
Returns a dashboard window BBj control
p_controlName$
Unique name of the control to retrievepublic Dashboard getDashboard()
Returns the encapsualted dashboard
public DashboardControl getDashboardControl()
Returns the encapsualted dashboard control
public BBjString getTitle()
Gets the dashboard window's title
BBj 17.11
public void OnResize(BBjResizeEvent p_event!)
Called when the window is resized by the user
p_event!
BBjResizeEvent objectpublic void OnResizeTimer(BBjTimerEvent p_event!)
Called when the resize timer is triggered
p_event!
BBjTimerEvent objectpublic void setBackColor(BBjColor p_backColor!)
Sets the window background color
p_backColor!
BBjColor that specifes the background colorpublic void setBuiBusyIndicatorText(BBjString p_BuiBusyIndicatorText$)
Sets the specified text to be displayed in the BUI BBjBusyIndicator when loading widgets into the DashboardCategory
Note that this is a convenience method on the DashboardWindow to access the DashboardControl's related public field variables.
p_BuiBusyIndicatorText$
A string indicating why the dashboard is busy. The default is "Creating Widgets". BBj 16.20
public void setBusyText(BBjString p_busyText$)
Sets the specified text to be displayed when loading widgets into the DashboardCategory
Note that this is a convenience method on the DashboardWindow to access the DashboardControl's setBusyText() method.
p_busyText$
A string indicating why the dashboard is busy. The default is "Creating Widgets". BBj 17.11
public void setShowBuiBusyOnLoad(BBjNumber p_showBuiBusyOnLoad)
Sets whether to show a BUI BBjBusyIndicator when loading widgets into the DashboardCategory
Note that this is a convenience method to access the DashboardControl's related public field variables.
p_showBuiBusyOnLoad
A number acting as a boolean that determines whether the associated DashboardControl should show the BUI BBjBusyIndicator when loading the widgets. The default is 0. BBj 16.20
public void setSize(BBjNumber p_width, BBjNumber p_height)
Sets the window size
p_width
Width of the windowp_height
Height of the windowpublic void setTitle(BBjString p_title$)
Sets the dashboard window's title
p_title$
The new title for the dashboard window BBj 17.11
public void setVisible(BBjNumber p_visible)
Sets the window visibility
p_visible
Indicates the window visibility. 0=invisible, 1=visible