BBjWebManager::injectStyleUrl
Description
In BBj 22.03 and higher, this method injects the specified external CSS URL into the web page. External CSS is injected asynchronously; success or failure is reported with BBjLinkLoadedEvent or BBjLinkFailedEvent.
Note:
In BBj 22.03 and higher, BBjWebManager is an alias for BBjBuiManager.
Syntax
Return Value | Method |
---|---|
void |
injectStyleUrl(String url) |
void | injectStyleUrl(String url, boolean top) |
void | injectStyleUrl(String url, boolean top, String attributes) |
void |
injectStyleUrl(String url, boolean top, HashMap attributes) |
Parameters
Parameter | Description |
---|---|
url | A CSS URL to be injected into this web page as a style element. |
top | A boolean value specifying whether this style is to be injected into the top level window of the page. |
attributes | A set of attributes to be added to the style element. Attributes can be specified either as a string in the format "attr=value,attr=value" or as a HashMap containing key/value pairs. |
Return Value
None.
Example
|
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.