Interface MetricListener
-
- All Known Implementing Classes:
HeadsUpDisplay
public interface MetricListener
AMetricListener
is interested in receives updates from aMetricController
through the correspondingMetricUpdater
.- Author:
- ENG1 Team 23 (Cohort 3)
- See Also:
MetricController
,MetricUpdater
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
updateMetricText(MetricController.Metric metric, java.lang.String text)
Informs the implementor that the text associated with the givenMetricController.Metric
should be updated
-
-
-
Method Detail
-
updateMetricText
void updateMetricText(MetricController.Metric metric, java.lang.String text)
Informs the implementor that the text associated with the givenMetricController.Metric
should be updated- Parameters:
metric
- The key of theMetricController.Metric
to be updatedtext
- The revised text
-
-