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 SampleModelViews
public NumberFormat getNumberFormat()
getNumberFormat
in interface SampleModelViews
public void registerStatisticExpression(ExpressionView statisticExpression)
registerStatisticExpression
in interface SampleModelViews
statisticExpression
- The expression.public StatisticsView getCumulativeStatisticsView()
getCumulativeStatisticsView
in interface SampleModelViews
public StatisticsView getIntervalStatisticsView()
getIntervalStatisticsView
in interface SampleModelViews
public TestStatisticsQueries getTestStatisticsQueries()
getTestStatisticsQueries
in interface SampleModelViews
TestStatisticsQueries
.public void addListener(SampleModelViews.Listener listener)
addListener
in interface SampleModelViews
listener
- The listener.Copyright © 2000-2014. All Rights Reserved.