Count that allows them to create a count that asks for a value to reset to.
Students learn how Models and Views communicate, and how to use dialogs without extensive UI creation.
This project was a Lab #2 during the Winter'96 offering of 2390. While a poor example of OOA and OOD, it's a reasonable example of reuse in OOP, and particularly, in creating a cheap and easy interface.
Students use DialogView in a version of Count that allows them to create a count that asks for a value to reset to.
In this lab, we will use Smalltalk to create some Count objects. There are one abstract class Count and several concrete classes which are IntegerCount, ASCIICount, DateCount, and SequenceCount. Most of source codes are already given. However, you will need to do some modifications.
DialogView to ask the user for an integer for resetting the IntegerCount.