Interface MetricListener
-
- All Known Implementing Classes:
HeadsUpDisplay
public interface MetricListenerAMetricListeneris interested in receives updates from aMetricControllerthrough 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 voidupdateMetricText(MetricController.Metric metric, java.lang.String text)Informs the implementor that the text associated with the givenMetricController.Metricshould be updated
-
-
-
Method Detail
-
updateMetricText
void updateMetricText(MetricController.Metric metric, java.lang.String text)
Informs the implementor that the text associated with the givenMetricController.Metricshould be updated- Parameters:
metric- The key of theMetricController.Metricto be updatedtext- The revised text
-
-