public class DashboardWindow extends Object
Modifier and Type | Field and Description |
---|---|
static BBjString |
DASHBOARD_EXIT_BUTTON_NAME$
Dashboard exit button name
|
static BBjString |
DASHBOARD_WINDOW_NAME$
Dashboard window name
|
BBjNumber |
ExitMenuButtonWidth
Width of the exit button
|
BBjNumber |
MinHeight
Minimum height of the window
|
BBjNumber |
MinWidth
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
|
void |
setBusyText(BBjString p_busyText$)
Sets the specified text to be displayed when loading widgets into the DashboardCategory
|
void |
setShowBuiBusyOnLoad(BBjNumber p_showBuiBusyOnLoad)
Sets whether to show a BUI BBjBusyIndicator when loading widgets into the DashboardCategory
|
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 BBjNumber MinWidth
public BBjNumber MinHeight
public BBjNumber ExitMenuButtonWidth
public static BBjString DASHBOARD_WINDOW_NAME$
public static BBjString DASHBOARD_EXIT_BUTTON_NAME$
public DashboardWindow(Dashboard p_dashboard!)
p_dashboard!
- Dashboard to display in the dashboard windowpublic void doModal()
public void OnResize(BBjResizeEvent p_event!)
p_event!
- BBjResizeEvent objectpublic void OnResizeTimer(BBjTimerEvent p_event!)
p_event!
- BBjTimerEvent objectpublic void setTitle(BBjString p_title$)
p_title$
- The new title for the dashboard windowpublic BBjString getTitle()
public void setVisible(BBjNumber p_visible)
p_visible
- Indicates the window visibility. 0 = invisible, 1 = visiblepublic void setSize(BBjNumber p_width, BBjNumber p_height)
p_width
- Width of the windowp_height
- Height of the windowpublic void setBackColor(BBjColor p_backColor!)
p_backColor!
- BBjColor that specifes the background colorpublic Dashboard getDashboard()
public BBjControl getBBjControl(BBjString p_controlName$)
p_controlName$
- Unique name of the control to retrievepublic DashboardControl getDashboardControl()
public BBjColor getBackColor()
public void setShowBuiBusyOnLoad(BBjNumber p_showBuiBusyOnLoad)
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.public void setBuiBusyIndicatorText(BBjString p_BuiBusyIndicatorText$)
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".public void setBusyText(BBjString p_busyText$)
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".public void destroy()