slmetric.dashboard.Container Class
Namespace: slmetric.dashboard
(To be removed) Widget for holding slmetric.dashboard.Widget
and
slmetric.dashboard.CustomWidget
objects in Metrics Dashboard
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
An slmetric.dashboard.Container
object holds
slmetric.dashboard.Widget
and
slmetric.dashboard.CustomWidget
objects. You can use the
slmetric.dashboard.Container
methods to specify the container size and
border.
For example, the following image is from a Metrics Dashboard layout. This portion of the
Metrics Dashboard contains an slmetric.dashboard.Group
widget with the
title Size
. This group contains three
slmetric.dashboard.Container
widgets. The containers on the left and
right each contain one slmetric.dashboard.Widget
object. The middle
container contains two slmetric.dashboard.Widget
objects.
Construction
container = slmetric.dashboard.Container
creates a handle to an
slmetric.dashboard.Container
object.
Properties
Methods
addWidget | (To be removed) Add widget to slmetric.dashboard.Container
object |
getMargin | (To be removed) Obtain distance from container edge to its contents |
getPosition | (To be removed) Obtain container position within Metrics Dashboard |
getSeparators | (To be removed) Determine whether there are lines on sides of Metrics Dashboard container |
getWidgets | (To be removed) Obtain a list of widgets in
slmetric.dashboard.Container object |
getWidths | (To be removed) Obtain widths of Metrics Dashboard container |
removeWidget | (To be removed) Remove widget from slmetric.dashboard.Container
object |
setMargin | (To be removed) Specify distance from container edge to its contents |
setPosition | (To be removed) Set container position within Metrics Dashboard |
setSeparators | (To be removed) Specify lines on Metrics Dashboard container sides |
setWidths | (To be removed) Specify multiple widths for Metrics Dashboard container |