slmetric.dashboard.Widget Class
Namespace: slmetric.dashboard
(To be removed) Object for holding Actual/Potential Reuse, System Interface, or System Info widgets
The Metrics Dashboard user interface, metricdashboard
function, slmetric
package API, and corresponding customizations will be removed in a future release. For more information, see Migrating from Metrics Dashboard to Model Maintainability Dashboard.
Description
You can add, remove, or modify slmetric.dashboard.Widget
objects in the
Metrics Dashboard. The types of slmetric.dashboard.Widget
objects are
Actual Reuse/Potential Reuse, System Interface, or
System Info widgets.
Construction
For slmetric.dashboard.Layout
,
slmetric.dashboard.Container
, or
slmetric.dashboard.Group
objects, use the addWidget
or
removeWidget
methods to add or remove
slmetric.dashboard.Widget
objects from the Metrics Dashboard.
The Metrics Dashboard layout is divided into 12 columns of equal size. Use the
slmetric.dashboard.Widget
methods to specify widget size.
Properties
Methods
getHeight | (To be removed) Obtain height of Metrics Dashboard widget |
getMetricIDs | (To be removed) Obtain metric identifier for Metrics Dashboard widget |
getPosition | (To be removed) Obtain widget position within Metrics Dashboard |
getSeparators | (To be removed) Determine whether there are lines on sides of Metrics Dashboard widget |
getWidths | (To be removed) Obtain widths of Metrics Dashboard widget |
setHeight | (To be removed) Specify height of Metrics Dashboard widget |
setPosition | (To be removed) Set widget position within Metrics Dashboard |
setSeparators | (To be removed) Specify lines on Metrics Dashboard widget sides |
setWidths | (To be removed) Specify multiple widths for Metrics Dashboard widget |