Namespace OWF.Util
Defined in: Widget.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
Provides OWF utility methods for the widget developer
|
| Method Attributes | Method Name and Description |
|---|---|
| <static> |
OWF.Util.cloneDashboard()
Clones dashboard and returns a dashboard cfg object that can be used to create new dashboards.
|
| <static> |
OWF.Util.getFlashApp(id)
This method returns flash/flex dom element from dom.
|
| <static> |
OWF.Util.guid()
Returns a globally unique identifier (guid).
|
| <static> |
OWF.Util.isInContainer()
This method informs a widget developer if their widget is running
in a Container, like OWF
|
| <static> |
OWF.Util.isRunningInOWF()
This method informs a widget developer if their widget is running from the OWF or from a direct URL call.
|
Method Detail
<static>
OWF.Util.cloneDashboard()
Clones dashboard and returns a dashboard cfg object that can be used to create new dashboards.
Defined in: util.js.
Defined in: util.js.
- Returns:
- Object dashboard cfg object that can be used to create new dashboards.
<static>
OWF.Util.getFlashApp(id)
This method returns flash/flex dom element from dom.
- Parameters:
- {String} id
- id of the flex dom element
- Returns:
- flash/flex object from dom
<static>
OWF.Util.guid()
Returns a globally unique identifier (guid).
- Returns:
- boolean true if the widget is inside OWF, false otherwise.
<static>
OWF.Util.isInContainer()
This method informs a widget developer if their widget is running
in a Container, like OWF
- Returns:
- boolean true if the widget is inside a container, false otherwise.
<static>
OWF.Util.isRunningInOWF()
This method informs a widget developer if their widget is running from the OWF or from a direct URL call.
- Returns:
- boolean true if the widget is inside OWF, false otherwise.