![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
So far, your meter display presents wired-in data:
the title is Untitled and the pointer is in the middle. The next
step toward a real meter is to define MeterGraphPane
with instance
variables for the minimum and maximum values expected, for a value, and for
a title. The following includes those instance variables, as well as
listing ColorConstants
in the pool-dictionary specification, for
use later, in Segmentmissing reference.
MeterGraphPane class definition
GraphPane subclass: #MeterGraphPane
instanceVariableNames: 'min max value title'
classVariableNames: ''
poolDictionaries: 'ColorConstants'