BBjWebManager / BBjBuiManager
Description
In BBj 14.00 and higher, the BBjWebManager/BBjBuiManager object provides an interface to BUI and DWC application runtime settings.
Note:
In BBj 22.03 and higher, BBjWebManager is an alias for BBjBuiManager.
Creation
BBjAPI > BBjBuiManager
BBjAPI > BBjWebManager
The BBjWebManager/BBjBuiManager object is created through the following BBjAPI methods:
Return Value | Method |
---|---|
BBjBuiManager | getBuiManager() |
BBjWebManager | getWebManager() |
Methods of BBjWebManager
Return Value | Method |
---|---|
void |
addClass(string className) |
BBjBuiAppCloseAction | appAction(string app) |
void | clearCallback(int eventType) |
BBjBuiDefaultCloseAction | defaultAction() |
int | executeAsyncScript(string script) |
Object | executeScript(string script) |
string | getApplicationName() |
string |
getAttribute(string attribute) getAttribute(string attribute, string selector) |
BBjBusyIndicator | getBusyIndicator() |
BBjVector |
getClassList(string selector) |
string |
getComputedStyle(string property) getComputedStyle(string property, string selector) |
string | getDarkTheme() |
BBjBuiCloseAction | getEndAction() |
BBjBuiCloseAction | getErrAction() |
string | getLightTheme() |
boolean | getShowConfirmCloseDialog() |
string |
getStyle(string property) |
string | getTheme() |
string | getTitle() |
string | getUrl() |
void |
injectLinkUrl(string url) injectLinkUrl(string url, boolean top) injectLinkUrl(string url, boolean top, String attributes) injectLinkUrl(string url, boolean top, HashMap attributes) |
void |
injectScript(string script) injectScript(string script, boolean top) injectScript(string script, boolean top, String attributes) injectScript(string script, boolean top, HashMap attributes) |
void |
injectScriptUrl(string url) injectScriptUrl(string url, boolean top) injectScriptUrl(string url, boolean top, String attributes) injectScriptUrl(string url, boolean top, HashMap attributes) |
void |
injectStyle(string style) injectStyle(string style, boolean top) injectStyle(string style, boolean top, String attributes) injectStyle(string style, boolean top, HashMap attributes) |
void |
injectStyleUrl(string url) injectStyleUrl(string url, boolean top) injectStyleUrl(string url, boolean top, String attributes) injectStyleUrl(string url, boolean top, HashMap attributes) |
boolean | isTouchSupported() |
BBjBuiMsgCloseAction | msgAction(string msg) |
BBjBuiNoneCloseAction | noneAction() |
void |
removeClass(string className) removeClass(string className, string selector) |
void |
setAttribute(string attribute, string value) setAttribute(string attribute, string value, string selector) |
void | setDarkTheme(string darkTheme) |
void | setLightTheme(string lightTheme) |
void |
setMeta(string name, string content) setMeta(string name, string content, string attributes) |
void |
setCallback(int eventType, CustomObject customObject, string method) setCallback(int eventType, string callback) |
void | setEndAction(BBjBuiCloseAction action) |
void | setErrAction(BBjBuiCloseAction action) |
void | setShowConfirmCloseDialog(boolean showConfirmCloseDialog) |
void | setTheme(string theme) |
void | setTitle(string title) |
void |
setStyle(string property, string value) setStyle(string property, string value, string selector) |
boolean |
toggleClass(string className toggleClass(string className, string selector) |
BBjBuiUrlCloseAction | urlAction(string url) |
Events
Callback Code | Object-Oriented Event | Read Record Event | Code |
---|---|---|---|
ON_BROWSER_BACK | BBjBrowserBackEvent | N/A | N/A |
ON_BROWSER_CLOSE | BBjBrowserCloseEvent | N/A | N/A |
ON_EXECUTE_SCRIPT | BBjExecuteScriptEvent | N/A | N/A |
ON_LINK_FAILED | BBjLinkFailedEvent | N/A | N/A |
ON_LINK_LOADED | BBjLinkLoadedEvent | N/A | N/A |
ON_SCRIPT_FAILED | BBjScriptFailedEvent | N/A | N/A |
ON_SCRIPT_LOADED | BBjScriptLoadedEvent | N/A | N/A |
The BBjBrowserBackEvent is available when the BUI app is configured to manage the browser history.
Version History
Remarks
None.
Constants
None.
Example
|
See Also
BBjConfig::releaseOnLostConnection
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.