Home Segments Index Top Previous Next

846: Mainline

Following the pattern established in Chapter 41, the application is built around an instance of a subclass of the ApplicationModel class. This time, the subclass is called the MeterDemonstration class. That class has two instance variables, meterValueHolder and meterViewHolder:

MeterDemonstration class definition 
ApplicationModel subclass: #MeterDemonstration 
  instanceVariableNames: 'meterValueHolder meterViewHolder' 
  classVariableNames: '' 
  poolDictionaries: '' 
  category: 'Experiment'