All Packages Class Hierarchy This Package Previous Next Index
Class programming101.calculator.EqButton
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Button
|
+----programming101.calculator.CalculatorButton
|
+----programming101.calculator.EqButton
- public class EqButton
- extends CalculatorButton
Applies last operation to current data in entry area and displays
result.
- Since:
- 15/03/98
- Version:
- 1.0 (15/03/98)
- Author:
- © 1998 Peter T. Sander
EqButton(Calculator)
- Constructor.
actionPerformed(ActionEvent)
- Invoked by the appropriate button adapter.
EqButton
public EqButton(Calculator calculator)
- Constructor.
actionPerformed
public void actionPerformed(ActionEvent ae)
- Invoked by the appropriate button adapter. Gets the current state
of the calculator and applies last operation to data in the
entry region.
- Parameters:
- ae - action event fired by the windowing system
- Overrides:
- actionPerformed in class CalculatorButton
All Packages Class Hierarchy This Package Previous Next Index