Class polarDust.home.Calculator
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class polarDust.home.Calculator

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Frame
                                   |
                                   +----polarDust.home.Calculator

public class Calculator
extends Frame
This class is used to instantiate an application by calling CalculatorPanelxx classes.
It takes one parameter: the code of the calculator. The default is 01.
Example:
java Calculator 01
instantiates CalculatorPanel01


Source code
Version:
0.9, 1996.06.04
Author:
Sorin Lazareanu

Constructor Index

 o Calculator(String)

Method Index

 o handleEvent(Event)
Callback method.
 o main(String[])
Instantiates a new Calculator object.

Constructors

 o Calculator
  public Calculator(String arg)

Methods

 o handleEvent
  public boolean handleEvent(Event e)
Callback method. Handles some clean-up before the end of application, killing the threads that paint. These threads require a runnable Screen Updater thread.
Overrides:
handleEvent in class Component
 o main
  public static void main(String args[])
Instantiates a new Calculator object.

All Packages  Class Hierarchy  This Package  Previous  Next  Index