All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----programming101.calculator.Calculator | +----.CalculatorWithTimes
ActionEvent
from the
underlying windowing system. They also need information about the
state of the calculator - among other things, the
current cumulated value, the new value to be combined with the
cumulated value, the last button clicked, etc., and this must be
made accessible separately (in this case, through the constructors,
or an accessor method). The only buttons supplied here are:
ClearButton
, EqButton
, PlusButton
,
TimesButton
.
public CalculatorWithTimes()
All Packages Class Hierarchy This Package Previous Next Index