- Deprecated:
- Yes
- See:
Methods
-
<static> forEachWidget(visitor)
-
This function calls a javascript function for each widget of web interface.
Parameters:
Name Type Description visitor
RMPApplication~WidgetVisitor The function applied to widgets - Deprecated:
- Yes
- See:
Example
function visitor(widget) { try { widget.setEnabled(true); } catch(err){ console.log(err); } } RMPWidgets.forEachWidget(visitor); -
<static> getAllWidgets() → {Array.<Object>}
-
This function returns all widgets of web interface.
- Deprecated:
- Yes
- See:
Returns:
- Type
- Array.<Object>
Example
var widgetList = RMPWidgets.getAllWidgets(); for( i=0 ; i< widgetList.length ; i++ ){ widgetList[i].setVisible(true); } -
<static> getAllWidgetsId() → {Array.<String>}
-
This function returns all widgets' ID of web interface.
- Deprecated:
- Yes
- See:
Returns:
- Type
- Array.<String>