Class: DimensionPresenter

DimensionPresenter(dimensionCardPresenter)

Presenter for managing dimension labels based on filter context. Handles dynamic label updates for dimension radio buttons based on the current metric selection (e.g., changing "Substances" to "Equipment Models" when viewing equipment/population data).

Constructor

new DimensionPresenter(dimensionCardPresenter)

Create a new DimensionPresenter.
Parameters:
Name Type Description
dimensionCardPresenter DimensionCardPresenter The dimension card presenter to coordinate with.
Source:

Methods

setSustancesLabel(labelText)

Set the label for the substances dimension.
Parameters:
Name Type Description
labelText string The text to use for the substances label.
Source:

updateSubstancesLabel(filterSet)

Update the substances label based on the current filter state.
Parameters:
Name Type Description
filterSet FilterSet Current filter settings.
Source: