![]() |
![]() |
![]() |
![]() |
![]() |
|
The purpose of the meterViewHolder instance variable is to provide a
place for an instance of a subclass of the View class. That
subclass, the Meter subclass, has three variablesmin,
max and titlewhich define the characteristics of
particular meters. The values of those variables are established by
setters:
Meter class definition View subclass: #Meter instanceVariableNames: 'min max title' classVariableNames: '' poolDictionaries: '' category: 'Experiment' Meter method definition instance setMin: aNumber min := aNumber. Meter method definition instance setMax: aNumber max := aNumber. Meter method definition instance setTitle: aString title := aString.