public class SampleModelViewsImplementation extends Object implements SampleModelViews
SampleModelViews.Listener| Constructor and Description |
|---|
SampleModelViewsImplementation(ConsoleProperties properties,
StatisticsServices statisticsServices,
SampleModel model)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(SampleModelViews.Listener listener)
Add a new listener.
|
StatisticsView |
getCumulativeStatisticsView()
Get the cumulative statistics view for this model.
|
StatisticsView |
getIntervalStatisticsView()
Get the interval statistics view for this model.
|
NumberFormat |
getNumberFormat()
Returns a NumberFormat which corresponds to the user's preference.
|
TestStatisticsQueries |
getTestStatisticsQueries()
Return an object allowing access to common functions of test statistics.
|
void |
registerStatisticExpression(ExpressionView statisticExpression)
Register new statistic expression.
|
void |
resetStatisticsViews()
Reset the views.
|
public SampleModelViewsImplementation(ConsoleProperties properties, StatisticsServices statisticsServices, SampleModel model)
properties - Console properties.statisticsServices - Statistic services.model - Sample model.public void resetStatisticsViews()
resetStatisticsViews in interface SampleModelViewspublic NumberFormat getNumberFormat()
getNumberFormat in interface SampleModelViewspublic void registerStatisticExpression(ExpressionView statisticExpression)
registerStatisticExpression in interface SampleModelViewsstatisticExpression - The expression.public StatisticsView getCumulativeStatisticsView()
getCumulativeStatisticsView in interface SampleModelViewspublic StatisticsView getIntervalStatisticsView()
getIntervalStatisticsView in interface SampleModelViewspublic TestStatisticsQueries getTestStatisticsQueries()
getTestStatisticsQueries in interface SampleModelViewsTestStatisticsQueries.public void addListener(SampleModelViews.Listener listener)
addListener in interface SampleModelViewslistener - The listener.Copyright © 2000-2014. All Rights Reserved.