getWidths
Class: slmetric.dashboard.Container
Namespace: slmetric.dashboard
(To be removed) Obtain widths of Metrics Dashboard container
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
returns an Widths
= getWidths
(containerName
)slmetric.dashboard.Width
object array consisting of four
enumerations. Use the slmetric.dashboard.Container.setWidths
method to
set the width sizes. You can set between one and four sizes. If you set just one size, the
array contains four of the same enumerations. These are the possible enumeration values:
slmetric.dashboard.Width.ExtraSmall
slmetric.dashboard.Width.Small
slmetric.dashboard.Width.Medium
slmetric.dashboard.Width.Large
slmetric.dashboard.Width.XLarge
slmetric.dashboard.Width.XXLarge
These values correspond to the sizes that a container can have as the screen size changes. If the container has one value, the container always has the same size regardless of the screen size. If the container has four different values, the container size can change four times as you maximize or minimize the screen.